# 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'
'
shop_allure'
if $region = 'pav':
''
else
''
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'
'Swimsuits - one size fits all'
*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 ''
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'
'Bikinis - one size fits all'
*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 ''
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 ---------------------------------