Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
19
_module/nss/qst_dwarfcon_1.nss
Normal file
19
_module/nss/qst_dwarfcon_1.nss
Normal file
@@ -0,0 +1,19 @@
|
||||
int StartingConditional()
|
||||
{
|
||||
int iRandomStep;
|
||||
int iDwarfDungeon;
|
||||
int iResult;
|
||||
|
||||
iRandomStep = GetLocalInt(OBJECT_SELF, "RandomStep");
|
||||
iDwarfDungeon = GetLocalInt(GetPCSpeaker(),"DwarfDungeon");
|
||||
|
||||
iResult = FALSE;
|
||||
|
||||
if (iRandomStep == 2)
|
||||
iResult = TRUE;
|
||||
|
||||
if (iDwarfDungeon > 0 && iRandomStep == 4)
|
||||
iResult = TRUE;
|
||||
|
||||
return iResult;
|
||||
}
|
Reference in New Issue
Block a user