Hello this question goes with monsters and players to. So i have no idea how to make monster/player corpses disappear with time what i though that i need to add
So after 10seconds corpse will decay to 0 which is empty sprite so automatically it will disappear or im wrong this is a bad way to make it disappear. So example it would be
XML:
<attribute key="decayTo" value="0" />
<attribute key="duration" value="10" />
XML:
<item id="12788" article="a" name="dead creature">
<attribute key="weight" value="1000"/>
<attribute key="corpseType" value="blood"/>
<attribute key="decayTo" value="0" />
<attribute key="duration" value="10" />
<attribute key="containerSize" value="10"/>
</item>