1
0

zoomagazine 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. # zoomagazine
  2. if $ARGS[0] = 'start':
  3. cla
  4. clr
  5. *clr
  6. minut += 5
  7. gs 'stat'
  8. fcolor = rgb(0, 0, 0)
  9. bcolor = rgb(255, 255, 255)
  10. lcolor = rgb(106, 90, 205)
  11. '<center><b><font color="maroon">Pet Shop</font></b></center>'
  12. '<center><img src="images/zoo/1277894267_dsc_0544.jpg" width = 650 height = 450 ></center>'
  13. 'Dog - 3000 rubles'
  14. 'Rabbit - 2000 rubles'
  15. 'Parrot - 3000 rubles'
  16. if money >= 3000 and sobaka = 0:
  17. act 'Buy a dog (3000 rubles)':
  18. cla
  19. *clr
  20. '<center><img src="images/zoo/1277894267_dsc_0544.jpg" width = 650 height = 450 ></center>'
  21. act 'Hello, I would like to get a dog':
  22. cla
  23. *clr
  24. '<center><img src="images/zoo/1277894267_dsc_0544.jpg" width = 650 height = 450 ></center>'
  25. '<center><b>Sorry, but we were only male dogs.</center></b>'
  26. act 'Buy a dog':
  27. cla
  28. *clr
  29. minut += 10
  30. sobaka += 1
  31. money -= 3000
  32. '<center><img src="images/zoo/dog1.jpg" width = 600 height = 500 ></center>'
  33. '<center><b>You bought a dog-Dalmatians.</center></b>'
  34. $namesob = input ('I''ll call the dog ...')
  35. act 'Move away from the counter':gt 'zoomagazine', 'start'
  36. end
  37. act 'Leave':gt 'zoomagazine', 'start'
  38. end
  39. end
  40. end
  41. if money >= 2000 and krolik = 0:
  42. act 'Buy a rabbit (2000 rubles)':
  43. cla
  44. *clr
  45. minut += 10
  46. krolik += 1
  47. money -= 2000
  48. '<center><img src="images/zoo/x_2b1d398b.jpg"></center>'
  49. '<center><b>You bought a rabbit.</center></b>'
  50. $namekrol = input ("I call rabbit ...")
  51. act 'Move away from the counter':gt 'zoomagazine', 'start'
  52. end
  53. end
  54. if money >= 3000 and popugai = 0:
  55. act 'Buy a parrot (3000 rubles)':
  56. cla
  57. *clr
  58. minut += 10
  59. popugai += 1
  60. money -= 3000
  61. '<center><img src="images/zoo/parrot1.jpg"></center>'
  62. '<center><b>You bought a parrot.</center></b>'
  63. $namepopu = input ("I call parrot ...")
  64. act 'Move away from the counter':gt 'zoomagazine', 'start'
  65. end
  66. end
  67. act 'Leave':gt 'torgcentr'
  68. end
  69. --- zoomagazine ---------------------------------