amrul 615 B

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