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

37
_module/nss/qst_c_8_2.nss Normal file
View File

@@ -0,0 +1,37 @@
int StartingConditional()
{
int iResult;
int iFreed;
int iFree;
object oNPC;
string sQuestGiver;
iResult = TRUE;
iFreed = 0;
oNPC = GetObjectByTag("p2_villager1");
iFree = GetLocalInt(oNPC,"Free");
if (iFree == 1 || !GetIsObjectValid(oNPC) || GetIsDead(oNPC))
iFreed++;
oNPC = GetObjectByTag("p2_villager2");
iFree = GetLocalInt(oNPC,"Free");
if (iFree == 1 || !GetIsObjectValid(oNPC) || GetIsDead(oNPC))
iFreed++;
oNPC = GetObjectByTag("p2_villager3");
iFree = GetLocalInt(oNPC,"Free");
if (iFree == 1 || !GetIsObjectValid(oNPC) || GetIsDead(oNPC))
iFreed++;
if (iFreed == 3)
iResult = FALSE;
sQuestGiver = GetLocalString(GetPCSpeaker(),"QuestGiver");
if (sQuestGiver != GetTag(OBJECT_SELF))
{
iResult = FALSE;
}
return iResult;
}