Added dialog to raise new players to 12th lvl
Added dialog to raise new players to 12th lvl
This commit is contained in:
13
_module/nss/spawnprisoner.nss
Normal file
13
_module/nss/spawnprisoner.nss
Normal file
@@ -0,0 +1,13 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user