shop_nerdvana.qsrc 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. # shop_nerdvana
  2. !!2022/06/20
  3. if $ARGS[0] = 'start':
  4. killvar 'clothingfilter'
  5. $loc_arg = $ARGS[0]
  6. $loc = 'shop_nerdvana'
  7. $location_type = 'public_indoors'
  8. $menu_loc = 'shop_nerdvana'
  9. $menu_arg = 'start'
  10. menu_off = 0
  11. *clr & cla
  12. mag = 1
  13. gs 'stat'
  14. gs 'themes', 'indoors'
  15. '<center><b><font color="maroon">Nerdvana</font></b></center>'
  16. '<center><img <<$set_imgh>> src="images/locations/city/island/nerdvana/shop.jpg"></center>'
  17. *nl
  18. 'If you are happy to push through the tourists nerdvana has everything a young adult might like to wear. It''s a step up from G&M and unless you can afford the boutiques in Old Town you''ll be spending some time buying outfits here.'
  19. act 'Leave the nerdvana': minut += 3 & gt 'city_island'
  20. act 'View cosplay outfits': minut += 5 & gt 'shop_nerdvana', 'cosplay'
  21. act 'View other outfits': minut += 5 & gt 'shop_nerdvana', 'outfits'
  22. act 'View swimsuits': minut += 5 & gt 'shop_nerdvana', 'swim'
  23. act 'View bikinis': minut += 5 & gt 'shop_nerdvana', 'bikinis'
  24. act 'View purses': minut += 5 & gt 'shop_nerdvana', 'purses'
  25. end
  26. if $ARGS[0] = 'cosplay':
  27. $loc_arg = 'cosplay'
  28. $loc = 'shop_nerdvana'
  29. $menu_loc = 'shop_nerdvana'
  30. $menu_arg = 'cosplay'
  31. menu_off = 0
  32. *clr & cla
  33. gs'stat'
  34. '<center><b><font color="maroon">Viewing Nerdvana Cosplay Outfits</font></b></center>'
  35. *nl
  36. gs 'clothing_QV', 'shop_filter_header'
  37. act 'Return': minut += 1 & gt 'shop_nerdvana', 'start'
  38. !!To filter just this set
  39. clo_i = 0
  40. :loopnerdvana_cosplay_filter
  41. if Clothingstock > 11:
  42. i = 1
  43. else
  44. i = 2
  45. end
  46. :loopnerdvana_cosplay
  47. if nerdvana_cosplay[i] = 0:
  48. gs 'clothing_attributes', 'nerdvana_cosplay', i
  49. gs 'clothing_QV', 'shop_filter'
  50. !!sort by filter
  51. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  52. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_nerdvana'', ''nerdvana_cosplay''"><img src="images/pc/items/nerdvana/cosplay/<<i>>.jpg" height="250" /></a>'
  53. end
  54. end
  55. i += 2
  56. if i <= 160:jump 'loopnerdvana_cosplay'
  57. clo_i += 1
  58. if clothingfilter['quality'] = 0 and clo_i <= 7:
  59. jump 'loopnerdvana_cosplay_filter'
  60. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  61. jump 'loopnerdvana_cosplay_filter'
  62. end
  63. end
  64. if $ARGS[0] = 'nerdvana_cosplay':
  65. cla
  66. menu_off = 1
  67. if nerdvana_cosplay[i] ! 0:
  68. msg 'You already own this cosplay outfit.'
  69. gt 'shop_nerdvana', 'cosplay'
  70. end
  71. gt 'clothing', 'view_clothing_item', 'nerdvana_cosplay',i, 3000, 'shop'
  72. end
  73. if $ARGS[0] = 'outfits':
  74. $loc_arg = 'outfits'
  75. $loc = 'shop_nerdvana'
  76. $menu_loc = 'shop_nerdvana'
  77. $menu_arg = 'outfits'
  78. menu_off = 0
  79. *clr & cla
  80. gs'stat'
  81. '<center><b><font color="maroon">Viewing Nerdvana outfits</font></b></center>'
  82. *nl
  83. gs 'clothing_QV', 'shop_filter_header'
  84. act 'Return': minut += 1 & gt 'shop_nerdvana', 'start'
  85. !!To filter just this set
  86. clo_i = 0
  87. :loopnerdvana_outfits_filter
  88. if Clothingstock > 11:
  89. i = 1
  90. else
  91. i = 2
  92. end
  93. :loopnerdvana_outfits
  94. if nerdvana_outfits[i] = 0:
  95. gs 'clothing_attributes', 'nerdvana_outfits', i
  96. gs 'clothing_QV', 'shop_filter'
  97. !!sort by filter
  98. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  99. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_nerdvana'', ''nerdvana_outfits''"><img src="images/pc/items/nerdvana/outfits/<<i>>.jpg" height="250" /></a>'
  100. end
  101. end
  102. i += 2
  103. if i <= 90:jump 'loopnerdvana_outfits'
  104. clo_i += 1
  105. if clothingfilter['quality'] = 0 and clo_i <= 7:
  106. jump 'loopnerdvana_outfits_filter'
  107. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  108. jump 'loopnerdvana_outfits_filter'
  109. end
  110. end
  111. if $ARGS[0] = 'nerdvana_outfits':
  112. cla
  113. menu_off = 1
  114. if nerdvana_outfits[i] ! 0:
  115. msg 'You already own this outfit.'
  116. gt 'shop_nerdvana', 'outfits'
  117. end
  118. gt 'clothing', 'view_clothing_item', 'nerdvana_outfits',i, 3000, 'shop'
  119. end
  120. if $ARGS[0] = 'swim':
  121. $loc_arg = 'swim'
  122. $loc = 'shop_nerdvana'
  123. cls
  124. gs'stat'
  125. '<center><b><font color="maroon">Swimsuits - one size fits all</font></b></center>'
  126. *nl
  127. gs 'clothing_QV', 'shop_filter_header'
  128. act 'Return': minut += 1 & gt 'shop_nerdvana', 'start'
  129. !!To filter just this set
  130. clo_i = 0
  131. :loopnerdvana_swimsuit_filter
  132. i = 1
  133. :loopnerdvana_swimsuit
  134. if nerdvana_swimsuit[i] = 0:
  135. gs 'clothing_attributes', 'nerdvana_swimsuit', i
  136. gs 'clothing_QV', 'shop_filter'
  137. !!sort by filter
  138. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  139. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_nerdvana'', ''swim1''"><img src="images/pc/items/nerdvana/swim/one/<<i>>.jpg" height="250" /></a>'
  140. end
  141. end
  142. i += 1
  143. if i <= 30:jump 'loopnerdvana_swimsuit'
  144. clo_i += 1
  145. if clothingfilter['quality'] = 0 and clo_i <= 7:
  146. jump 'loopnerdvana_swimsuit_filter'
  147. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  148. jump 'loopnerdvana_swimsuit_filter'
  149. end
  150. end
  151. if $ARGS[0] = 'swim1': gt 'clothing', 'view_clothing_item', 'nerdvana_swimsuit',i, 1750, 'shop'
  152. if $ARGS[0] = 'bikinis':
  153. $loc_arg = 'bikinis'
  154. $loc = 'shop_nerdvana'
  155. cls
  156. gs'stat'
  157. '<center><b><font color="maroon">Bikinis - one size fits all</font></b></center>'
  158. *nl
  159. gs 'clothing_QV', 'shop_filter_header'
  160. act 'Return': minut += 1 & gt 'shop_nerdvana', 'start'
  161. !!To filter just this set
  162. clo_i = 0
  163. :loopnerdvana_bikinis_filter
  164. i = 1
  165. :loopnerdvana_bikinis
  166. if nerdvana_bikinis[i] = 0:
  167. gs 'clothing_attributes', 'nerdvana_bikinis', i
  168. gs 'clothing_QV', 'shop_filter'
  169. !!sort by filter
  170. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  171. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_nerdvana'', ''bikini1''"><img src="images/pc/items/nerdvana/swim/two/<<i>>.jpg" height="250" /></a>'
  172. end
  173. end
  174. i += 1
  175. if i <= 30:jump 'loopnerdvana_bikinis'
  176. clo_i += 1
  177. if clothingfilter['quality'] = 0 and clo_i <= 7:
  178. jump 'loopnerdvana_bikinis_filter'
  179. elseif clothingfilter['inhibition'] = 0 and clo_i <= 40:
  180. jump 'loopnerdvana_bikinis_filter'
  181. end
  182. end
  183. if $ARGS[0] = 'bikini1': gt 'clothing', 'view_clothing_item', 'nerdvana_bikinis',i, 1750, 'shop'
  184. if $ARGS[0] = 'purses':
  185. $loc_arg = 'purses'
  186. $loc = 'shop_nerdvana'
  187. $menu_loc = 'shop_nerdvana'
  188. $menu_arg = 'purses'
  189. menu_off = 0
  190. *clr & cla
  191. gs'stat'
  192. act 'Return': minut += 1 & gt 'shop_nerdvana', 'start'
  193. i = 1
  194. :loopnerdvana_purses
  195. if nerdvana_purses[i] = 0:*p '<a href="exec: i = <<i>> & gt ''shop_nerdvana'', ''purses2''"><img src="images/pc/items/nerdvana/purses/<<i>>.jpg" height="150" /></a> '
  196. i += 1
  197. if i <= 60:jump 'loopnerdvana_purses'
  198. end
  199. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'nerdvana',i, 2000
  200. --- shop_nerdvana ---------------------------------