Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 20:24:01 -04:00
parent 4e16ca63ca
commit 5197ad9a4d
7741 changed files with 5391820 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
string sDeny;
void main()
{
object oPC = GetEnteringObject();
object oToken = GetItemPossessedBy(oPC, "underworld");
if (!GetIsPC(oPC)) return;
int nXP = GetXP(oPC);
if (nXP==0 && oToken == OBJECT_INVALID)
{
sDeny="Welcome to the Underworld, please speak with the Lich to enter the Underworld.";
SendMessageToPC(oPC, sDeny);
return;
}
//If it's not a NEW PC, then jump them..
object oTarget;
location lTarget;
oTarget = GetWaypointByTag("home");
if (oTarget==OBJECT_INVALID) return;
AssignCommand(oPC, ClearAllActions());
AssignCommand(oPC, JumpToObject(oTarget));
}