shop_allure.qsrc 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. # shop_allure
  2. !!2022/03/12
  3. if $ARGS[0] = 'start':
  4. killvar 'clothingfilter'
  5. $loc = 'shop_allure'
  6. $loc_arg = 'start'
  7. $location_type = 'public_indoors'
  8. cls
  9. CLOSE ALL
  10. menu_off = 0
  11. gs 'stat'
  12. gs 'themes', 'indoors'
  13. '<center><b><font color="maroon">shop_allure</font></b></center>'
  14. if $region = 'pav':
  15. '<center><img src="images/locations/pavlovsk/commercial/allure/shop.jpg"></center>'
  16. else
  17. '<center><img src="images/locations/city/residential/lake/allure/shop.jpg"></center>'
  18. end
  19. *nl
  20. 'This shop has the feel of a summer at the beach, which you''d expect seeing as it sells swimwear.'
  21. *nl
  22. act 'Leave':
  23. cla
  24. minut += 3
  25. if $region = 'pav':
  26. minut += 3
  27. gt 'pav_commercial'
  28. else
  29. gt 'city_lake', 'start'
  30. end
  31. end
  32. act 'View swimsuits':
  33. cla
  34. minut += 5
  35. gt 'shop_allure', 'swim'
  36. end
  37. act 'View bikinis':
  38. cla
  39. minut += 5
  40. gt 'shop_allure', 'bikinis'
  41. end
  42. end
  43. if $ARGS[0] = 'swim':
  44. $loc_arg = 'swim'
  45. $loc = 'shop_allure'
  46. cls
  47. gs'stat'
  48. '<center><b><font color="maroon">Swimsuits - one size fits all</font></b></center>'
  49. *nl
  50. gs 'clothing_QV', 'shop_filter_header'
  51. gs 'clothing', 'totals', 'allure_swimsuit'
  52. act 'Return':
  53. cla
  54. minut += 1
  55. gt 'shop_allure', 'start'
  56. end
  57. !!To filter just this set
  58. clo_i = 0
  59. :loopallure_swimsuit_filter
  60. if Clothingstock > 15:
  61. i = 1
  62. elseif Clothingstock > 7:
  63. i = 3
  64. else
  65. i = 2
  66. end
  67. :loopallure_swimsuit
  68. if allure_swimsuit[i] = 0:
  69. gs 'clothing_attributes', 'allure_swimsuit', i
  70. gs 'clothing_QV', 'shop_filter'
  71. !!sort by filter
  72. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  73. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_allure'', ''swim1''"><img src="images/pc/items/allure/one/<<i>>.jpg" height="250" /></a>'
  74. end
  75. end
  76. i += 3
  77. if i <= total:jump 'loopallure_swimsuit'
  78. clo_i += 1
  79. if clothingfilter['quality'] = 0 and clo_i <= 7:
  80. jump 'loopallure_swimsuit_filter'
  81. elseif clothingfilter['inhibition'] = 0 and clo_i <= 50:
  82. jump 'loopallure_swimsuit_filter'
  83. end
  84. end
  85. if $ARGS[0] = 'swim1': gt 'clothing', 'view_clothing_item', 'allure_swimsuit',i, 1750, 'shop'
  86. if $ARGS[0] = 'bikinis':
  87. $loc_arg = 'bikinis'
  88. $loc = 'shop_allure'
  89. cls
  90. gs'stat'
  91. '<center><b><font color="maroon">Bikinis - one size fits all</font></b></center>'
  92. *nl
  93. gs 'clothing_QV', 'shop_filter_header'
  94. gs 'clothing', 'totals', 'allure_bikinis'
  95. act 'Return':
  96. cla
  97. minut += 1
  98. gt 'shop_allure', 'start'
  99. end
  100. !!To filter just this set
  101. clo_i = 0
  102. :loopallure_bikinis_filter
  103. if Clothingstock > 15:
  104. i = 1
  105. elseif Clothingstock > 7:
  106. i = 3
  107. else
  108. i = 2
  109. end
  110. :loopallure_bikinis
  111. if allure_bikinis[i] = 0:
  112. gs 'clothing_attributes', 'allure_bikinis', i
  113. gs 'clothing_QV', 'shop_filter'
  114. !!sort by filter
  115. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  116. if clothingfilter['inc'] = 1 and clothingfilter['only'] = 1: *p '<a href="exec: i = <<i>> & gt ''shop_allure'', ''bikini1''"><img src="images/pc/items/allure/two/<<i>>.jpg" height="250" /></a>'
  117. end
  118. end
  119. i += 3
  120. if i <= total:jump 'loopallure_bikinis'
  121. clo_i += 1
  122. if clothingfilter['quality'] = 0 and clo_i <= 7:
  123. jump 'loopallure_bikinis_filter'
  124. elseif clothingfilter['inhibition'] = 0 and clo_i <= 50:
  125. jump 'loopallure_bikinis_filter'
  126. end
  127. end
  128. if $ARGS[0] = 'bikini1': gt 'clothing', 'view_clothing_item', 'allure_bikinis',i, 1750, 'shop'
  129. --- shop_allure ---------------------------------