Initial upload
Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
This commit is contained in:
29
_module/nss/jw_chk_si_fire_c.nss
Normal file
29
_module/nss/jw_chk_si_fire_c.nss
Normal file
@@ -0,0 +1,29 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: FileName jw_chk_si_fire
|
||||
//:://////////////////////////////////////////////
|
||||
//:://////////////////////////////////////////////
|
||||
//:: Created By: Script Wizard
|
||||
//:: Created On: 23/06/2003 23:17:40
|
||||
//:://////////////////////////////////////////////
|
||||
#include "nw_i0_tool"
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
|
||||
// Make sure the PC speaker has these items in their inventory
|
||||
if(!HasItem(GetPCSpeaker(), "jw_si_tok_fire"))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
object oPC=GetPCSpeaker();
|
||||
int nGold=GetGold(oPC);
|
||||
if (nGold>=2500)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user