sportShop.qsrc 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. # sportShop
  2. if $ARGS[0] = 'start':
  3. $location_type = 'public_indoors'
  4. cla
  5. clr
  6. *clr
  7. minut += 5
  8. gs 'stat'
  9. if night_mode = 1:
  10. fcolor = rgb(255, 255, 255)
  11. bcolor = rgb(0, 0, 0)
  12. lcolor = rgb(106, 90, 205)
  13. else
  14. fcolor = rgb(0, 0, 0)
  15. bcolor = rgb(255, 255, 255)
  16. lcolor = rgb(106, 90, 205)
  17. end
  18. '<center><b><font color="maroon">Danilovich sporting goods</font></b></center>'
  19. '<center><img src="images/locations/city/citycenter/mall/sportshop/sportshop.jpg"></center>'
  20. *nl
  21. '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.'
  22. act 'Leave':
  23. cla
  24. minut += 3
  25. gt 'torgcentr'
  26. end
  27. act 'View sports clothes':
  28. cla
  29. minut += 1
  30. gt 'sportshop', 'clo'
  31. end
  32. act 'View exercise shoes':
  33. minut += 1
  34. gt 'sportshop', 'trainers'
  35. end
  36. act 'View swimwear':
  37. cla
  38. minut += 1
  39. gt 'sportshop', 'swim'
  40. end
  41. act 'View sports bras':
  42. cla
  43. minut += 1
  44. gt 'sportshop', 'bras'
  45. end
  46. act 'View sports panties':
  47. cla
  48. minut += 1
  49. gt 'sportshop', 'panties'
  50. end
  51. if skak = 0 and money >= 500:
  52. act 'Buy skipping rope (500 <b>₽</b>)':
  53. cla
  54. minut += 5
  55. money -= 500
  56. skak = 1
  57. act 'Pick up a package':gt 'sportshop', 'start'
  58. end
  59. end
  60. if obruch = 0 and money >= 1500:
  61. act 'Buy hoop (1,500 <b>₽</b>)':
  62. cla
  63. minut += 5
  64. money -= 1500
  65. obruch = 1
  66. act 'Pick up a package':gt 'sportshop', 'start'
  67. end
  68. end
  69. if bookYog = 0 and money >= 1500:
  70. act 'Buy benefits 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. end
  78. end
  79. if $ARGS[0] = 'clo':
  80. $metka = 'clo'
  81. $loc = 'sportShop'
  82. cls
  83. gs'stat'
  84. '<center><b><font color="maroon">Sportswear - one size fits all</font></b></center>'
  85. *nl
  86. gs 'clothing_QV', 'shop_header'
  87. act 'Return':
  88. cla
  89. minut += 5
  90. gt 'sportshop', 'start'
  91. end
  92. if Clothingstock > 16:
  93. i = 1
  94. elseif Clothingstock > 8:
  95. i = 2
  96. else
  97. i = 3
  98. end
  99. :loopexercise
  100. if exercise[i] = 0:
  101. gs 'clothing_attributes', 'exercise', i
  102. gs 'clothing_QV', 'shop_filter'
  103. 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>'
  104. end
  105. i += 3
  106. if i <= 113:jump 'loopexercise'
  107. end
  108. if $ARGS[0] = 'exercise': gt 'clothing', 'view_clothing_item', 'shop', 'exercise',i, 2000
  109. if $ARGS[0] = 'trainers':
  110. $metka = 'trainers'
  111. $loc = 'sportShop'
  112. cls
  113. gs'stat'
  114. act 'Return':
  115. cla
  116. minut += 5
  117. gt 'sportShop', 'start'
  118. end
  119. i = 1
  120. :looptrainers_shoes
  121. 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>'
  122. i += 1
  123. if i <= 29:jump 'looptrainers_shoes'
  124. end
  125. if $ARGS[0] = 'training_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'trainers',i, 1500
  126. if $ARGS[0] = 'swim':
  127. $metka = 'swim'
  128. $loc = 'sportShop'
  129. cls
  130. gs'stat'
  131. '<center><b><font color="maroon">Swimwear - one size fits all</font></b></center>'
  132. *nl
  133. gs 'clothing_QV', 'shop_header'
  134. act 'Return':
  135. cla
  136. minut += 5
  137. gt 'sportshop', 'start'
  138. end
  139. !!4 is in he supermarket, so skipped
  140. if Clothingstock > 18:
  141. i = 1
  142. elseif Clothingstock > 12:
  143. i = 2
  144. elseif Clothingstock > 6:
  145. i = 3
  146. else
  147. i = 8
  148. end
  149. :loopswim
  150. if swimwear[i] = 0:
  151. gs 'clothing_attributes', 'swimwear', i
  152. gs 'clothing_QV', 'shop_filter'
  153. 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>'
  154. end
  155. i += 4
  156. if i <= 135:jump 'loopswim'
  157. end
  158. if $ARGS[0] = 'swim1': gt 'clothing', 'view_clothing_item', 'shop', 'swimwear',i, 1750
  159. if $ARGS[0] = 'panties':
  160. $metka = 'panties'
  161. $loc = 'sportShop'
  162. cls
  163. gs'stat'
  164. act 'Return':
  165. cla
  166. minut += 5
  167. gt 'sportShop', 'start'
  168. end
  169. i = 1
  170. :loopsport_panties
  171. 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> '
  172. i += 1
  173. if i <= 8:jump 'loopsport_panties'
  174. end
  175. if $ARGS[0] = 'panties2':
  176. cla
  177. if sport_panties[i] ! 0:
  178. msg 'You already own these panties.'
  179. gt 'sportShop', 'panties'
  180. end
  181. gt 'panties', 'view_panty_item', 'shop', 'sport',i, 1000
  182. end
  183. if $ARGS[0] = 'bras':
  184. $metka = 'bras'
  185. $loc = 'sportShop'
  186. cls
  187. gs'stat'
  188. act 'Return':
  189. cla
  190. minut += 5
  191. gt 'sportShop', 'start'
  192. end
  193. i = 1
  194. :loopsport_bras
  195. 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> '
  196. i += 1
  197. if i <= 8:jump 'loopsport_bras'
  198. end
  199. if $ARGS[0] = 'bras2':
  200. cla
  201. if sport_bras[i] ! 0:
  202. msg 'You already own this bra.'
  203. gt 'sportShop', 'bras'
  204. end
  205. gt 'bras', 'view_bra_item', 'shop', 'sport',i, 1000
  206. end
  207. --- sportShop ---------------------------------