mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 21:49:56 +00:00
39 lines
574 B
C++
39 lines
574 B
C++
#ifndef _ESM_APPA_H
|
|
#define _ESM_APPA_H
|
|
|
|
#include "record.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
/*
|
|
* Alchemist apparatus
|
|
*/
|
|
|
|
struct Apparatus : public Record
|
|
{
|
|
enum AppaType
|
|
{
|
|
MortarPestle = 0,
|
|
Albemic = 1,
|
|
Calcinator = 2,
|
|
Retort = 3
|
|
};
|
|
|
|
struct AADTstruct
|
|
{
|
|
int mType;
|
|
float mQuality;
|
|
float mWeight;
|
|
int mValue;
|
|
};
|
|
|
|
AADTstruct mData;
|
|
std::string mModel, mIcon, mScript, mName;
|
|
|
|
void load(ESMReader &esm);
|
|
void save(ESMWriter &esm);
|
|
|
|
int getName() { return REC_APPA; }
|
|
};
|
|
}
|
|
#endif
|