Initial Commit
Initial Commit
This commit is contained in:
9
_module/nss/quest_hasrandomg.nss
Normal file
9
_module/nss/quest_hasrandomg.nss
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "quest_inc"
|
||||
int StartingConditional()
|
||||
{
|
||||
object oPC = GetPCSpeaker();
|
||||
string sDB = CharacterDB(oPC);
|
||||
int nRansom = StringToInt(GetCampaignString(sDB, "QUEST_EXTRA2"));
|
||||
if (GetGold(oPC) < nRansom) return TRUE;
|
||||
return FALSE;
|
||||
}
|
||||
Reference in New Issue
Block a user