amrul.qsrc 635 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # amrul
  2. *clr & cla
  3. menu_off = 1
  4. minut += 5
  5. kh = 0
  6. chnch = 0
  7. mb = 0
  8. du = 0
  9. series = 0
  10. chi = 100
  11. x_rul = 100
  12. gs 'stat'
  13. '<center><img <<$set_imgh>> src="images/locations/city/industrial/casino/amrul.jpg"></center>'
  14. 'You lean over the table.'
  15. act 'Move away from the table':gt 'roulette'
  16. act 'Make a bet':
  17. st_1 = input 'Enter the amount'
  18. if money < st_1:
  19. msg 'You have enough money'
  20. gt 'roulette'
  21. elseif st_1 < 0:
  22. msg 'You can''t bet a negative amount.'
  23. gt 'amrul'
  24. elseif st_1 > 1000:
  25. msg 'The maximum rate is 1000 <b>₽</b>'
  26. gt 'amrul'
  27. end
  28. money -= st_1
  29. gt 'rate'
  30. end
  31. --- amrul ---------------------------------