shop_allure.qsrc 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. # shop_allure
  2. if $ARGS[0] = 'start':
  3. $loc = 'shop_allure'
  4. $loc_arg = 'start'
  5. $location_type = 'public_indoors'
  6. cls
  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 allure_pos = 1:
  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. cla
  22. minut += 3
  23. if allure_pos = 1:
  24. minut += 3
  25. gt 'pav_commercial'
  26. else
  27. gt 'city_lake', 'start'
  28. end
  29. end
  30. act 'View swimsuits':
  31. cla
  32. minut += 5
  33. gt 'shop_allure', 'swim'
  34. end
  35. act 'View bikinis':
  36. cla
  37. minut += 5
  38. gt 'shop_allure', 'bikinis'
  39. end
  40. end
  41. if $ARGS[0] = 'swim':
  42. $loc_arg = 'swim'
  43. $loc = 'shop_allure'
  44. cls
  45. gs'stat'
  46. '<center><b><font color="maroon">Swimsuits - one size fits all</font></b></center>'
  47. *nl
  48. gs 'clothing_QV', 'shop_header'
  49. act 'Return':
  50. cla
  51. minut += 1
  52. gt 'shop_allure', 'start'
  53. end
  54. clothingfilter['qualitycheck'] = 7
  55. :loopquality2
  56. i = 1
  57. :loopallure_swimsuit
  58. if allure_swimsuit[i] = 0:
  59. gs 'clothing_attributes', 'allure_swimsuit', i
  60. gs 'clothing_QV', 'shop_filter'
  61. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  62. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''shop_allure'', ''swim1''"><img src="images/pc/items/allure/one/<<i>>.jpg" height="250" /></a>'
  63. end
  64. end
  65. i += 1
  66. if i <= 100:jump 'loopallure_swimsuit'
  67. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality2'
  68. end
  69. if $ARGS[0] = 'swim1': gt 'clothing', 'view_clothing_item', 'shop', 'allure_swimsuit',i, 1750
  70. if $ARGS[0] = 'bikinis':
  71. $loc_arg = 'bikinis'
  72. $loc = 'shop_allure'
  73. cls
  74. gs'stat'
  75. '<center><b><font color="maroon">Bikinis - one size fits all</font></b></center>'
  76. *nl
  77. gs 'clothing_QV', 'shop_header'
  78. act 'Return':
  79. cla
  80. minut += 1
  81. gt 'shop_allure', 'start'
  82. end
  83. clothingfilter['qualitycheck'] = 7
  84. :loopquality3
  85. i = 1
  86. :loopallure_bikinis
  87. if allure_bikinis[i] = 0:
  88. gs 'clothing_attributes', 'allure_bikinis', i
  89. gs 'clothing_QV', 'shop_filter'
  90. if clothingfilter['quality'] = 0 or clothingfilter['qualitycheck'] = CloQuality:
  91. if clothingfilter_risk = 1 and clothingfilter_pandb = 1 and clothingfilter_norm2 = 1: *p '<a href="exec: i = <<i>> & gt ''shop_allure'', ''bikini1''"><img src="images/pc/items/allure/two/<<i>>.jpg" height="250" /></a>'
  92. end
  93. end
  94. i += 1
  95. if i <= 140:jump 'loopallure_bikinis'
  96. if clothingfilter['quality'] = 1 and clothingfilter['qualitycheck'] > 0: clothingfilter['qualitycheck'] -=1 & jump 'loopquality3'
  97. end
  98. if $ARGS[0] = 'bikini1': gt 'clothing', 'view_clothing_item', 'shop', 'allure_bikinis',i, 1750
  99. --- shop_allure ---------------------------------