Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
#ifndef _ESM_ALCH_H
|
|
|
|
#define _ESM_ALCH_H
|
|
|
|
|
|
|
|
#include "esm_reader.hpp"
|
2012-04-06 19:04:30 +00:00
|
|
|
#include "esm_writer.hpp"
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
#include "defs.hpp"
|
|
|
|
|
2011-04-06 16:11:08 +00:00
|
|
|
namespace ESM
|
|
|
|
{
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Alchemy item (potions)
|
|
|
|
*/
|
|
|
|
|
|
|
|
struct Potion
|
|
|
|
{
|
2011-04-06 16:11:08 +00:00
|
|
|
struct ALDTstruct
|
|
|
|
{
|
|
|
|
float weight;
|
|
|
|
int value;
|
|
|
|
int autoCalc;
|
|
|
|
};
|
|
|
|
ALDTstruct data;
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
|
2011-04-06 16:11:08 +00:00
|
|
|
std::string name, model, icon, script;
|
|
|
|
EffectList effects;
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
|
2011-04-06 16:11:08 +00:00
|
|
|
void load(ESMReader &esm);
|
2012-04-06 19:04:30 +00:00
|
|
|
void save(ESMWriter &esm);
|
Finished ALCH, APPA, BOOK, CLOT, CREC, ENCH, GLOB, INGR, LIGH, MISC, RACE, SKIL, SNDG, SSCR and STAT. Phew!
2010-02-21 12:20:17 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|