SCENE 49	Casino
	SET chancegame, %R
	THEME	0
	MUSIC	"Casino.mid"
	ACTOR 1,	"Casino Master", Casino, 2, 15, 90
	ACTOR 2,	"Casino Chipper", Casino, 1, 15, 75
	1: Welcome to our casino champion!
	@begin
	2: To play, right click on me and buy chips
	1: To play games, right click me
	END

@eventActorClick1
MENU "Play 1 Chip=@play1", "Play 5 Chips=@notscript", "Play 10 Chips=@notscript", "Play 50 Chips=@notscript", "Play 100 Chips!=@notscript"
END

@play1
1: Great! Now, please select the chip you wish to play with
MENU "Play Red=@playr", "Play Blue=@notscript", "Play Green=@notscript", "Play rainbow=@notscript"
END

@playr
COMPARE #<num.Trophy9>, 1
IF= @good
IF< @notenough
END
@good
1: Good, you have enough reds to play, I will now insert your coin into the slot
TAKE Z.9.1
COMPARE #<chancegame>, 1
IF= @wonprize
IF> @noprizre
END
@wonprize
1: Yay! You have won a menomysyme, worth 500gp each, here's 5!
GIVE Z.2.5
1: Bye now!
END

@notscript
1: This feature has not been finished back, hopefully by the next patch!
END


@eventActorClick2
2: Ah, thank you for buying chips
2: Currently we only offer red chips, and a new chip will be issued per each patch for great prizes!
2: How many would you like to buy, say a number!
ASK 20
COMPARE #<lastask>, 100
IF> @no!
IF< @ok
END

@no!
2: You cannot buy more than 100!
END

@ok
1: Very well
TAKE G#<lastask>
GIVE Z.9.#<lastask>
WAIT 2
GOTO @begin
END