Changed folder name.

Changed folder name.
This commit is contained in:
Jaysyn904
2022-10-07 21:08:37 -04:00
parent 1c33c2843e
commit 8d97886c3f
7060 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
void main()
{
object oEntering = GetEnteringObject();
object oPC = oEntering;
object oWay = GetObjectByTag("crownboot");
string sMsg = GetName(oEntering) + " " + GetPCPlayerName(oEntering) + " Has entered the palace vault!";
//If the PC has the immortal crown boot them immediately!
if(GetItemPossessedBy(oPC, "ImmortalCrown2")!=OBJECT_INVALID || GetItemPossessedBy(oPC, "immotoken")!=OBJECT_INVALID)
{
// DelayCommand(2.0, FloatingTextStringOnCreature(sMsg, oPC, TRUE));
// DelayCommand(4.0, AssignCommand(oPC, ClearAllActions()));
// DelayCommand(4.1, AssignCommand(oPC, JumpToObject(oWay)));
WriteTimestampedLogEntry(sMsg);
}
if(GetIsObjectValid(oEntering)){
if(GetIsPC(oEntering)){
int nNumEntered = GetLocalInt(OBJECT_SELF,"nNumEntered");
SetLocalInt(OBJECT_SELF,"nNumEntered",nNumEntered+1);
}
}
}