Added PnP Dire Rat.

Added PnP Dire Rat.
This commit is contained in:
Jaysyn904
2021-07-21 17:48:43 -04:00
parent 552f1686c8
commit b01c5cc7db
10849 changed files with 171143 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
int StartingConditional()
{
object oPC = GetPCSpeaker();
int iCounter = GetLocalInt(GetModule(), "re_AreaToolIndex");
object oObject = GetLocalObject(GetModule(), "re_oAreaTool" + IntToString(iCounter));
string sToken;
int bReturn;
sToken = sToken + "Tool Type: " + GetLocalString(oObject, "re_ToolType") + "\n"
+ "Name: " + GetName(oObject) + "\n"
+ "Tag: " + GetTag(oObject) + "\n";
if(GetLocalInt(oObject, "re_iBegin") || GetLocalInt(oObject, "re_iEnd"))
{
sToken = sToken + "Begin Time: " + IntToString(GetLocalInt(oObject, "re_iBegin")) + "\n"
+ "End Time: " + IntToString(GetLocalInt(oObject, "re_iEnd")) + "\n";
}
if(GetLocalInt(oObject, "re_disable")) sToken = sToken + "State: Disabled";
else sToken = sToken + "State: Enabled";
sToken = sToken + "\n";
SetCustomToken(2112, sToken);
return TRUE;
}