mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
17 lines
359 B
C++
17 lines
359 B
C++
#include "loadalch.hpp"
|
|
|
|
namespace ESM
|
|
{
|
|
void Potion::load(ESMReader &esm, const std::string& id)
|
|
{
|
|
mId = id;
|
|
|
|
model = esm.getHNString("MODL");
|
|
icon = esm.getHNOString("TEXT"); // not ITEX here for some reason
|
|
script = esm.getHNOString("SCRI");
|
|
name = esm.getHNOString("FNAM");
|
|
esm.getHNT(data, "ALDT", 12);
|
|
effects.load(esm);
|
|
}
|
|
}
|