sportShop.qsrc 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. # sportShop
  2. if $ARGS[0] = 'start':
  3. $location_type = 'public_indoors'
  4. cls
  5. menu_off = 1
  6. gs 'stat'
  7. gs 'themes', 'indoors'
  8. '<center><b><font color="maroon">Danilovich sporting goods</font></b></center>'
  9. '<center><img src="images/locations/city/citycenter/mall/sportshop/sportshop.jpg"></center>'
  10. *nl
  11. 'As soon as you enter, a high energy song with a thumping baseline fills your eardrums, making you feeling pumped and awake. The store is sleek and professional, the walls and floors advertising all different kinds of sporting equipment and attire. The room is filled with beautifully fit people shopping, their bodies varying from big and muscular to lean and trim. If they don''t inspire you to want to work out, the posters advertising past and present famous athletes is motivating as hell.'
  12. *nl
  13. if refillable_bottle = 0 and money >= 1000 and bag > 0:
  14. 'You could buy a high-quality <a href="exec:minut += 5 & money -= 1000 & refillable_bottle = 1 & gt ''sportShop'', ''start''">water bottle (1000 <b>₽</b>)</a> that you can carry around in your purse.'
  15. elseif refillable_bottle = 0 and (money < 1000 or bag = 0):
  16. 'The shop sells high-quality water bottles for 1,000 <b>₽</b>. You could carry one around in '+iif(bag > 0, 'your', 'a')+' purse.'
  17. end
  18. act 'Leave':
  19. cla
  20. minut += 3
  21. gt 'torgcentr'
  22. end
  23. act 'View sports clothing':
  24. cla
  25. minut += 5
  26. gt 'sportshop', 'clo'
  27. end
  28. act 'View sports panties':
  29. cla
  30. minut += 5
  31. gt 'sportshop', 'panties'
  32. end
  33. act 'View sports bras':
  34. cla
  35. minut += 5
  36. gt 'sportshop', 'bras'
  37. end
  38. act 'View exercise shoes':
  39. minut += 5
  40. gt 'sportshop', 'trainers'
  41. end
  42. act 'View swimwear':
  43. cla
  44. minut += 5
  45. gt 'sportshop', 'swim'
  46. end
  47. if skak = 0 and money >= 500:
  48. act 'Buy a skipping rope (500 <b>₽</b>)':
  49. cla
  50. minut += 5
  51. money -= 500
  52. skak = 1
  53. act 'Pick up a package':gt 'sportshop', 'start'
  54. end
  55. elseif skak = 0:
  56. act 'Buy a skipping rope (<font color="red">500 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
  57. end
  58. if obruch = 0 and money >= 1500:
  59. act 'Buy a hula hoop (1,500 <b>₽</b>)':
  60. cla
  61. minut += 5
  62. money -= 1500
  63. obruch = 1
  64. act 'Pick up a package':gt 'sportshop', 'start'
  65. end
  66. elseif obruch = 0:
  67. act 'Buy a hula hoop (<font color="red">1500 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
  68. end
  69. if bookYog = 0 and money >= 1500:
  70. act 'Buy "Benifits of yoga" (1,500 <b>₽</b>)':
  71. cla
  72. minut += 5
  73. money -= 1500
  74. bookYog = 1
  75. act 'Pick up a package':gt 'sportshop', 'start'
  76. end
  77. elseif bookYog = 0:
  78. act 'Buy "Benifits of yoga" (<font color="red">1500 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
  79. end
  80. if konki = 0 and money >= 3000:
  81. act 'Buy some ice skates (3000 <b>₽</b>)':
  82. cla
  83. minut += 5
  84. money -= 3000
  85. konki = 1
  86. act 'Pick up a package':gt 'sportshop', 'start'
  87. end
  88. elseif konki = 0:
  89. act 'Buy some ice skates (<font color="red">3000 <b>₽</b></font>)': '<br><font color="red">You don''t have enough money to buy that.</font>'
  90. end
  91. end
  92. if $ARGS[0] = 'clo':
  93. $metka = 'clo'
  94. $loc = 'sportShop'
  95. cls
  96. gs'stat'
  97. '<center><b><font color="maroon">Sportswear - one size fits all</font></b></center>'
  98. *nl
  99. gs 'clothing_QV', 'shop_header'
  100. act 'Return':
  101. cla
  102. minut += 1
  103. gt 'sportshop', 'start'
  104. end
  105. if Clothingstock > 16:
  106. i = 1
  107. elseif Clothingstock > 8:
  108. i = 2
  109. else
  110. i = 3
  111. end
  112. :loopexercise
  113. if exercise[i] = 0:
  114. gs 'clothing_attributes', 'exercise', i
  115. gs 'clothing_QV', 'shop_filter'
  116. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''sportshop'', ''exercise''"><img src="images/pc/clothing/7exercise/<<i>>.jpg" height="250" /></a>'
  117. end
  118. i += 3
  119. if i <= 113:jump 'loopexercise'
  120. end
  121. if $ARGS[0] = 'exercise': gt 'clothing', 'view_clothing_item', 'shop', 'exercise',i, 2000
  122. if $ARGS[0] = 'trainers':
  123. $metka = 'trainers'
  124. $loc = 'sportShop'
  125. cls
  126. gs'stat'
  127. act 'Return':
  128. cla
  129. minut += 1
  130. gt 'sportShop', 'start'
  131. end
  132. i = 1
  133. :looptrainers_shoes
  134. if strainers[i] = 0:*p '<a href="exec: i = <<i>> & gt ''sportShop'', ''training_shoes''"><img src="images/pc/shoes/trainers/<<i>>.jpg" height="250" /></a>'
  135. i += 1
  136. if i <= 29:jump 'looptrainers_shoes'
  137. end
  138. if $ARGS[0] = 'training_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'trainers',i, 1500
  139. if $ARGS[0] = 'swim':
  140. $metka = 'swim'
  141. $loc = 'sportShop'
  142. cls
  143. gs'stat'
  144. '<center><b><font color="maroon">Swimwear - one size fits all</font></b></center>'
  145. *nl
  146. gs 'clothing_QV', 'shop_header'
  147. act 'Return':
  148. cla
  149. minut += 1
  150. gt 'sportshop', 'start'
  151. end
  152. !!4 is in he supermarket, so skipped
  153. if Clothingstock > 18:
  154. i = 1
  155. elseif Clothingstock > 12:
  156. i = 2
  157. elseif Clothingstock > 6:
  158. i = 3
  159. else
  160. i = 8
  161. end
  162. :loopswim
  163. if swimwear[i] = 0:
  164. gs 'clothing_attributes', 'swimwear', i
  165. gs 'clothing_QV', 'shop_filter'
  166. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''sportshop'', ''swim1''"><img src="images/pc/clothing/12swimwear/<<i>>.jpg" height="250" /></a>'
  167. end
  168. i += 4
  169. if i <= 158:jump 'loopswim'
  170. end
  171. if $ARGS[0] = 'swim1': gt 'clothing', 'view_clothing_item', 'shop', 'swimwear',i, 1750
  172. if $ARGS[0] = 'panties':
  173. $metka = 'panties'
  174. $loc = 'sportShop'
  175. cls
  176. gs'stat'
  177. act 'Return':
  178. cla
  179. minut += 1
  180. gt 'sportShop', 'start'
  181. end
  182. i = 1
  183. :loopsport_panties
  184. if sport_panties[i] = 0:*p '<a href="exec: i = <<i>> & gt ''sportShop'', ''panties2''"><img src="images/pc/panties/sport/<<i>>.jpg" height="150" /></a> '
  185. i += 1
  186. if i <= 8:jump 'loopsport_panties'
  187. end
  188. if $ARGS[0] = 'panties2':
  189. cla
  190. if sport_panties[i] ! 0:
  191. msg 'You already own these panties.'
  192. gt 'sportShop', 'panties'
  193. end
  194. gt 'panties', 'view_panty_item', 'shop', 'sport',i, 1000
  195. end
  196. if $ARGS[0] = 'bras':
  197. $metka = 'bras'
  198. $loc = 'sportShop'
  199. cls
  200. gs'stat'
  201. act 'Return':
  202. cla
  203. minut += 1
  204. gt 'sportShop', 'start'
  205. end
  206. i = 1
  207. :loopsport_bras
  208. if sport_bras[i] = 0:*p '<a href="exec: i = <<i>> & gt ''sportShop'', ''bras2''"><img src="images/pc/bras/sport/<<i>>.jpg" height="150" /></a> '
  209. i += 1
  210. if i <= 8:jump 'loopsport_bras'
  211. end
  212. if $ARGS[0] = 'bras2':
  213. cla
  214. if sport_bras[i] ! 0:
  215. msg 'You already own this bra.'
  216. gt 'sportShop', 'bras'
  217. end
  218. gt 'bras', 'view_bra_item', 'shop', 'sport',i, 1000
  219. end
  220. --- sportShop ---------------------------------