TheHordeUndead_PRC8/_module/nss/spawnprisoner.nss
Jaysyn904 f9f89b27cc Added dialog to raise new players to 12th lvl
Added dialog to raise new players to 12th lvl
2024-01-24 23:09:25 -05:00

14 lines
364 B
Plaintext

void main()
{
if (GetLocalInt(OBJECT_SELF, "nprisoner") == 0)
{
object oTrashCan = GetObjectByTag("TrashCan");
if(GetLocalInt(oTrashCan, "nGoodNPCDead") > 0)
{
location loc = GetLocation(GetObjectByTag("prisoner"));
CreateObject(OBJECT_TYPE_CREATURE, "prisoner1", loc, TRUE);
SetLocalInt(OBJECT_SELF, "nprisoner", 1);
}
}
}