Amon_PRC8/_module/nss/parthekarrives.nss
Jaysyn904 c5cffc37af Initial Commit
Initial Commit [v1.01]
2025-04-03 19:00:46 -04:00

16 lines
485 B
Plaintext

#include "nw_i0_tool"
void main()
{
object oEntered = GetEnteringObject();
location lLocation = GetLocation(OBJECT_SELF);
if (GetLocalInt(OBJECT_SELF, "ParthDelay")==0)
{
if (HasItem(oEntered, "SamerefsHead"))
{
CreateObject(OBJECT_TYPE_CREATURE, "parthek1", lLocation, TRUE);
SetLocalInt(OBJECT_SELF, "ParthDelay", 1);
DelayCommand(500.0, SetLocalInt(OBJECT_SELF, "ParthDelay", 0));
}
}
}