1
0

shop_allure.qsrc 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. # shop_allure
  2. !!2022/03/12
  3. if $ARGS[0] = 'start':
  4. killvar 'clothingfilter'
  5. $location_type = 'public_indoors'
  6. gs 'shortgs', 'setloc', 'shop_allure', 'start'
  7. CLOSE ALL
  8. menu_off = 0
  9. gs 'stat'
  10. gs 'themes', 'indoors'
  11. '<center><b><font color="maroon">shop_allure</font></b></center>'
  12. if $region = 'pav':
  13. '<center><img src="images/locations/pavlovsk/commercial/allure/shop.jpg"></center>'
  14. else
  15. '<center><img src="images/locations/city/residential/lake/allure/shop.jpg"></center>'
  16. end
  17. *nl
  18. 'This shop has the feel of a summer at the beach, which you''d expect seeing as it sells swimwear.'
  19. *nl
  20. act 'Leave':
  21. if $region = 'pav':
  22. minut += 6
  23. gt 'pav_commercial'
  24. else
  25. minut += 3
  26. gt 'city_lake', 'start'
  27. end
  28. end
  29. act 'View swimsuits': minut += 5 & gt 'shop_allure', 'swim'
  30. act 'View bikinis': minut += 5 & gt 'shop_allure', 'bikinis'
  31. end
  32. if $ARGS[0] = 'swim':
  33. gs 'shortgs', 'setloc', 'shop_allure', 'swim'
  34. menu_off = 0
  35. gs 'stat'
  36. '<center><b><font color="maroon">Swimsuits - one size fits all</font></b></center>'
  37. *nl
  38. act 'Return': minut += 1 & gt 'shop_allure', 'start'
  39. gs 'clothing_QV', 'shop_filter_header'
  40. gs 'clothing', 'totals', 'allure_swimsuit'
  41. !!To filter just this set
  42. clo_i = 0
  43. :loopallure_swimsuit_filter
  44. i = 1 + Clothingstock mod 3
  45. :loopallure_swimsuit
  46. if allure_swimsuit[i] = 0:
  47. gs 'clothing_attributes', 'allure_swimsuit', i
  48. gs 'clothing_QV', 'shop_filter'
  49. !!sort by filter
  50. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  51. 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>'
  52. end
  53. end
  54. i += 3
  55. if i <= total: jump 'loopallure_swimsuit'
  56. clo_i += 1
  57. if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
  58. jump 'loopallure_swimsuit_filter'
  59. end
  60. end
  61. if $ARGS[0] = 'swim1': gt 'clothing', 'view_clothing_item', 'allure_swimsuit',i, 1750, 'shop'
  62. if $ARGS[0] = 'bikinis':
  63. gs 'shortgs', 'setloc', 'shop_allure', 'bikinis'
  64. menu_off = 0
  65. gs 'stat'
  66. '<center><b><font color="maroon">Bikinis - one size fits all</font></b></center>'
  67. *nl
  68. act 'Return': minut += 1 & gt 'shop_allure', 'start'
  69. gs 'clothing_QV', 'shop_filter_header'
  70. gs 'clothing', 'totals', 'allure_bikinis'
  71. !!To filter just this set
  72. clo_i = 0
  73. :loopallure_bikinis_filter
  74. i = 1 + (Clothingstock / 3) mod 4
  75. :loopallure_bikinis
  76. if allure_bikinis[i] = 0:
  77. gs 'clothing_attributes', 'allure_bikinis', i
  78. gs 'clothing_QV', 'shop_filter'
  79. !!sort by filter
  80. if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
  81. 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>'
  82. end
  83. end
  84. i += 4
  85. if i <= total:jump 'loopallure_bikinis'
  86. clo_i += 1
  87. if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
  88. jump 'loopallure_bikinis_filter'
  89. end
  90. end
  91. if $ARGS[0] = 'bikini1': gt 'clothing', 'view_clothing_item', 'allure_bikinis',i, 1750, 'shop'
  92. --- shop_allure ---------------------------------