mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 19:19:55 +00:00
34 lines
518 B
C++
34 lines
518 B
C++
#ifndef OPENMW_ESM_ALCH_H
|
|
#define OPENMW_ESM_ALCH_H
|
|
|
|
#include <string>
|
|
|
|
#include "record.hpp"
|
|
#include "effectlist.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
/*
|
|
* Alchemy item (potions)
|
|
*/
|
|
|
|
struct Potion : public Record
|
|
{
|
|
struct ALDTstruct
|
|
{
|
|
float mWeight;
|
|
int mValue;
|
|
int mAutoCalc;
|
|
};
|
|
ALDTstruct mData;
|
|
|
|
std::string mName, mModel, mIcon, mScript;
|
|
EffectList mEffects;
|
|
|
|
void load(ESMReader &esm);
|
|
void save(ESMWriter &esm);
|
|
|
|
int getName() { return REC_ALCH; }
|
|
};
|
|
}
|
|
#endif
|