home » builders » builder's lessons » sample object - corpses
Sample object - corpses
Builders should never make an object ITEM_TYPE_CORPSE_PC. This is used by hard code to generate the corpse of a player character. In general builders will not make a NPC corpse either. This again is generated by the hard code after a mobile is killed.
Unlike other objects value5 on corpses is used by the hard code. The level of the PC or NPC is placed here when the PC or mobile dies.