13 lines
297 B
Plaintext
13 lines
297 B
Plaintext
#include "sc_dart_include"
|
|
|
|
void main()
|
|
{
|
|
if (GetGold(GetPCSpeaker()) >= GetLocalInt(getDB(), WAGER)) {
|
|
startGame();
|
|
TakeGoldFromCreature(GetLocalInt(getDB(), WAGER), GetPCSpeaker(), TRUE);
|
|
}
|
|
else {
|
|
// Player doesn't have enough gold - can't start game
|
|
}
|
|
}
|