Initial commit
Initial commit [v9.7]
This commit is contained in:
17
_module/nss/gh_poker_raise_1.nss
Normal file
17
_module/nss/gh_poker_raise_1.nss
Normal file
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user