shop_danilovich.qsrc 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. # shop_danilovich
  2. !2022/06/20
  3. if $ARGS[0] = 'start' or $ARGS[0] = '':
  4. killvar 'clothingfilter'
  5. $location_type = 'public_indoors'
  6. gs 'shortgs', 'setloc', 'shop_danilovich', 'start'
  7. $loc_s = 'shop_danilovich'
  8. $args_s = 'start'
  9. menu_off = 1
  10. gs 'stat'
  11. gs 'themes', 'indoors'
  12. '<center><b><font color="maroon">Danilovich sporting goods</font></b></center>'
  13. '<center><img src="images/locations/city/citycenter/mall/sportshop/sportshop.jpg"></center>'
  14. *nl
  15. 'As soon as you enter, a high energy song with a thumping baseline fills your eardrums, making you feel 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 are motivating as hell.'
  16. *nl
  17. if mc_inventory['refill_bottle'] = 0 and bag > 0 and (money >= 1000 or karta >= 1000):
  18. 'You could buy a high-quality <a href="exec:gt ''shop_danilovich'', ''buy_refill_bottle''">water bottle (1000 <b>₽</b>)</a> that you can carry around in your purse.'
  19. elseif mc_inventory['refill_bottle'] = 0:
  20. 'The shop sells high-quality water bottles for 1,000 <b>₽</b>. You could carry one around in '+iif(bag > 0, 'your', 'a')+' purse.'
  21. end
  22. act 'Leave': minut += 3 & gt 'city_mall'
  23. act 'View sports clothing': minut += 5 & gt 'shop_danilovich', 'clo'
  24. act 'View sports bras': minut += 5 & gt 'shop_danilovich', 'bras'
  25. act 'View sports panties': minut += 5 & gt 'shop_danilovich', 'panties'
  26. act 'View exercise shoes': minut += 5 & gt 'shop_danilovich', 'shoes'
  27. act 'View swimwear': minut += 5 & gt 'shop_danilovich', 'swim'
  28. act 'View purses': minut += 5 & gt 'shop_danilovich', 'purses'
  29. act 'View coats': minut += 5 & gt 'shop_danilovich', 'coats'
  30. 'A tall muscular man stands next to the counter, showing a perfect smile. "Welcome, do you need any assistance in selecting equipment or tips how to improve your workout?"'
  31. gs 'item_cart', 'shoppping_aisle', 'sports'
  32. gs 'stat'
  33. gs 'themes', 'indoors'
  34. end
  35. if $ARGS[0] = 'buy_refill_bottle':
  36. minut += 5
  37. if money >= 1000:
  38. money -= 1000
  39. else
  40. karta -= 1000
  41. end
  42. mc_inventory['refill_bottle'] = 1
  43. gt $loc_s, $arg_s
  44. end
  45. if $ARGS[0] = 'clo':
  46. gs 'shortgs', 'setloc', 'shop_danilovich', 'clo'
  47. menu_off = 1
  48. gs 'stat'
  49. '<center><b><font color="maroon">Sportswear - one size fits all</font></b></center>'
  50. *nl
  51. act 'Return': minut += 1 & gt 'shop_danilovich', 'start'
  52. gs 'clothing_QV', 'shop_filter_header'
  53. gs 'clothing', 'totals', 'danilovich_outfits'
  54. !!To filter just this set
  55. clo_i = 0
  56. :loopdanilovich_outfits_filter
  57. i = 1 + Clothingstock mod 3
  58. :loopdanilovich_outfits
  59. if danilovich_outfits[i] = 0:
  60. gs 'clothing_attributes', 'danilovich_outfits', i
  61. gs 'clothing_QV', 'shop_filter'
  62. !!sort by filter
  63. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  64. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_danilovich'', ''danilovich''"><img src="images/pc/items/danilovich/outfits/<<i>>.jpg" height="250" /></a>'
  65. end
  66. end
  67. i += 3
  68. if i <= total: jump 'loopdanilovich_outfits'
  69. clo_i += 1
  70. if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
  71. jump 'loopdanilovich_outfits_filter'
  72. end
  73. end
  74. if $ARGS[0] = 'danilovich': gt 'clothing', 'view_clothing_item', 'danilovich_outfits', i, 2000, 'shop'
  75. if $ARGS[0] = 'shoes':
  76. gs 'shortgs', 'setloc', 'shop_danilovich', 'shoes'
  77. menu_off = 1
  78. gs 'stat'
  79. '<center><b><font color="maroon">Viewing G&M shoes</font></b></center>'
  80. *nl
  81. act 'Return': minut += 1 & gt 'shop_danilovich', 'start'
  82. gs 'shoes', 'shop_filter_header'
  83. gs 'shoes', 'totals', 'danilovich_shoes'
  84. !!To filter just this set
  85. clo_i = 0
  86. :loopshoequality_filter
  87. i = 1
  88. :loopdanilovich_shoes
  89. if danilovich_shoe[i] = 0:
  90. gs 'shoe_attributes', 'danilovich', i
  91. gs 'shoes', 'shoe_filter'
  92. if (Shofilter['quality'] = 0 and ShoQuality = clo_i) or Shofilter['number'] = 0:
  93. if Shofilter['inc'] = 1 and Shofilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_danilovich'', ''training_shoes''"><img src="images/pc/items/danilovich/shoes/<<i>>.jpg" height="250" /></a>'
  94. end
  95. end
  96. i += 1
  97. if i <= total: jump 'loopdanilovich_shoes'
  98. clo_i += 1
  99. if Shofilter['quality'] = 0 and clo_i <= 7:
  100. jump 'loopshoequality_filter'
  101. end
  102. end
  103. if $ARGS[0] = 'training_shoes': gt 'shoes', 'view_shoe_item', 'shop', 'danilovich', i, 1500
  104. if $ARGS[0] = 'swim':
  105. gs 'shortgs', 'setloc', 'shop_danilovich', 'swim'
  106. menu_off = 1
  107. gs 'stat'
  108. '<center><b><font color="maroon">Swimwear - one size fits all</font></b></center>'
  109. *nl
  110. act 'Return': minut += 1 & gt 'shop_danilovich', 'start'
  111. gs 'clothing_QV', 'shop_filter_header'
  112. gs 'clothing', 'totals', 'danilovich_swimsuit'
  113. !!To filter just this set
  114. clo_i = 0
  115. :loopswim_filter
  116. i = 1 + Clothingstock mod 2
  117. :loopswim
  118. if danilovich_swimsuit[i] = 0:
  119. gs 'clothing_attributes', 'danilovich_swimsuit', i
  120. gs 'clothing_QV', 'shop_filter'
  121. !!sort by filter
  122. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  123. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_danilovich'', ''swim1''"><img src="images/pc/items/danilovich/swimwear/<<i>>.jpg" height="250" /></a>'
  124. end
  125. end
  126. i += 2
  127. !!4 is in he supermarket, so skipped
  128. if i = 4: i += 2
  129. if i <= total: jump 'loopswim'
  130. clo_i += 1
  131. if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
  132. jump 'loopswim_filter'
  133. end
  134. end
  135. if $ARGS[0] = 'swim1': gt 'clothing', 'view_clothing_item', 'danilovich_swimsuit', i, 1750, 'shop'
  136. if $ARGS[0] = 'panties':
  137. gs 'shortgs', 'setloc', 'shop_danilovich', 'panties'
  138. menu_off = 1
  139. gs 'stat'
  140. act 'Return': minut += 1 & gt 'shop_danilovich', 'start'
  141. gs 'panties', 'shop_filter_header'
  142. gs 'panties', 'totals', 'danilovich_panties'
  143. !!To filter just this set
  144. clo_i = 0
  145. :looppantyquality_filter
  146. i = 1
  147. :loopdanilovich_panties
  148. if danilovich_panties[i] = 0:
  149. gs 'underwear_attributes', 'danilovich_panties', i
  150. if (clothingfilter['quality'] = 0 and PanQuality = clo_i) or clothingfilter['number'] = 0:
  151. *p '<a href="exec: i = <<i>> & gt ''shop_danilovich'', ''panties2''"><img src="images/pc/items/danilovich/panties/<<i>>.jpg" height="150" /></a> '
  152. end
  153. end
  154. i += 1
  155. if i <= total: jump 'loopdanilovich_panties'
  156. clo_i += 1
  157. if clothingfilter['quality'] = 0 and clo_i <= 6:
  158. jump 'looppantyquality_filter'
  159. end
  160. end
  161. if $ARGS[0] = 'panties2':
  162. if danilovich_panties[i] ! 0:
  163. msg 'You already own these panties.'
  164. gt 'shop_danilovich', 'panties'
  165. end
  166. gt 'panties', 'view_panty_item', 'shop', 'danilovich', i, 1000
  167. end
  168. if $ARGS[0] = 'bras':
  169. gs 'shortgs', 'setloc', 'shop_danilovich', 'bras'
  170. menu_off = 1
  171. gs 'stat'
  172. act 'Return': minut += 1 & gt 'shop_danilovich', 'start'
  173. gs 'bras', 'shop_filter_header'
  174. gs 'bras', 'totals', 'danilovich_bras'
  175. !!To filter just this set
  176. clo_i = 0
  177. :loopbraquality_filter
  178. i = 1
  179. :loopdanilovich_bras
  180. if danilovich_bras[i] = 0:
  181. gs 'underwear_attributes', 'danilovich_bras', i
  182. if (clothingfilter['quality'] = 0 and BraQuality = clo_i) or clothingfilter['number'] = 0:
  183. *p '<a href="exec: i = <<i>> & gt ''shop_danilovich'', ''bras2''"><img src="images/pc/items/danilovich/bras/<<i>>.jpg" height="150" /></a> '
  184. end
  185. end
  186. i += 1
  187. if i <= total: jump 'loopdanilovich_bras'
  188. clo_i += 1
  189. if clothingfilter['quality'] = 0 and clo_i <= 6:
  190. jump 'loopbraquality_filter'
  191. end
  192. end
  193. if $ARGS[0] = 'bras2':
  194. if danilovich_bras[i] ! 0:
  195. msg 'You already own this bra.'
  196. gt 'shop_danilovich', 'bras'
  197. end
  198. gt 'bras', 'view_bra_item', 'shop', 'danilovich', i, 1000
  199. end
  200. if $ARGS[0] = 'purses':
  201. gs 'shortgs', 'setloc', 'shop_danilovich', 'purses'
  202. menu_off = 1
  203. gs 'stat'
  204. act 'Return': minut += 1 & gt 'shop_danilovich', 'start'
  205. gs 'purses', 'totals', 'danilovich_purses'
  206. i = 1 + (Clothingstock / 6) mod 2
  207. :loopdanilovich_purses
  208. if danilovich_purses[i] = 0: *p '<a href="exec: i = <<i>> & gt ''shop_danilovich'', ''purses2''"><img src="images/pc/items/danilovich/purses/<<i>>.jpg" height="150" /></a> '
  209. i += 2
  210. if i <= total: jump 'loopdanilovich_purses'
  211. end
  212. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'danilovich', i, 1500
  213. if $ARGS[0] = 'coats':
  214. gs 'shortgs', 'setloc', 'shop_danilovich', 'coats'
  215. menu_off = 1
  216. gs 'stat'
  217. act 'Return': minut += 1 & gt 'shop_danilovich', 'start'
  218. gs 'coats', 'totals', 'danilovich_coats'
  219. i = 1
  220. :loopdanilovich_coats
  221. if danilovich_coats[i] = 0: *p '<a href="exec: i = <<i>> & gt ''shop_danilovich'', ''coats2''"><img src="images/pc/items/danilovich/coats/<<i>>.jpg" height="150" /></a> '
  222. i += 1
  223. if i <= total: jump 'loopdanilovich_coats'
  224. end
  225. if $ARGS[0] = 'coats2': gt 'coats', 'view_coat_item', 'shop', 'danilovich', i, 1500
  226. --- shop_danilovich ---------------------------------