Aschbourne_PRC8/_module/death_leavebody.nss
GetOffMyYarn 8622e5ce08 Area Changes and other fixes
added areas and ccoh,
fixed some areas to work with crafting
fixed some on death issues
added server entry/ooc
2024-08-30 10:38:04 -04:00

16 lines
355 B
Plaintext

/**
death_leavebody
OnDeath: Create some blood
J.D. Robertson, 2002
*/
void main()
{
// Create blood
object blood = CreateObject(OBJECT_TYPE_PLACEABLE, "plc_bloodstain", GetLocation(OBJECT_SELF));
// Change the facing of the blood, so every puddle looks different
AssignCommand(blood, SetFacing(IntToFloat(Random(360))));
}