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_INGR_H
|
|
|
|
#define _ESM_INGR_H
|
|
|
|
|
|
|
|
#include "esm_reader.hpp"
|
|
|
|
|
2011-04-08 13:58:21 +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 ingredient
|
|
|
|
*/
|
|
|
|
|
|
|
|
struct Ingredient
|
|
|
|
{
|
2011-04-08 13:58:21 +00:00
|
|
|
struct IRDTstruct
|
|
|
|
{
|
|
|
|
float weight;
|
|
|
|
int value;
|
|
|
|
int effectID[4]; // Effect, 0 or -1 means none
|
|
|
|
int skills[4]; // SkillEnum related to effect
|
|
|
|
int attributes[4]; // Attribute related to effect
|
|
|
|
};
|
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-08 13:58:21 +00:00
|
|
|
IRDTstruct data;
|
|
|
|
std::string name, model, icon, script;
|
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-08 13:58:21 +00:00
|
|
|
void load(ESMReader &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
|