Initial Commit

Initial Commit [v1.32PRC8]
This commit is contained in:
Jaysyn904
2025-04-03 13:38:45 -04:00
parent 1213977d8c
commit b464d8da05
6922 changed files with 6176025 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
int StartingConditional()
{
int iResult;
object oPC;
oPC = GetPCSpeaker();
iResult = FALSE;
if (GetLocalInt(OBJECT_SELF,"TotalQuests") == 0)
SetLocalInt(OBJECT_SELF,"TotalQuests",Random(3)+2);
if (GetLocalInt(oPC,GetTag(OBJECT_SELF)) < GetLocalInt(OBJECT_SELF,"TotalQuests"))
iResult = TRUE;
//Debug
//SendMessageToPC(GetFirstPC(),"TotalQuests = " + IntToString(GetLocalInt(OBJECT_SELF,"TotalQuests")));
//SendMessageToPC(GetFirstPC(),GetTag(OBJECT_SELF) + " Quests = " + IntToString(GetLocalInt(oPC,GetTag(OBJECT_SELF))));
return iResult;
}