Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
#ifndef _ESM_APPA_H
|
|
|
|
#define _ESM_APPA_H
|
|
|
|
|
2012-04-08 11:51:52 +02:00
|
|
|
#include "record.hpp"
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
|
2011-04-06 20:11:08 +04:00
|
|
|
namespace ESM
|
|
|
|
{
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
/*
|
|
|
|
* Alchemist apparatus
|
|
|
|
*/
|
|
|
|
|
2012-04-08 11:51:52 +02:00
|
|
|
struct Apparatus : public Record
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
{
|
2011-04-06 20:11:08 +04:00
|
|
|
enum AppaType
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
{
|
2011-04-08 22:26:27 +04:00
|
|
|
MortarPestle = 0,
|
|
|
|
Albemic = 1,
|
|
|
|
Calcinator = 2,
|
|
|
|
Retort = 3
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
};
|
|
|
|
|
2011-04-06 20:11:08 +04:00
|
|
|
struct AADTstruct
|
|
|
|
{
|
2012-09-17 11:37:50 +04:00
|
|
|
int mType;
|
|
|
|
float mQuality;
|
|
|
|
float mWeight;
|
|
|
|
int mValue;
|
2011-04-06 20:11:08 +04:00
|
|
|
};
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
|
2012-09-17 11:37:50 +04:00
|
|
|
AADTstruct mData;
|
|
|
|
std::string mModel, mIcon, mScript, mName;
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
|
2011-04-06 20:11:08 +04:00
|
|
|
void load(ESMReader &esm);
|
2012-04-06 21:04:30 +02:00
|
|
|
void save(ESMWriter &esm);
|
2012-04-08 11:51:52 +02:00
|
|
|
|
|
|
|
int getName() { return REC_APPA; }
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 13:20:17 +01:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|