281_sportShop 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. # sportShop
  2. if $ARGS[0] = 'start':
  3. cla
  4. *clr
  5. set minut += 5
  6. '<center><B><font color = maroon>Sporting goods store</font></B></center>'
  7. '<center><img src="images\etogame\sportshop.jpg"></center>'
  8. clr
  9. gs 'stat'
  10. fcolor = rgb(0,0,0)
  11. bcolor = rgb(255,255,255)
  12. lcolor = rgb(106,90,205)
  13. act 'QUIT':
  14. cla
  15. set minut += 5
  16. gt 'torgcentr'
  17. end
  18. act 'In the women´s clothing department':
  19. cla
  20. set minut += 5
  21. gt 'sportshop','clo'
  22. end
  23. if skak = 0 and money >= 500:
  24. act 'Buy rope 500 rubles':
  25. cla
  26. set minut += 5
  27. set money -= 500
  28. set skak = 1
  29. act 'Pick up a package': gt 'sportshop','start'
  30. end
  31. end
  32. if obruch = 0 and money >= 1500:
  33. act 'Buy hoop 1,500 rubles':
  34. cla
  35. set minut += 5
  36. set money -= 1500
  37. set obruch = 1
  38. act 'Pick up a package': gt 'sportshop','start'
  39. end
  40. end
  41. if bookYog = 0 and money >= 1500:
  42. act 'Buy benefits of yoga 1,500 rubles':
  43. cla
  44. set minut += 5
  45. set money -= 1500
  46. set bookYog = 1
  47. act 'Pick up a package': gt 'sportshop','start'
  48. end
  49. end
  50. if remsitr = 1 and treadmill = 0 and money >= 5000:
  51. act 'Treadmill 5000 rubles':
  52. cla
  53. set minut += 5
  54. set money -= 5000
  55. set treadmill = 1
  56. 'The attendant informed that they can send it directly to your house.'
  57. act 'Give the address': gt 'sportshop','start'
  58. end
  59. end
  60. end
  61. if $ARGS[0] = 'clo':
  62. cla
  63. *clr
  64. set mag = 1
  65. $metka = $ARGS[0]
  66. $loc = $CURLOC
  67. $metkaM = $ARGS[0]
  68. $locM = $CURLOC
  69. set minut += 5
  70. '<center><B><font color = maroon>Department of women´s clothing.</font></B></center>'
  71. '<center><img src="images\etogame\sportshop.jpg"></center>'
  72. clr
  73. gs 'stat'
  74. fcolor = rgb(0,0,0)
  75. bcolor = rgb(255,255,255)
  76. LCOLOR = rgb(106,90,205)
  77. 'All clothing costs 4,000 rubles, sportswear dimensionless.'
  78. act 'Get out of the department':
  79. cla
  80. set minut += 5
  81. gt 'sportshop','start'
  82. end
  83. if money >= 4000:
  84. if yoga[1] = 0:
  85. act 'Inspect 1st sportswear.': set numdres = 1 & payclo = 4000 & gt 'loker','yoga'
  86. end
  87. if yoga[2] = 0:
  88. act 'Inspect 2nd sportswear.': set numdres = 2 & payclo = 4000 & gt 'loker','yoga'
  89. end
  90. if yoga[3] = 0:
  91. act 'Inspect 3rd sportswear.': set numdres = 3 & payclo = 4000 & gt 'loker','yoga'
  92. end
  93. if yoga[4] = 0:
  94. act 'Inspect 4th sportswear.': set numdres = 4 & payclo = 4000 & gt 'loker','yoga'
  95. end
  96. if yoga[5] = 0:
  97. act 'Inspect 5th sportswear.': set numdres = 5 & payclo = 4000 & gt 'loker','yoga'
  98. end
  99. if yoga[6] = 0:
  100. act 'Inspect 6th sportswear.': set numdres = 6 & payclo = 4000 & gt 'loker','yoga'
  101. end
  102. if yoga[7] = 0:
  103. act 'Inspect 7th sportswear.': set numdres = 7 & payclo = 4000 & gt 'loker','yoga'
  104. end
  105. if yoga[8] = 0:
  106. act 'Inspect 8th sportswear.': set numdres = 8 & payclo = 4000 & gt 'loker','yoga'
  107. end
  108. if yoga[9] = 0:
  109. act 'Inspect 9th sportswear.': set numdres = 9 & payclo = 4000 & gt 'loker','yoga'
  110. end
  111. if yoga[10] = 0:
  112. act 'Inspect 10th sportswear.': set numdres = 10 & payclo = 4000 & gt 'loker','yoga'
  113. end
  114. if yoga[11] = 0:
  115. act 'Inspect 11th sportswear.': set numdres = 11 & payclo = 4000 & gt 'loker','yoga'
  116. end
  117. if yoga[12] = 0:
  118. act 'Inspect 12th sportswear.': set numdres = 12 & payclo = 4000 & gt 'loker','yoga'
  119. end
  120. if yoga[13] = 0:
  121. act 'Inspect 13th sportswear.': set numdres = 13 & payclo = 4000 & gt 'loker','yoga'
  122. end
  123. if yoga[14] = 0:
  124. act 'Inspect 14th sportswear.': set numdres = 14 & payclo = 4000 & gt 'loker','yoga'
  125. end
  126. if yoga[15] = 0:
  127. act 'Inspect 15th sportswear.': set numdres = 15 & payclo = 4000 & gt 'loker','yoga'
  128. end
  129. if yoga[16] = 0:
  130. act 'Inspect 16th sportswear.': set numdres = 16 & payclo = 4000 & gt 'loker','yoga'
  131. end
  132. if yoga[17] = 0:
  133. act 'Inspect 17th sportswear.': set numdres = 17 & payclo = 4000 & gt 'loker','yoga'
  134. end
  135. if yoga[18] = 0:
  136. act 'Inspect 18th sportswear.': set numdres = 18 & payclo = 4000 & gt 'loker','yoga'
  137. end
  138. end
  139. end
  140. --- sportShop ---------------------------------