20 lines
336 B
Plaintext
20 lines
336 B
Plaintext
|
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;
|
||
|
}
|