17 lines
419 B
Plaintext
17 lines
419 B
Plaintext
|
void main()
|
||
|
{
|
||
|
|
||
|
|
||
|
//Autosave everyone currently playing on the server each time a PC rests
|
||
|
//Enable this function if running a PW
|
||
|
//ExportAllCharacters();
|
||
|
|
||
|
//Get rid of any Death amulets held by resurrected PCs
|
||
|
object oPC = GetLastPCRested();
|
||
|
object oItemToTake;
|
||
|
|
||
|
oItemToTake = GetItemPossessedBy(oPC, "Death");
|
||
|
if(GetIsObjectValid(oItemToTake) != 0)
|
||
|
DestroyObject(oItemToTake);
|
||
|
|
||
|
}
|