Quest persistence work
Quest persistence work.
This commit is contained in:
@@ -9,10 +9,18 @@
|
||||
|
||||
int StartingConditional()
|
||||
{
|
||||
//: Declare major variables
|
||||
object oPC = GetPCSpeaker();
|
||||
int nGP = GetGold(oPC);
|
||||
|
||||
// Make sure the PC speaker has these items in their inventory
|
||||
if(!HasItem(GetPCSpeaker(), "TeakwoodBox"))
|
||||
return FALSE;
|
||||
//:: Check to see if the PC has 1000 gp.
|
||||
if ( GetGold(oPC) < 1000 )
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
|
||||
// Make sure the PC speaker has these items in their inventory
|
||||
if(!HasItem(GetPCSpeaker(), "TeakwoodBox"))
|
||||
return FALSE;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user