1
1

367_zoomagazine 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. # zoomagazine
  2. <<<<<<< 367_zoomagazine
  3. if $ARGS[0] = 'start':
  4. cla
  5. *clr
  6. set minut += 5
  7. '<center><B><font color = maroon>Pet Shop</font></B></center>'
  8. *nl
  9. '<center><img src="images\zoo\1277894267_dsc_0544.jpg" width = 650 height = 450 ></center>'
  10. *nl
  11. clr
  12. gs 'stat'
  13. fcolor = rgb(0,0,0)
  14. bcolor = rgb(255,255,255)
  15. LCOLOR = rgb(106,90,205)
  16. 'Dog 3000'
  17. 'Rabbit 2000'
  18. 'Parrot 3000'
  19. if money >= 3000 and sobaka = 0:
  20. act 'Buy a dog (3000 rubles)':
  21. cla
  22. *clr
  23. '<center><img src="images\zoo\1277894267_dsc_0544.jpg" width = 650 height = 450 ></center>'
  24. act 'Hello, I would like to get a dog':
  25. cla
  26. *clr
  27. '<center><img src="images\zoo\1277894267_dsc_0544.jpg" width = 650 height = 450 ></center>'
  28. '<center><b>Sorry, but we were only male dogs.</center></b>'
  29. act 'Buy a dog':
  30. cla
  31. *clr
  32. set minut += 10
  33. set sobaka += 1
  34. set money -= 3000
  35. '<center><img src="images\zoo\dog1.jpg" width = 600 height = 500 ></center>'
  36. '<center><b>You bought a dog-Dalmatians.</center></b>'
  37. $namesob = input ("I'll call a dog ...")
  38. act 'Move away from the counter': gt 'zoomagazine','start'
  39. end
  40. act 'Leave': gt 'zoomagazine','start'
  41. end
  42. end
  43. end
  44. if money >= 2000 and krolik = 0:
  45. act 'Buy a rabbit (2000 rubles)':
  46. cla
  47. *clr
  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. set minut += 10
  52. set krolik += 1
  53. set money -= 2000
  54. act 'Move away from the counter': gt 'zoomagazine','start'
  55. end
  56. end
  57. if money >= 3000 and popugai = 0:
  58. act 'Buy a parrot (3000 rubles)':
  59. cla
  60. *clr
  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. set minut += 10
  65. set popugai += 1
  66. set money -= 3000
  67. act 'Move away from the counter': gt 'zoomagazine','start'
  68. end
  69. end
  70. act 'Leave': gt 'torgcentr'
  71. end
  72. =======
  73. if $ARGS[0]='start':
  74. cla
  75. *clr
  76. set minut = minut + 5
  77. '<center><B><font color=maroon>pet-shop "Pet"</font></B></center>'
  78. '<center><img src="zoo/1277894267_dsc_0544.jpg" width=650 height=450 ></center>'
  79. clr
  80. gs'stat'
  81. fcolor=rgb(0,0,0)
  82. bcolor=rgb(255,255,255)
  83. LCOLOR = rgb(106,90,205)
  84. ''
  85. 'dog 3000'
  86. 'rabbit 2000'
  87. 'parrot 3000'
  88. if money >= 3000 and sobaka = 0:
  89. act 'buy a dog 3000 RUB':
  90. cla
  91. *clr
  92. '<center><img src="zoo/1277894267_dsc_0544.jpg" width=650 height=450 ></center>'
  93. act 'hello, I would like to buy a dog':
  94. cla
  95. *clr
  96. '<center><img src="zoo/1277894267_dsc_0544.jpg" width=650 height=450 ></center>'
  97. '<center><b>Excuse_Me, but we were only male dog.</center></b>'
  98. act 'Buy a dog':
  99. cla
  100. *clr
  101. set minut = minut + 10
  102. set sobaka = sobaka + 1
  103. set money = money - 3000
  104. '<center><img src="zoo/846660628.jpg" width=600 height=500 ></center>'
  105. '<center><b>You bought a dog-Dalmatians.</center></b>'
  106. $namesob = input ("I will call the dog...")
  107. act 'Move away from the counter':gt'zoomagazine','start'
  108. end
  109. act 'Get_Away':gt'zoomagazine','start'
  110. end
  111. end
  112. end
  113. if money >= 2000 and krolik = 0:
  114. act 'Buy rabbit 2000 RUB':
  115. cla
  116. *clr
  117. '<center><img src="zoo/x_2b1d398b.jpg"></center>'
  118. '<center><b>You bought a rabbit.</center></b>'
  119. $namekrol = input ("I call rabbit...")
  120. set minut = minut + 10
  121. set krolik = krolik + 1
  122. set money = money - 2000
  123. act 'Move away from the counter':gt'zoomagazine','start'
  124. end
  125. end
  126. if money >= 3000 and popugai = 0:
  127. act 'Buy parrot 3000 RUB':
  128. cla
  129. *clr
  130. '<center><img src="zoo/131998525345003210.png"></center>'
  131. '<center><b>You bought a parrot.</center></b>'
  132. $namepopu = input ("I`ll call a parrot...")
  133. set minut = minut + 10
  134. set popugai = popugai + 1
  135. set money = money - 3000
  136. act 'Move away from the counter':gt'zoomagazine','start'
  137. end
  138. end
  139. act 'Get_Away':gt'torgcentr'
  140. end
  141. >>>>>>> 367_zoomagazine
  142. --- zoomagazine ---------------------------------