# underwear

!!gs 'underwear', 'dispose'
!!gs 'underwear', 'remove'
!!gs 'underwear', 'wear'

if $ARGS[0] = 'dispose':
	gs 'panties', 'dispose'
	gs 'bras', 'dispose'
end

if $ARGS[0] = 'remove':
	if $pantyworntype = 'none':
		panty_none = 1
	else
		gs 'panties', 'remove'
	end
	if $braworntype = 'none':
		bra_none = 1
	else
		gs 'bras', 'remove'
	end
end

if $ARGS[0] = 'wear':
	if panty_none = 0: gs 'panties', 'wear'
	if bra_none = 0: gs 'bras', 'wear'
end

if $ARGS[0] = 'dresser':
	'In your dresser you can sort through all your underwear. Much of it is just regular underwear but you can also own some distinct items.'
	'The distinct items are sorted into bras and panties and by the shop in which they were purchased. They must be picked here and automatic options will default to regular underwear.'
	*nl
	'The wear panties and bra options here are for the regular underwear, the large buttons for choosing unique items.'
	*nl
	'Your dresser contains <<clrbelo>> pairs of regular panties and <<clrbra>> of regular bras.'
	*nl
	*nl
	*nl
	*nl

	*p '<center><a href="exec:gt ''bras'', ''view_bra_list'', ''clean'', 6"><img src="images/system/icon/bra.png"></a>                               <a href="exec:gt ''panties'', ''view_panty_list'', ''clean'', 6"><img src="images/system/icon/panties.png"></a></center>'

	dynamic $wearpan
	dynamic $removepan

	act 'Return': gt $loc, $metka
end

--- underwear ---------------------------------

