fheroes3/h3c_and_h3m_formats/Heroes3/object/monster.bt
2014-06-21 14:50:18 +02:00

24 lines
No EOL
527 B
Text

struct ObjectMonster {
uint32 monsterID;
ushort monsters_count; // if 0, then random
uchar mood;
uchar isTreasureOrText;
if ( isTreasureOrText == 1 ) {
hstring text;
uint32 wood;
uint32 mercury;
uint32 ore;
uint32 sulfur;
uint32 crystal;
uint32 gem;
uint32 gold;
ushort artefactID;
}
uchar monsterNeverRunAway; // 1 - yes, 0 - no
uchar monsterDontGrowUp; // 1 - yes, 0 - no
uchar junk2[2];
};