Quest persistence work

Quest persistence work.
This commit is contained in:
Jaysyn904
2022-07-06 00:35:22 -04:00
parent 4af27ed685
commit ee912d2da9
55 changed files with 3670 additions and 61 deletions

View File

@@ -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;
}