Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 18:13:22 -04:00
parent 684ef76c20
commit 499aba4eb3
5734 changed files with 4843758 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
object oDeny;
void main()
{
object oPC = GetEnteringObject();
if (!GetIsPC(oPC)) return;
if (GetTag(GetItemInSlot(INVENTORY_SLOT_HEAD, oPC)) != "PVPHELM")
{
oDeny = GetWaypointByTag("trin_home_01");
AssignCommand(oPC, JumpToObject(oDeny));
return;
}
if (GetItemPossessedBy(oPC, "PVPTOKEN")== OBJECT_INVALID)
{
oDeny = GetWaypointByTag("trin_home_01");
AssignCommand(oPC, JumpToObject(oDeny));
return;
}
FloatingTextStringOnCreature("YOU CANNOT ENTER THE ARENA UNLESS YOU ARE WEARING THE PVP HELM AND POSSES A PVP TOKEN", oPC);
}