Lankhmar_PRC8/_module/nss/gh_poker_gold.nss

20 lines
430 B
Plaintext
Raw Permalink Normal View History

2025-04-03 12:54:47 -04:00
/*
Simple Poker game. 5 card draw.
By: Joe Leonard
Email: aiden_00@yahoo.com
Created: 10-10-02
*/
#include "gh_poker_include"
int StartingConditional()
{
if(GetGold(GetPCSpeaker()) >= 5) { //5 being the minimum bet, check to make sure PC has enough.
return TRUE;
}
else {
SendMessageToPC(GetPCSpeaker(), "You lack the funds to play or make more bets.");
return FALSE;
}
}