Lankhmar_PRC8/_module/nss/gh_poker_raise_1.nss

18 lines
534 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
*/
void main()
{
//Adds minimum bet to pot.
//If pot is 10, adds players bet, plus calls for the dealers.
TakeGoldFromCreature(GetLocalInt(OBJECT_SELF, "MINIMUM_BET"), GetPCSpeaker(), FALSE);
SetLocalInt(OBJECT_SELF, "MONEY_POT", GetLocalInt(OBJECT_SELF, "MONEY_POT") + (GetLocalInt(OBJECT_SELF, "MINIMUM_BET") * 2));
//Turn on the discard round.
SetLocalInt(OBJECT_SELF, "DISCARD_TIME", TRUE);
}