123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- # shop_allure
- !!2022/03/12
- if $ARGS[0] = 'start':
- killvar 'clothingfilter'
- $location_type = 'public_indoors'
- gs 'shortgs', 'setloc', 'shop_allure', 'start'
- CLOSE ALL
- menu_off = 0
- gs 'stat'
- gs 'themes', 'indoors'
- '<center><b><font color="maroon">shop_allure</font></b></center>'
- if $region = 'pav':
- '<center><img src="images/locations/pavlovsk/commercial/allure/shop.jpg"></center>'
- else
- '<center><img src="images/locations/city/residential/lake/allure/shop.jpg"></center>'
- end
- *nl
- 'This shop has the feel of a summer at the beach, which you''d expect seeing as it sells swimwear.'
- *nl
- act 'Leave':
- if $region = 'pav':
- minut += 6
- gt 'pav_commercial'
- else
- minut += 3
- gt 'city_lake', 'start'
- end
- end
- act 'View swimsuits': minut += 5 & gt 'shop_allure', 'swim'
- act 'View bikinis': minut += 5 & gt 'shop_allure', 'bikinis'
- end
- if $ARGS[0] = 'swim':
- gs 'shortgs', 'setloc', 'shop_allure', 'swim'
- menu_off = 0
- gs 'stat'
- '<center><b><font color="maroon">Swimsuits - one size fits all</font></b></center>'
- *nl
- act 'Return': minut += 1 & gt 'shop_allure', 'start'
- gs 'clothing_QV', 'shop_filter_header'
- gs 'clothing', 'totals', 'allure_swimsuit'
- !!To filter just this set
- clo_i = 0
- :loopallure_swimsuit_filter
- i = 1 + Clothingstock mod 3
- :loopallure_swimsuit
- if allure_swimsuit[i] = 0:
- gs 'clothing_attributes', 'allure_swimsuit', i
- gs 'clothing_QV', 'shop_filter'
- !!sort by filter
- if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
- 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>'
- end
- end
- i += 3
- if i <= total: jump 'loopallure_swimsuit'
- clo_i += 1
- if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
- jump 'loopallure_swimsuit_filter'
- end
- end
- if $ARGS[0] = 'swim1': gt 'clothing', 'view_clothing_item', 'allure_swimsuit',i, 1750, 'shop'
- if $ARGS[0] = 'bikinis':
- gs 'shortgs', 'setloc', 'shop_allure', 'bikinis'
- menu_off = 0
- gs 'stat'
- '<center><b><font color="maroon">Bikinis - one size fits all</font></b></center>'
- *nl
- act 'Return': minut += 1 & gt 'shop_allure', 'start'
- gs 'clothing_QV', 'shop_filter_header'
- gs 'clothing', 'totals', 'allure_bikinis'
- !!To filter just this set
- clo_i = 0
- :loopallure_bikinis_filter
- i = 1 + (Clothingstock / 3) mod 4
- :loopallure_bikinis
- if allure_bikinis[i] = 0:
- gs 'clothing_attributes', 'allure_bikinis', i
- gs 'clothing_QV', 'shop_filter'
- !!sort by filter
- if (clothingfilter['quality'] = 0 and CloQuality = clo_i) or (clothingfilter['inhibition'] = 0 and CloInhibit = clo_i) or clothingfilter['number'] = 0:
- 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>'
- end
- end
- i += 4
- if i <= total:jump 'loopallure_bikinis'
- clo_i += 1
- if clothingfilter['quality'] = 0 and clo_i <= 7 or clothingfilter['inhibition'] = 0 and clo_i <= 50:
- jump 'loopallure_bikinis_filter'
- end
- end
- if $ARGS[0] = 'bikini1': gt 'clothing', 'view_clothing_item', 'allure_bikinis',i, 1750, 'shop'
- --- shop_allure ---------------------------------
|