HowToAddCreaturesStendhal: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Kymara
navi templates, corpses
imported>Kymara
m Corpses: typo, clarify
Line 79: Line 79:
If a creature equips a weapon the drops are not changed.
If a creature equips a weapon the drops are not changed.
== Corpses ==
== Corpses ==
You can specify what corpse image the creature shoudl use and say how big that corpse is (if bigger than 1x1). The images are in ''data/sprites/corpse''. For a bigger corpse the syntax is:
You can specify what corpse image the creature should use and say how big that corpse is (if bigger than 1x1). The images are in ''data/sprites/corpse''. For a bigger corpse than the example above (deer uses animal) the syntax is:
<corpse name="giant_humanoid" width="2" height="2"/>
<corpse name="giant_humanoid" width="2" height="2"/>