Fixed gambling station

Fixed gambling station.
This commit is contained in:
Jaysyn904
2023-08-14 19:54:13 -04:00
parent 9bfbaeebc4
commit 85272d2008
16 changed files with 1173 additions and 241 deletions

12
_module/nss/has100gp.nss Normal file
View File

@@ -0,0 +1,12 @@
int StartingConditional()
{
// Get the PC who is involved in this conversation
object oPC = GetPCSpeaker();
// The PC must have at least 10000 gold.
if ( GetGold(oPC) < 100 )
return FALSE;
// If we make it this far, we have passed all tests.
return TRUE;
}

12
_module/nss/has10kgp.nss Normal file
View File

@@ -0,0 +1,12 @@
int StartingConditional()
{
// Get the PC who is involved in this conversation
object oPC = GetPCSpeaker();
// The PC must have at least 10000 gold.
if ( GetGold(oPC) < 10000 )
return FALSE;
// If we make it this far, we have passed all tests.
return TRUE;
}

12
_module/nss/has1kgp.nss Normal file
View File

@@ -0,0 +1,12 @@
int StartingConditional()
{
// Get the PC who is involved in this conversation
object oPC = GetPCSpeaker();
// The PC must have at least 10000 gold.
if ( GetGold(oPC) < 1000 )
return FALSE;
// If we make it this far, we have passed all tests.
return TRUE;
}

12
_module/nss/has500gp.nss Normal file
View File

@@ -0,0 +1,12 @@
int StartingConditional()
{
// Get the PC who is involved in this conversation
object oPC = GetPCSpeaker();
// The PC must have at least 10000 gold.
if ( GetGold(oPC) < 500 )
return FALSE;
// If we make it this far, we have passed all tests.
return TRUE;
}

12
_module/nss/has5kgp.nss Normal file
View File

@@ -0,0 +1,12 @@
int StartingConditional()
{
// Get the PC who is involved in this conversation
object oPC = GetPCSpeaker();
// The PC must have at least 10000 gold.
if ( GetGold(oPC) < 5000 )
return FALSE;
// If we make it this far, we have passed all tests.
return TRUE;
}