Aantioch_Infernum/_module/nss/dragoncall_enter.nss

23 lines
455 B
Plaintext
Raw Normal View History

2023-08-08 16:22:17 -04:00
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
if (GetItemPossessedBy(oPC, "dragoncall")!= OBJECT_INVALID)
{
string oDeny="You search and search, but find nothing....";
SendMessageToPC(oPC, oDeny);
return;
}
{
object oTarget;
object oSpawn;
oTarget = GetWaypointByTag("wp_dragoncall_ginge");
oSpawn = CreateObject(OBJECT_TYPE_ITEM, "dragoncall", GetLocation(oTarget));
}
}