1
0

sportShop.qsrc 5.3 KB

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