sportShop 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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 'Leave':
  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. !!!WD: Doesn''t exists anymore in 1.0.5
  51. if remsitr = 1 and treadmill = 0 and money >= 5000:
  52. act 'Treadmill 5000 rubles':
  53. cla
  54. set minut += 5
  55. set money -= 5000
  56. set treadmill = 1
  57. 'The attendant informed that they can send it directly to your house.'
  58. act 'Give the address':gt 'sportshop', 'start'
  59. end
  60. end
  61. !!!
  62. end
  63. if $ARGS[0] = 'clo':
  64. cla
  65. *clr
  66. set mag = 1
  67. $metka = $ARGS[0]
  68. $loc = $CURLOC
  69. $metkaM = $ARGS[0]
  70. $locM = $CURLOC
  71. set minut += 5
  72. '<center><b><font color="maroon">Department of women´s clothing.</font></b></center>'
  73. '<center><img src="images/etogame/sportshop.jpg"></center>'
  74. clr
  75. gs 'stat'
  76. fcolor = rgb(0, 0, 0)
  77. bcolor = rgb(255, 255, 255)
  78. lcolor = rgb(106, 90, 205)
  79. 'All clothing costs 4, 000 rubles, sportswear dimensionless.'
  80. act 'Get out of the department':
  81. cla
  82. set minut += 5
  83. gt 'sportshop', 'start'
  84. end
  85. if money >= 4000:
  86. if yoga[1] = 0:
  87. act 'Inspect 1st sportswear.':set numdres = 1 & payclo = 4000 & gt 'loker', 'yoga'
  88. end
  89. if yoga[2] = 0:
  90. act 'Inspect 2nd sportswear.':set numdres = 2 & payclo = 4000 & gt 'loker', 'yoga'
  91. end
  92. if yoga[3] = 0:
  93. act 'Inspect 3rd sportswear.':set numdres = 3 & payclo = 4000 & gt 'loker', 'yoga'
  94. end
  95. if yoga[4] = 0:
  96. act 'Inspect 4th sportswear.':set numdres = 4 & payclo = 4000 & gt 'loker', 'yoga'
  97. end
  98. if yoga[5] = 0:
  99. act 'Inspect 5th sportswear.':set numdres = 5 & payclo = 4000 & gt 'loker', 'yoga'
  100. end
  101. if yoga[6] = 0:
  102. act 'Inspect 6th sportswear.':set numdres = 6 & payclo = 4000 & gt 'loker', 'yoga'
  103. end
  104. if yoga[7] = 0:
  105. act 'Inspect 7th sportswear.':set numdres = 7 & payclo = 4000 & gt 'loker', 'yoga'
  106. end
  107. if yoga[8] = 0:
  108. act 'Inspect 8th sportswear.':set numdres = 8 & payclo = 4000 & gt 'loker', 'yoga'
  109. end
  110. if yoga[9] = 0:
  111. act 'Inspect 9th sportswear.':set numdres = 9 & payclo = 4000 & gt 'loker', 'yoga'
  112. end
  113. if yoga[10] = 0:
  114. act 'Inspect 10th sportswear.':set numdres = 10 & payclo = 4000 & gt 'loker', 'yoga'
  115. end
  116. if yoga[11] = 0:
  117. act 'Inspect 11th sportswear.':set numdres = 11 & payclo = 4000 & gt 'loker', 'yoga'
  118. end
  119. if yoga[12] = 0:
  120. act 'Inspect 12th sportswear.':set numdres = 12 & payclo = 4000 & gt 'loker', 'yoga'
  121. end
  122. if yoga[13] = 0:
  123. act 'Inspect 13th sportswear.':set numdres = 13 & payclo = 4000 & gt 'loker', 'yoga'
  124. end
  125. if yoga[14] = 0:
  126. act 'Inspect 14th sportswear.':set numdres = 14 & payclo = 4000 & gt 'loker', 'yoga'
  127. end
  128. if yoga[15] = 0:
  129. act 'Inspect 15th sportswear.':set numdres = 15 & payclo = 4000 & gt 'loker', 'yoga'
  130. end
  131. if yoga[16] = 0:
  132. act 'Inspect 16th sportswear.':set numdres = 16 & payclo = 4000 & gt 'loker', 'yoga'
  133. end
  134. if yoga[17] = 0:
  135. act 'Inspect 17th sportswear.':set numdres = 17 & payclo = 4000 & gt 'loker', 'yoga'
  136. end
  137. if yoga[18] = 0:
  138. act 'Inspect 18th sportswear.':set numdres = 18 & payclo = 4000 & gt 'loker', 'yoga'
  139. end
  140. end
  141. end
  142. --- sportShop ---------------------------------