Initial commit

Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
Jaysyn904
2024-01-04 07:49:38 -05:00
parent df18cd54c8
commit 28cdb617b3
12943 changed files with 9727121 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
void main()
{
object oPC = GetExitingObject();
object oPortalWest = GetNearestObjectByTag("elemportwest");
object oPortalEast = GetNearestObjectByTag("elemporteast");
object oStore = GetNearestObjectByTag("ElemPortStore");
DestroyObject(GetNearestObjectByTag("elemportwest"));
DestroyObject(GetNearestObjectByTag("elemporteast"));
if (GetItemPossessedBy(oPC, "stoneofair") != OBJECT_INVALID)
{
DestroyObject(GetNearestObjectByTag("ShaftofAir"));
DestroyObject(GetNearestObjectByTag("ShaftofAir"));
SetLocalInt(oStore, "air", 0);
}
else if (GetItemPossessedBy(oPC, "stoneofearth") != OBJECT_INVALID)
{
DestroyObject(GetNearestObjectByTag("ShaftofEarth"));
DestroyObject(GetNearestObjectByTag("ShaftofEarth"));
SetLocalInt(oStore, "earth", 0);
}
else if (GetItemPossessedBy(oPC, "stoneoffire") != OBJECT_INVALID)
{
DestroyObject(GetNearestObjectByTag("ShaftofFire"));
DestroyObject(GetNearestObjectByTag("ShaftofFire"));
SetLocalInt(oStore, "fire", 0);
}
else if (GetItemPossessedBy(oPC, "stoneofwater") != OBJECT_INVALID)
{
DestroyObject(GetNearestObjectByTag("ShaftofWater"));
DestroyObject(GetNearestObjectByTag("ShaftofWater"));
SetLocalInt(oStore, "water", 0);
}
}