16 lines
449 B
Plaintext
16 lines
449 B
Plaintext
/*
|
|
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));
|
|
|
|
}
|