shop_nerdvana.qsrc 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. # shop_nerdvana
  2. !!2022/06/20
  3. if $ARGS[0] = 'start':
  4. killvar 'clothingfilter'
  5. gs 'shortgs', 'setloc', 'shop_nerdvana', 'start'
  6. $location_type = 'public_indoors'
  7. menu_off = 0
  8. gs 'stat'
  9. gs 'themes', 'indoors'
  10. '<center><b><font color="maroon">Nerdvana</font></b></center>'
  11. '<center><img <<$set_imgh>> src="images/locations/city/island/nerdvana/shop.jpg"></center>'
  12. *nl
  13. '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.'
  14. act 'Leave the nerdvana': minut += 3 & gt 'city_island'
  15. act 'View cosplay outfits': minut += 5 & gt 'shop_nerdvana', 'cosplay'
  16. act 'View other outfits': minut += 5 & gt 'shop_nerdvana', 'outfits'
  17. act 'View swimsuits': minut += 5 & gt 'shop_nerdvana', 'swim'
  18. act 'View bikinis': minut += 5 & gt 'shop_nerdvana', 'bikinis'
  19. act 'View purses': minut += 5 & gt 'shop_nerdvana', 'purses'
  20. end
  21. if $ARGS[0] = 'cosplay':
  22. gs 'shortgs', 'setloc', 'shop_nerdvana', 'cosplay'
  23. menu_off = 0
  24. gs 'stat'
  25. '<center><b><font color="maroon">Viewing Nerdvana Cosplay Outfits</font></b></center>'
  26. *nl
  27. act 'Return': minut += 1 & gt 'shop_nerdvana', 'start'
  28. gs 'clothing_QV', 'shop_filter_header'
  29. gs 'clothing', 'totals', 'nerdvana_cosplay'
  30. !!To filter just this set
  31. clo_i = 0
  32. :loopnerdvana_cosplay_filter
  33. i = 1 + Clothingstock mod 2
  34. :loopnerdvana_cosplay
  35. if nerdvana_cosplay[i] = 0:
  36. gs 'clothing_attributes', 'nerdvana_cosplay', i
  37. gs 'clothing_QV', 'shop_filter'
  38. !!sort by filter
  39. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  40. 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>'
  41. end
  42. end
  43. i += 2
  44. if i <= total: jump 'loopnerdvana_cosplay'
  45. clo_i += 1
  46. if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
  47. jump 'loopnerdvana_cosplay_filter'
  48. end
  49. end
  50. if $ARGS[0] = 'nerdvana_cosplay':
  51. if nerdvana_cosplay[i] ! 0:
  52. msg 'You already own this cosplay outfit.'
  53. gt 'shop_nerdvana', 'cosplay'
  54. end
  55. gt 'clothing', 'view_clothing_item', 'nerdvana_cosplay', i, 3000, 'shop'
  56. end
  57. if $ARGS[0] = 'outfits':
  58. gs 'shortgs', 'setloc', 'shop_nerdvana', 'outfits'
  59. menu_off = 0
  60. gs 'stat'
  61. '<center><b><font color="maroon">Viewing Nerdvana outfits</font></b></center>'
  62. *nl
  63. act 'Return': minut += 1 & gt 'shop_nerdvana', 'start'
  64. gs 'clothing_QV', 'shop_filter_header'
  65. gs 'clothing', 'totals', 'nerdvana_outfits'
  66. !!To filter just this set
  67. clo_i = 0
  68. :loopnerdvana_outfits_filter
  69. i = 1 + (Clothingstock / 2) mod 2
  70. :loopnerdvana_outfits
  71. if nerdvana_outfits[i] = 0:
  72. gs 'clothing_attributes', 'nerdvana_outfits', i
  73. gs 'clothing_QV', 'shop_filter'
  74. !!sort by filter
  75. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  76. 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>'
  77. end
  78. end
  79. i += 2
  80. if i <= total: jump 'loopnerdvana_outfits'
  81. clo_i += 1
  82. if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
  83. jump 'loopnerdvana_outfits_filter'
  84. end
  85. end
  86. if $ARGS[0] = 'nerdvana_outfits':
  87. if nerdvana_outfits[i] ! 0:
  88. msg 'You already own this outfit.'
  89. gt 'shop_nerdvana', 'outfits'
  90. end
  91. gt 'clothing', 'view_clothing_item', 'nerdvana_outfits',i, 3000, 'shop'
  92. end
  93. if $ARGS[0] = 'swim':
  94. gs 'shortgs', 'setloc', 'shop_nerdvana', 'swim'
  95. menu_off = 0
  96. gs 'stat'
  97. '<center><b><font color="maroon">Swimsuits - one size fits all</font></b></center>'
  98. *nl
  99. act 'Return': minut += 1 & gt 'shop_nerdvana', 'start'
  100. gs 'clothing_QV', 'shop_filter_header'
  101. gs 'clothing', 'totals', 'nerdvana_swimsuit'
  102. !!To filter just this set
  103. clo_i = 0
  104. :loopnerdvana_swimsuit_filter
  105. i = 1
  106. :loopnerdvana_swimsuit
  107. if nerdvana_swimsuit[i] = 0:
  108. gs 'clothing_attributes', 'nerdvana_swimsuit', i
  109. gs 'clothing_QV', 'shop_filter'
  110. !!sort by filter
  111. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  112. 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>'
  113. end
  114. end
  115. i += 1
  116. if i <= total: jump 'loopnerdvana_swimsuit'
  117. clo_i += 1
  118. if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
  119. jump 'loopnerdvana_swimsuit_filter'
  120. end
  121. end
  122. if $ARGS[0] = 'swim1': gt 'clothing', 'view_clothing_item', 'nerdvana_swimsuit',i, 1750, 'shop'
  123. if $ARGS[0] = 'bikinis':
  124. gs 'shortgs', 'setloc', 'shop_nerdvana', 'bikinis'
  125. menu_off = 0
  126. gs 'stat'
  127. '<center><b><font color="maroon">Bikinis - one size fits all</font></b></center>'
  128. *nl
  129. act 'Return': minut += 1 & gt 'shop_nerdvana', 'start'
  130. gs 'clothing_QV', 'shop_filter_header'
  131. gs 'clothing', 'totals', 'nerdvana_bikinis'
  132. !!To filter just this set
  133. clo_i = 0
  134. :loopnerdvana_bikinis_filter
  135. i = 1
  136. :loopnerdvana_bikinis
  137. if nerdvana_bikinis[i] = 0:
  138. gs 'clothing_attributes', 'nerdvana_bikinis', i
  139. gs 'clothing_QV', 'shop_filter'
  140. !!sort by filter
  141. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  142. 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>'
  143. end
  144. end
  145. i += 1
  146. if i <= 30: jump 'loopnerdvana_bikinis'
  147. clo_i += 1
  148. if clothingfilter['quality'] = 0 and clo_i <= 7:
  149. jump 'loopnerdvana_bikinis_filter'
  150. elseif clothingfilter['inhibition'] = 0 and clo_i <= 50:
  151. jump 'loopnerdvana_bikinis_filter'
  152. end
  153. end
  154. if $ARGS[0] = 'bikini1': gt 'clothing', 'view_clothing_item', 'nerdvana_bikinis',i, 1750, 'shop'
  155. if $ARGS[0] = 'purses':
  156. gs 'shortgs', 'setloc', 'shop_nerdvana', 'purses'
  157. menu_off = 0
  158. gs 'stat'
  159. act 'Return': minut += 1 & gt 'shop_nerdvana', 'start'
  160. i = 1 + (Clothingstock / 4) mod 2
  161. :loopnerdvana_purses
  162. 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> '
  163. i += 2
  164. if i <= total: jump 'loopnerdvana_purses'
  165. end
  166. if $ARGS[0] = 'purses2': gt 'purses', 'view_purse_item', 'shop', 'nerdvana',i, 2000
  167. --- shop_nerdvana ---------------------------------