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