mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-15 23:49:55 +00:00
15 lines
321 B
C++
15 lines
321 B
C++
|
#include "loadalch.hpp"
|
||
|
|
||
|
namespace ESM
|
||
|
{
|
||
|
void Potion::load(ESMReader &esm)
|
||
|
{
|
||
|
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);
|
||
|
}
|
||
|
}
|