Fixed gambling station
Fixed gambling station.
This commit is contained in:
12
_module/nss/has100gp.nss
Normal file
12
_module/nss/has100gp.nss
Normal 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
12
_module/nss/has10kgp.nss
Normal 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
12
_module/nss/has1kgp.nss
Normal 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
12
_module/nss/has500gp.nss
Normal 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
12
_module/nss/has5kgp.nss
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user