code:
:: Widgets Market [widget]
<<widget "stall_actions">>
<<if $stress gte $stressmax>>
	<<passoutstreet>>
<<elseif $worn.upper.type.includes("naked") and $player.gender_appearance is "f">>
	<<if $player.gender is "m">>
		You can't do this with your <<breasts>> on display. Not while looking like a girl. You duck and run.
	<<else>>
		You can't do this with your <<breasts>> on display. You duck and run.
	<</if>>

	<<link [[Next|Connudatus Street]]>><<endevent>><<endstall>><<clotheson>><<set $eventskip to 1>><</link>>

<<else>>
	<<if random(1, 10000) is 10000>>
		<<link [[Capitalism Ho! (0:20)|Stall]]>><<endevent>><<endstall>><<pass 20>><</link>>

	<<else>>
		<<link [[Continue (0:20)|Stall]]>><<endevent>><<endstall>><<pass 20>><</link>>

	<</if>>
	<<if $worn.lower.name isnot "naked">>
		<<if $worn.under_lower.name isnot "naked">>
			<<if $worn.upper.set isnot $worn.lower.set>>
				<<if $exhibitionism gte 15>>
					<<link [[Remove your bottoms|Stall Bottoms Strip]]>><<endevent>><<endstall>><</link>><<if $ex_stall isnot 1>><<exhibitionist2>><</if>>

				<</if>>
			<</if>>
		<<else>>
			<<if $worn.upper.set isnot $worn.lower.set>>
				<<if $exhibitionism gte 55>>
					<<link [[Remove your bottoms|Stall Bottoms Strip]]>><<endevent>><<endstall>><</link>><<if $ex_stall isnot 1>><<exhibitionist4>><</if>>

				<</if>>
			<</if>>
		<</if>>
	<<elseif $worn.under_lower.name isnot "naked">>
		<<if $worn.under_lower.set isnot $worn.under_upper.set>>
			<<if $exhibitionism gte 55>>
				<<link [[Remove your undies|Stall Undies Strip]]>><<endevent>><<endstall>><</link>><<if $ex_stall isnot 1>><<exhibitionist4>><</if>>

			<</if>>
		<</if>>
	<</if>>
	<<if $exhibitionism gte 35>>
		<<link [[Masturbate|Stall Masturbation]]>><<endevent>><<endstall>><<set $phase to 0>><<set $masturbationstart to 1>><</link>><<if $ex_stall isnot 1>><<exhibitionist3>><</if>>

	<</if>>
	<<link [[Leave|Connudatus Street]]>><<endevent>><<endstall>><<clotheson>><<set $eventskip to 1>><</link>>

<</if>>
<</widget>>

<<widget "stall_inventory">>

<<silently>>
<<set $plant_inventory to []>>
<<set _plant_keys to Object.keys($plants)>>
<<set _total_worth to 0>>
<<set _total_amount to 0>>
<<set _total_sold_amount to 0>>
<<for _t to 0; _t lt _plant_keys.length; _t++>>
	<<if ndef $stall_stats[_plant_keys[_t]]>>
		<<set $stall_stats[_plant_keys[_t]] to { inventory:{amount:0, price:0, total:0}, sold:{amount:0, total:0} }>>
	<</if>>
	<<if $plants[_plant_keys[_t]].amount gte 1>>
		<<set _plant_value to Math.round(setup.plants[$plants[_plant_keys[_t]].name].plant_cost)>>
		<<set _total_worth += $plants[_plant_keys[_t]].amount * _plant_value>>
		<<set _total_amount += $plants[_plant_keys[_t]].amount>>
		<<set _inventory_found to 1>>
		<<run $plant_inventory.push($plants[_plant_keys[_t]].name)>>
		<<if ($stall_expensive is undefined) or ($plants[$stall_expensive].amount lte 0) or (setup.plants[$plants[_plant_keys[_t]].name].plant_cost gte setup.plants[$stall_expensive].plant_cost)>>
			<<set $stall_expensive to clone(setup.plants[$plants[_plant_keys[_t]].name].name)>>
		<</if>>
		<<set $stall_stats[_plant_keys[_t]].inventory to {amount:$plants[_plant_keys[_t]].amount, price:_plant_value, total:($plants[_plant_keys[_t]].amount * _plant_value)}>>
	<<else>>
		<<set $stall_stats[_plant_keys[_t]].inventory to {amount:0, price:Math.round(setup.plants[$plants[_plant_keys[_t]].name].plant_cost), total:0}>>
	<</if>>
	<<set _total_sold_amount += $stall_stats[_plant_keys[_t]].sold.amount>>
<</for>>
<</silently>>

<<switch $mathstrait>>
	<<case -1>>
		<<set _canmath to ($maths_exam lt 50 ? 0 : 1)>>
	<<case 0>>
		<<set _canmath to ($maths_exam lt 50 ? 2 : 3)>>
	<<case 1>>
		<<set _canmath to 4>>
	<<case 2>>
		<<set _canmath to 5>>
	<<case 3 4>>
		<<set _canmath to 6>>
	<<default>>
		<<set _canmath to 0>>
<</switch>>

<<set _mobile to ($useNarrowMarket and _canmath gt 4)>>

<<if _canmath gte 3>>

			<<if _mobile and 0>>

					<<switch _canmath>>
						<<case 3>>
							Item
						<<case 4>>
							Item
						<<case 5>>
							Item
						<<case 6>>
							Item
					<</switch>>

			<</if>>

				<<if not _mobile>>
					Item
				<</if>>
				<<switch _canmath>>
					<<case 3>>
						Inventory
					<<case 4 5 6>>
						Inventory
				<</switch>>
				<<switch _canmath>>
					<<case 5>>
						Sold Today
					<<case 6>>
						Sold Today
				<</switch>>

				Amount
				Each
				<<if _canmath gte 4>>
					Total
				<</if>>
				<<if _canmath gte 5>>
					Amount
					<<if _canmath gte 6>>
						Avg
					<</if>>
					Total
				<</if>>

			<<for _t to 0; _t lt _plant_keys.length; _t++>>
				<<if $stall_stats[_plant_keys[_t]].inventory.amount gt 0 or (_canmath gte 5 and $stall_stats[_plant_keys[_t]].sold.amount gt 0)>>
					<<if _mobile>>

							<<=$plants[_plant_keys[_t]].plural.charAt(0).toUpperCase() + $plants[_plant_keys[_t]].plural.slice(1)>>

					<</if>>

						<<if not _mobile>>
							<<=$plants[_plant_keys[_t]].plural.charAt(0).toUpperCase() + $plants[_plant_keys[_t]].plural.slice(1)>>
						<</if>>
						<<if $stall_stats[_plant_keys[_t]].inventory.amount gt 0>>
							<<=$stall_stats[_plant_keys[_t]].inventory.amount>>
							<<printmoney $stall_stats[_plant_keys[_t]].inventory.price>>
							<<if _canmath gte 4>>
								<<printmoney $stall_stats[_plant_keys[_t]].inventory.total>>
							<</if>>
						<<else>>
							-
							<<printmoney $stall_stats[_plant_keys[_t]].inventory.price>>
							<<if _canmath gte 4>>
								-
							<</if>>
						<</if>>
						<<if _canmath gte 5>>
							<<if $stall_stats[_plant_keys[_t]].sold.amount gt 0>>
								<<=$stall_stats[_plant_keys[_t]].sold.amount>>
								<<if _canmath gte 6>>
									<<set _avg to Math.round($stall_stats[_plant_keys[_t]].sold.total / $stall_stats[_plant_keys[_t]].sold.amount)>><<printmoney _avg>>
								<</if>>
								<<printmoney $stall_stats[_plant_keys[_t]].sold.total>>
							<<else>>
								-
								<<if _canmath gte 6>>
									-
								<</if>>
								-
							<</if>>
						<</if>>

				<</if>>
			<</for>>

			<<if _canmath gte 4>>

					<<if not _mobile>>
						Total
					<</if>>
					_total_amount

					<<printmoney _total_worth>>
					<<if _canmath gte 5>>
						_total_sold_amount
						<<if _canmath gte 6>>

						<</if>>
						<<printmoney $stall_money>>
					<</if>>

			<</if>>

<<elseif _inventory_found is 1>>
	Inventory:
	<<set _first to 1>>
	<<for _t to 0; _t lt _plant_keys.length; _t++>>
		<<if $stall_stats[_plant_keys[_t]].inventory.amount gt 0>>
			<<if _first>>
				<<=$stall_stats[_plant_keys[_t]].inventory.amount>>
				<<=$plants[_plant_keys[_t]].plural.charAt(0).toUpperCase() + $plants[_plant_keys[_t]].plural.slice(1)>>
				(<<printmoney _plant_value>> each)
			<<else>>
				|
				<<=$stall_stats[_plant_keys[_t]].inventory.amount>>
				<<=$plants[_plant_keys[_t]].plural>>
				(<<printmoney _plant_value>> each)
			<</if>>
			<<set _first to 0>>
		<</if>>
	<</for>>

<<else>>
	Inventory: You're out of stock!

<</if>>

<<switch _canmath>>
	<<case 1>>
		<<if $stall_money is 0>>
			You haven't sold anything yet.
		<<else>>
			You earned <<printmoney $stall_money>> from sales today.
		<</if>>
	<<case 2>>
		<<if $stall_money is 0>>
			<<if _inventory_found is 1>>
				Your inventory is worth <<printmoney _total_worth>>.
			<</if>>
			You haven't sold anything yet.
		<<else>>
			<<if _inventory_found is 1>>
				Your remaining inventory is worth <<printmoney _total_worth>>.
			<</if>>
			You earned <<printmoney $stall_money>> from sales today.
		<</if>>
	<<case 3>>

			<<if $stall_money is 0>>
				<<if _inventory_found is 1>>
					Your inventory is worth <<printmoney _total_worth>>.
				<</if>>
				You haven't sold anything yet.
			<<else>>
				<<if _inventory_found is 1>>
					Your remaining inventory is worth <<printmoney _total_worth>>.
				<</if>>
				You earned <<printmoney $stall_money>> from sales today.
			<</if>>

	<<case 4>>

			<<if $stall_money is 0>>
				You haven't sold anything yet.
			<<else>>
				You earned <<printmoney $stall_money>> from sales today.
			<</if>>

<</switch>>

<</widget>>

<<widget "endstall">>
<<unset $plant_inventory>>
<<unset $stall_amount>>
<<unset $stall_plant>>
<<unset $stall_cost>>
<<unset $stall_expensive>>
<</widget>>

<<widget "stall_sell">>
<<if ndef $stall_stats[$stall_plant]>>
	<<set $stall_stats[$stall_plant] to { inventory:{amount:0, price:0, total:0}, sold:{amount:0, total:0} }>>
<</if>>
<<set $stall_stats[$stall_plant].sold.amount += $stall_amount>>
<<set $stall_stats[$stall_plant].sold.total  += Math.round($stall_cost * $stall_amount)>>

<<set $plants[$stall_plant].amount -= $stall_amount>>
<<set $money += Math.round($stall_cost * $stall_amount)>>
<<set $stall_money += Math.round($stall_cost * $stall_amount)>>
<<set $produce_sold += $stall_amount>>
You sell
<<if $stall_amount gte 2>>
	$stall_amount <<print setup.plants[$stall_plant].plural>>
<<else>>
	one <<print setup.plants[$stall_plant].name.replace(/_/g," ")>>
<</if>>
 for <<printmoney `$stall_cost * $stall_amount`>>
<<if $stall_cost * $stall_amount / 100 gte 10000>>
	It feels good to make so much money at once.
	<<ltrauma>><<lstress>>
<</if>>
<<famebusiness 1>>
<</widget>>

<<widget "eventsstall">>
<<set $rng to random(1, 10)>>
<<if $stall_rejected gte random(1, 200)>>
	<<if $rng is 1>>
		<<generate1>><<person1>>
		You hear movement behind you.
		<<if $worn.lower.type.includes("naked")>>
			<<if $worn.under_lower.type.includes("naked")>>
				Before you can turn, a pair of hands wrap around your waist and grope your <<genitals>>.
				<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>

				"I heard the owner of this stall was a slut," says a <<personsimple>>'s voice. "But I didn't expect <<phim>> to have nothing on down here." <<He>> continues to fondle you.

			<<else>>
				Before you can turn, a pair of hands wrap around your waist and grope your <<genitals>> through your $worn.under_lower.name.
				<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>

				"I heard the owner of this stall was a slut," says a <<personsimple>>'s voice. "But I didn't expect <<phim>> to be secretly wearing just underwear down here." <<He>> continues to fondle you.

			<</if>>
		<<else>>
			<<if $player.gender_appearance is "f">>
				Before you can turn, a pair of hands appear beneath your shoulders and grasp your <<breasts>>.
				<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>

				"Don't lie to me," says a <<personsimple>>'s voice. <<His>> hands wander down to your <<genitals>>. "You set this place up to draw attention to yourself. You want this." <<He>> continues to fondle you.

			<<else>>
				Before you can turn, a pair of hands appear beneath your shoulders and grasp your <<genitals>>.
				<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>

				"Don't lie to me," says a <<personsimple>>'s voice. "You set this place up to draw attention to yourself. You want this." <<He>> continues to fondle you.

			<</if>>
		<</if>>
		<<link [[Endure (0:05)|Stall Endure]]>><<pass 5>><<trauma 6>><<stress 6>><<arousal 600>><</link>><<gtrauma>><<gstress>><<garousal>>

		<<link [[Shove|Stall Shove]]>><<set $stall_rejected += 1>><<trauma -6>><</link>><<glewdity>><<ltrauma>>

	<<elseif $rng is 2>>
		<<generate1>><<person1>>
		You hear movement behind you. Before you can turn, a hand clasps around your mouth. "I've heard about you," the <<personsimple>> whispers. "Slut." <<He>> kicks your legs out from under you, forcing you to the ground.

		<<link [[Next|Stall Rape]]>><<set $molestationstart to 1>><</link>>

	<<elseif $rng is 3>>
		<<generate1>><<person1>>
		<<if $worn.upper.type.includes("naked") and $worn.over_upper.type.includes("naked")>>
			<<if $worn.under_upper.type.includes("naked")>>
				A <<person>> walks up to your stall, looking at your display. Without warning, <<he>> reaches across the table and gropes your <<breasts>> before running away.
				<<gtrauma>><<gstress>><<garousal>><<trauma 6>><<stress 6>><<arousal 600>>

			<<else>>
				<<set $worn.under_upper.integrity -= 20>>
				A <<person>> walks up to your stall, looking at your display. Without warning, <<he>> reaches across the table and grasps your $worn.under_upper.name.
				<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>
				<<integritycheck>><<exposure>>

				<<if $worn.under_upper.name is "naked">>
					<<He>> runs away, clutching the fabric in <<his>> hand. <<covered>>

				<<else>>
					<<He>> tugs it down, exposing your <<breasts>> before you're able to break <<his>> grip. <<He>> turns and runs.

				<</if>>
			<</if>>
		<<elseif !$worn.over_upper.type.includes("naked")>>
			<<set $worn.over_upper.integrity -= 20>>
			<<if $worn.under_upper.type.includes("naked") and $worn.upper.type.includes("naked")>>
				A <<person>> walks up to your stall, looking at your display. Without warning, <<he>> reaches across the table and grasps your $worn.over_upper.name.
				<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>
				<<integritycheck>><<exposure>>

				<<if $worn.over_upper.name is "naked">>
					<<He>> runs away, clutching the fabric in <<his>> hand. <<covered>>

				<<else>>
					<<He>> tugs it down, exposing your <<breasts>> before you're able to break <<his>> grip. <<He>> turns and runs.

				<</if>>
			<<else>>
				A <<person>> walks up to your stall, looking at your display. Without warning, <<he>> reaches across the table and grasps your $worn.over_upper.name.
				<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>
				<<integritycheck>><<exposure>>

				<<if $worn.over_upper.name is "naked">>
					<<He>> runs away, clutching the fabric in <<his>> hand. <<covered>>

				<<else>>
					<<He>> tugs it down, exposing your $worn.over_upper.name before you're able to break <<his>> grip. <<He>> turns and runs.

				<</if>>
			<</if>>
		<<else>>
			<<set $worn.upper.integrity -= 20>>
			<<if $worn.under_upper.type.includes("naked")>>
				A <<person>> walks up to your stall, looking at your display. Without warning, <<he>> reaches across the table and grasps your $worn.upper.name.
				<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>
				<<integritycheck>><<exposure>>

				<<if $worn.upper.name is "naked">>
					<<He>> runs away, clutching the fabric in <<his>> hand. <<covered>>

				<<else>>
					<<He>> tugs it down, exposing your <<breasts>> before you're able to break <<his>> grip. <<He>> turns and runs.

				<</if>>
			<<else>>
				A <<person>> walks up to your stall, looking at your display. Without warning, <<he>> reaches across the table and grasps your $worn.upper.name.
				<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>
				<<integritycheck>><<exposure>>

				<<if $worn.upper.name is "naked">>
					<<He>> runs away, clutching the fabric in <<his>> hand. <<covered>>

				<<else>>
					<<He>> tugs it down, exposing your $worn.under_upper.name before you're able to break <<his>> grip. <<He>> turns and runs.

				<</if>>
			<</if>>
		<</if>>
		<<stall_actions>>
	<<elseif $rng is 4>>
		<<generate1>><<person1>>
		You spot a <<person>> across the street holding a camera to <<his>> face. It looks like it's pointing at you. You feel uncomfortable.
		<<gstress>><<stress>>

		<<stall_actions>>
	<<elseif $rng is 5>>
		<<generate1>><<person1>>
		<<stall_init>><<set $enemyarousal += 20>><<set $enemytrust -= 20>>
		A <<person>> walks up to your display. <<He>> examines one of the <<print setup.plants[$stall_plant].plural>>. "How much for <<stall_amount>> of these?" <<he>> asks. <<He>> leers at you openly.

		<<stall_trust>>

		<<stall_sell_actions>>
	<<elseif $rng is 6>>
		<<generate1>><<person1>>
		<<stall_init>><<set $enemyarousal += 20>><<set $enemytrust -= 20>>
		A <<person>> walks up to your display. <<He>> lifts one of the <<print setup.plants[$stall_plant].plural>>. "How much for <<stall_amount>> of these?" <<he>> asks. "And don't try to sweet talk me. I've heard about you."

		<<stall_trust>>

		<<stall_sell_actions>>
	<<elseif $rng is 7>>
		<<generate1>><<person1>>
		<<stall_init>><<set $enemyarousal += 20>><<set $enemytrust -= 20>>
		You see a <<person>> watching you from afar. <<He>> walks over when your eyes meet. <<He>> stoops to examine one of the <<print setup.plants[$stall_plant].plural>>. "How much for <<stall_amount>> of these?" <<he>> asks.

		<<stall_trust>>

		<<stall_sell_actions>>
	<<elseif $rng is 8>>
		<<generate1>><<person1>>
		<<stall_init>><<set $enemyarousal += 20>><<set $enemytrust -= 20>>
		A <<person>> walks by, and stops in front of your stall. <<His>> eyes flicker over your face and chest as <<he>> picks up one of the <<print setup.plants[$stall_plant].plural>>. "How much for <<stall_amount>> of these?" <<he>> asks.

		<<stall_trust>>

		<<stall_sell_actions>>
	<<elseif $rng is 9>>
		<<generate1>><<person1>>
		<<stall_init>><<set $enemyarousal += 40>><<set $enemytrust -= 20>>
		A <<person>> swaggers up to your display. Without warning, <<he>> reaches forward and grasps your arm. <<He>> tugs you forward, until you're leaning over the table, then <<he>> leans in and licks your cheek.
		<<gtrauma>><<gstress>><<trauma 6>><<stress 6>>

		<<He>> releases you, then examines one of the <<print setup.plants[$stall_plant].plural>>. "How much for <<stall_amount>> of these?" <<he>> asks, leaning against the table.

		<<stall_trust>>

		<<stall_sell_actions>>
	<<else>>
		<<generate1>><<person1>>
		<<stall_init>><<set $enemyarousal += 20>><<set $enemytrust -= 20>>
		A <<person>> walks up to your display. <<He>> sniffs one of the <<print setup.plants[$stall_plant].plural>>. "How much for <<stall_amount>> of these?" <<he>> asks, leaning against the table.

		<<stall_trust>>

		<<stall_sell_actions>>
	<</if>>
<<elseif $rng is 1>>
	<<generate1>><<person1>>
	<<stall_init>>
	A <<person>> shuffles by, examining your produce with a keen look.

	<<link [[Talk|Stall Shuffle Talk]]>><</link>>

	<<link [[Remain silent|Stall Shuffle Silent]]>><</link>>

<<elseif $rng is 2>>
	<<generate1>><<person1>>
	<<stall_init>>
	A <<person>> walks by, casting a casual eye over your produce.

	<<link [[Talk|Stall Walk Talk]]>><</link>>

	<<link [[Remain silent|Stall Walk Silent]]>><</link>>
<<elseif $rng is 3>>
	<<generate1>><<person1>>
	<<stall_init>>
	A <<person>> walks up to your stand. <<He>> lifts a <<print $stall_plant.replace(/_/g," ")>>, and sniffs it.

	<<if $stall_amount gte 2>>
		"How much?" <<he>> asks, picking up several more until <<he>> carries <<stall_amount>> in <<his>> basket.
	<<else>>
		"How much for one?" <<he>> asks.
	<</if>>

	<<stall_trust>>

	<<stall_sell_actions>>
<<elseif $rng is 4>>
	<<generate1>><<person1>>
	<<stall_init>>
	A <<person>> walks over, holding <<his>> hands behind <<his>> back. "Aha," <<he>> says, spying a <<print $stall_plant.replace(/_/g," ")>>. <<He>> leans closer, and starts talking about it. <<He>> seems to know a lot.

	<<link [[Listen politely (0:10)|Stall Listen]]>><<set $enemytrust += 20>><</link>><<gtrust>>

	<<link [[Hurry them up|Stall Hurry]]>><<set $enemytrust -= 20>><</link>><<ltrust>>

	<<link [[Converse|Stall Converse]]>><</link>><<tendingdifficulty 1 400>>

<<elseif $rng is 5>>
	<<generate1>><<person1>>
	<<stall_init>>
	You see a <<person>> moving along the stalls. <<He>> stops at each one, no matter what they're selling, and chats with the owner. At last <<he>> arrives at yours.

	"Oho," <<he>> says, lifting a <<print $stall_plant.replace(/_/g," ")>>. "These are lovely. Do you produce them yourself?"

	<<link [[Answer honestly|Stall Honest]]>><<set $enemytrust += 20>><</link>><<gtrust>>

	<<link [[Answer evasively|Stall Evasive]]>><<set $enemytrust -= 20>><</link>><<ltrust>>

<<elseif $rng is 6>>
	<<generate1>><<person1>>
	<<stall_init>>
	<<set $enemyarousal += 20>>
	A <<person>> swaggers up and leans against the table. "Hey beautiful," <<he>> says. "Nice goods you got there." <<His>> eyes remain on you. <<He>> doesn't even glance at the display.

	<<link [[Encourage them to buy something|Stall Encourage]]>><</link>>

	<<link [[Flirt|Stall Flirt]]>><<set $enemytrust += 20>><<set $enemyarousal += 20>><</link>><<promiscuous1>><<gtrust>><<glust>>

	<<link [[Tell them to leave|Stall Leave]]>><</link>>

<<elseif $rng is 7>>
	<<generate1>><<person1>>
	<<stall_init>>
	A <<person>> stops in front of your stall. "Looking for something for the <<spouse>>," <<he>> says. <<He>> leans down and sniffs one of the <<print setup.plants[$stall_plant].plural>>. "How much for <<stall_amount>> of these?"

	<<stall_trust>>

	<<stall_sell_actions>>
<<elseif $rng is 8>>
	<<generate1>><<person1>>
	<<stall_init>>
	A <<person1>><<person>> snatches one of your <<print setup.plants[$stall_expensive].plural>> as <<he>> walks by, and breaks into a run.

	<<if $worn.lower.type.includes("naked")>>
		<<if $worn.under_lower.type.includes("naked")>>
			You almost forget yourself and chase after <<him>>, before remembering you're naked below your waist.

			<<if $exhibitionism gte 75>>
				<<link [[Chase anyway|Stall Chase Naked]]>><</link>><<exhibitionist5>><<athleticsdifficulty 1 1200>>

			<</if>>
		<<else>>
			You almost forget yourself and chase after <<him>>, before remembering you're wearing naught but underwear below your waist.

			<<if $exhibitionism gte 35>>
				<<link [[Chase anyway|Stall Chase Undies]]>><</link>><<exhibitionist3>><<athleticsdifficulty 1 1200>>

			<</if>>
		<</if>>
	<<else>>
		<<link [[Chase|Stall Chase]]>><</link>><<athleticsdifficulty 1 1200>>
	<</if>>

	<<link [[Let them go|Stall Go]]>><</link>>

<<elseif $rng is 9>>
	<<generate1>><<person1>>
	<<stall_init>>
	A <<person1>><<person>> loiters nearby.

	<<link [[Get their attention|Stall Attention]]>><</link>>

	<<link [[Ignore|Stall Ignore]]>><</link>>

<<else>>
	<<generate1>><<person1>>
	<<stall_init>>
	A <<person1>><<person>> is impressed by your <<print setup.plants[$stall_plant].plural>>. "How much for <<stall_amount>>?" <<he>> asks.

	<<stall_trust>>

	<<stall_sell_actions>>
<</if>>
<</widget>>

<<widget "stall_chance">>
Your attractiveness is giving you
<<if $attractiveness gte 5000>>
	an excellent
<<elseif $attractiveness gte 4000>>
	a great
<<elseif $attractiveness gte 3000>>
	a good
<<elseif $attractiveness gte 2000>>
	a decent
<<elseif $attractiveness gte 1000>>
	an okay
<<else>>
	a poor
<</if>>
chance to attract customers.
Your fame for business is contributing
<<if $famebusiness gte 1000>>
	a great deal,
<<elseif $famebusiness gte 800>>
	a lot,
<<elseif $famebusiness gte 600>>
	a decent amount,
<<elseif $famebusiness gte 400>>
	somewhat,
<<elseif $famebusiness gte 200>>
	a bit,
<<else>>
	little,
<</if>>
and your tending skill is contributing
<<if currentSkillValue('tending') gte 1200>>
	immensely.
<<elseif currentSkillValue('tending') gte 1000>>
	a great deal.
<<elseif currentSkillValue('tending') gte 800>>
	a lot.
<<elseif currentSkillValue('tending') gte 600>>
	a decent amount.
<<elseif currentSkillValue('tending') gte 400>>
	somewhat.
<<elseif currentSkillValue('tending') gte 200>>
	a bit.
<<else>>
	little.
<</if>>
<<if $plant_inventory.length gte 6>>
	You have an excellent variety on display.
<<elseif $plant_inventory.length gte 5>>
	You have a great variety on display.
<<elseif $plant_inventory.length gte 4>>
	You have a good variety on display.
<<elseif $plant_inventory.length gte 3>>
	You have an okay variety on display.
<<elseif $plant_inventory.length gte 2>>
	You have a poor variety on display.
<<elseif $plant_inventory.length is 1>>
	Only having one item for sale might hurt your chances.
<<else>>
	You're out of stock!
<</if>>
<<if $stall_rejected gte 100>>
	A lewd aura permeates the area. Groups of people openly leer at you from afar.
<<elseif $stall_rejected gte 60>>
	A lewd aura permeates the area. You think you see people watching you from afar, but they turn away when you look.
<<elseif $stall_rejected gte 30>>
	A lewd aura permeates the area. People cast strange looks in your direction now and then.
<<elseif $stall_rejected gte 10>>
	A lewd aura permeates the area.
<</if>>
<</widget>>

<<widget "stall_trust">>
<<He>> looks
<<if $enemytrust gte 50>>
	enraptured.
<<elseif $enemytrust gte 30>>
	eager.
<<elseif $enemytrust gte 10>>
	pleased.
<<elseif $enemytrust gte -10>>
	interested.
<<elseif $enemytrust gte -30>>
	annoyed.
<<else>>
	angry.
<</if>>
<<if $enemyarousal gte 20>>
<<He>> also looks
	<<if $enemyarousal gte 100>>
		lecherous.
	<<elseif $enemyarousal gte 80>>
		lustful.
	<<elseif $enemyarousal gte 60>>
		horny.
	<<elseif $enemyarousal gte 40>>
		aroused.
	<<else>>
		flirty.
	<</if>>
<</if>>
<</widget>>

<<widget "stall_sell_actions">>
<<link [[Ask for normal price|Stall Sell]]>><</link>> (<<printmoney `$stall_cost * $stall_amount`>>)

<<link [[Give a discount|Stall Sell]]>><<set $stall_cost *= 0.8>><<set $enemytrust += 20>><</link>> (<<printmoney `$stall_cost * $stall_amount * 0.8`>>) <<gtrust>>

<<link [[Ask for more than they're worth|Stall Sell]]>><<set $enemytrust -= 20>><<set $stall_cost *= 1.2>><</link>> (<<printmoney `$stall_cost * $stall_amount * 1.2`>>) <<ltrust>>

<<if $stall_plant isnot $stall_expensive and $stall_expensive isnot undefined>>
	<<link [[Push your most expensive stock|Stall Sell Push]]>><<set $stall_plant to $stall_expensive>><<set $enemytrust -= 20>><</link>><<ltrust>>

<</if>>
<</widget>>

<<widget "stall_sell_man">>
<<if $enemyarousal gte random(50, 150)>>
	The <<person1>><<person>> leans over the table and grasps your arm. "I've paid enough," <<he>> whispers. "Time for you to give up the actual goods."

	<<if $promiscuity gte 55>>
		<<link [[Offer oral|Stall Oral]]>><</link>><<promiscuous4>>

	<<else>>
		You aren't promiscuous enough to accept

	<</if>>
	<<link [[Pull away|Stall Pull]]>><</link>><<glewdity>>

<<elseif $enemytrust gte random(-50, 50)>>
	The <<person1>><<person>> gives in.
	<<stall_sell>>

	<<endstall>>
	<<stall_inventory>>

	<<if _inventory_found isnot 1>>
		With nothing to sell, there's little reason to attend your stall.

		<<link [[Leave|Connudatus Street]]>><<endevent>><<endstall>><<clotheson>><</link>>

	<<else>>

		<<He>> turns to walk away.

		<<stall_trust>>

		<<if $stall_seduced is 0>>
			<<link [[Reel them back with a flirt|Stall Seduce]]>><</link>><<promiscuous1>><<glust>>

		<<elseif $stall_seduced is 1>>
			<<link [[Reel them back by flaunting your body|Stall Seduce]]>><</link>><<exhibitionist1>><<glust>>

		<<elseif $stall_seduced is 2 and $promiscuity gte 15>>
			<<link [[Reel them back with a kiss|Stall Seduce]]>><</link>><<promiscuous2>><<glust>>

		<<elseif $stall_seduced gte 3 and $worn.lower.type.includes("naked")>>
			<<if $worn.under_lower.type.includes("naked") and $exhibitionism gte 35>>
				<<link [[Reel them back by revealing your lack of clothing|Stall Seduce]]>><</link>><<exhibitionist3>><<gglust>>

			<<elseif !$worn.under_lower.type.includes("naked") and $exhibitionism gte 15>>
				<<link [[Reel them back by revealing your lack of clothing|Stall Seduce]]>><</link>><<exhibitionist2>><<glust>>

			<</if>>
		<</if>>

		<<link [[Let them go (0:20)|Stall]]>><<endevent>><<endstall>><<pass 20>><</link>>

		<<link [[Leave your stall|Connudatus Street]]>><<endevent>><<endstall>><<set $eventskip to 1>><<clotheson>><</link>>

	<</if>>
<<elseif $enemytrust gte -50>>
	<<set $enemytrust -= 10>>
	The <<person1>><<person>> tries to haggle for a better price.

	<<stall_trust>>

	<<link [[Refuse to budge|Stall Sell]]>><</link>> (<<printmoney `$stall_cost * $stall_amount`>>)

	<<link [[Agree to lower price|Stall Sell]]>><<set $stall_cost *= 0.8>><<set $enemytrust += 20>><</link>> (<<printmoney `$stall_cost * $stall_amount * 0.8`>>) <<gtrust>>

	<<link [[Raise your price|Stall Sell]]>><<set $enemytrust -= 20>><<set $stall_cost *= 1.2>><</link>> (<<printmoney `$stall_cost * $stall_amount * 1.2`>>) <<ltrust>>

<<else>>
	The <<person1>><<person>> scoffs and walks away.

	<<stall_actions>>

<</if>>
<</widget>>

<<widget "stall_init">>
<<set $stall_plant to $plant_inventory.random()>>
<<if setup.plants[$stall_plant].special.includes("large")>>
	<<set $stall_amount to 1>>
<<else>>
	<<set $stall_amount to random(11, 30)>>
<</if>>
<<if $stall_amount gte $plants[$stall_plant].amount>>
	<<set $stall_amount to clone($plants[$stall_plant].amount)>>
<</if>>
<<set $enemytrust to 0>>
<<set $enemyarousal to 0>>
<<set $stall_seduced to 0>>
<<set $stall_cost to Math.round(clone(setup.plants[$stall_plant].plant_cost))>>
<</widget>>

<<widget "stall_amount">>
<<if $stall_amount is 1>>
	<<set _text_output to "one">>
<<elseif $stall_amount is 2 and random(1,5) is 1>>
	<<set _text_output to "a pair">>
<<elseif $stall_amount is 12 and random(1,5) is 1>>
	<<set _text_output to "a dozen">>
<<elseif $stall_amount is 13 and random(1,10) is 1>>
	<<set _text_output to "a baker's dozen">>
<<elseif $stall_amount is 20 and random(1,10) is 1>>
	<<set _text_output to "a score">>
<<elseif $stall_amount is 24 and random(1,10) is 1>>
	<<set _text_output to "two dozen">>
<<elseif $stall_amount is 36 and random(1,15) is 1>>
	<<set _text_output to "three dozen">>
<<elseif $stall_amount is 40 and random(1,20) is 1>>
	<<set _text_output to "two score">>
<<elseif $stall_amount is 48 and random(1,15) is 1>>
	<<set _text_output to "four dozen">>
<<elseif $stall_amount is 60 and random(1,20) is 1>>
	<<set _text_output to "three score">>
<<elseif $stall_amount is 60 and random(1,15) is 1>>
	<<set _text_output to "five dozen">>
<<elseif $stall_amount is 72 and random(1,10) is 1>>
	<<set _text_output to "six dozen">>
<<elseif $stall_amount is 80 and random(1,20) is 1>>
	<<set _text_output to "four score">>
<<elseif $stall_amount is 84 and random(1,20) is 1>>
	<<set _text_output to "seven dozen">>
<<elseif $stall_amount is 96 and random(1,20) is 1>>
	<<set _text_output to "eight dozen">>
<<elseif $stall_amount is 108 and random(1,20) is 1>>
	<<set _text_output to "nine dozen">>
<<elseif $stall_amount is 120 and random(1,20) is 1>>
	<<set _text_output to "ten dozen">>
<<elseif $stall_amount is 144 and random(1,5) is 1>>
	<<set _text_output to "a gross">>
<<else>>
	<<number $stall_amount silent>>
<</if>>
<<print _text_output>>
<</widget>>


code:
:: Museum Horse Agree
<<set $outside to 0>><<set $location to "museum">><<effects>>

You find Winter trying to balance a brass pot on a pedestal. <<npc Winter>><<person1>>

<<if $submissive gte 1150>>
"I-I'd like to help demonstrate the horse," you say.
<<elseif $submissive lte 850>>
"That won't fit on there," you say. "Anyway, I'd like to help demonstrate your wooden horse."
<<else>>
"I've thought about it," you say. "I'd like to help demonstrate the wooden horse."
<</if>>

Winter smiles. "I'm glad to hear it," <<he>> says. <<He>> places the pot in a surer spot and disappears into a back room.
When <<he>> emerges <<he>> holds a bundle of taut rags.

"This is the outfit." <<He>> holds the cloth out so you can see. They still just look like rags. You're not sure how you could wear them. Or how much they would cover.
"They're sturdier than they look. Get dressed and I'll get the camera. We'll need to advertise. A picture of you looking the part should suffice."

Winter disappears once more. You undress and wrap one rag around your waist, where it almost feels like a skirt.
The other you wrap around your chest. It's enough to cover your <<breasts>>.

<<He>> returns with the camera, and smiles. "Perfect. Try to look scared." <<He>> takes a picture, but then pauses.
"Would you mind sitting on the horse? We don't need to bother with the binds or anything, but I think that might work better."

You climb atop the wooden horse and ease yourself down. The hard wood pushes between your <<print ($player.ballsExist ? "testes" : "labia")>>.
You try to push your short, taut skirt between your legs for protection, but it's no use. You're not going to be able to sit on this properly without discomfort.

Winter takes a final picture. <<He>> seems satisfied. "Thank you. This should do the trick." <<He>> leaves you to get dressed.

<<endevent>>

<<link [[Next|Museum]]>><</link>>

:: Museum Duck Agree
<<effects>>

You find Winter trying to hook a brass pot onto a wall. <<npc Winter>><<person1>>

<<if $submissive gte 1150>>
	"I-I'd like to help," you say. "With the ducking stool."
<<elseif $submissive lte 850>>
	"It'll fall if you put it there," you say. "I'm here about the ducking stool. I'm in."
<<else>>
	"I've thought about it," you say. "I'd like to help demonstrate the ducking stool."
<</if>>

Winter smiles. "Excellent." <<He>> steadies the pot against the wall. "Come. Let me show you what's involved."

You follow Winter through the front door. "The museum will be fine without me for five minutes. This way." <<He>> leads you down a side road, and into the park.

<<link [[Next|Museum Duck Agree 2]]>><</link>>

:: Museum Duck Agree 2
<<set $outside to 1>><<set $location to "park">><<effects>>

<<generate2>><<generate3>>

You arrive at the river. Beside it sits a wooden crane. A taut rope connects the top to the wooden chair Winter showed you earlier.
A <<person2>><<person>> adjusts the rope, while a <<person3>><<person>> kneels beside its base.

"Just a few adjustments," the <<person>> says to Winter. "Then we'll be set."

<<person1>>
Winter claps <<his>> hands together and turns to you.
"Your role is to sit in the chair as it is dunked into the river. I'll operate the crane and talk the audience through the history of the device.

"You'll be tied down," <<he>> continues. "But we don't need to submerge you completely. Expect to get wet.
I have a suitable garment in mind, so you don't need to worry about that."

You return to the museum with Winter. <<He>> seems excited.

<<link [[Next|Museum]]>><<endevent>><</link>>

:: Museum Duck
<<set $outside to 1>><<set $location to "park">><<effects>>

<<npc Winter>><<person1>><<generate2>><<generate3>><<generate4>><<generate5>><<generate6>>

Winter leads you outside, down the small side road, and into the park. You hear voices up ahead as you approach the river.
Winter stops you beside the toilets, and pushes a bundle of rags into your hands. "We don't want to get your clothes wet. I'll look after them until you're done."

You enter the toilets and change into the rags. They're tight and revealing. You wonder how you look. You'll soon have an audience.
<<exhibitionism1>>
<<undress "museum">>
<<upperwear 79>>
<<lowerwear 71>>
You step outside and hand your clothes to Winter. "Very good," <<he>> says. "One more thing. I don't want you to feel any pressure to accept, but I have a suggestion."
<<He>> rummages in <<his>> jacket pocket.

<<link [[Next|Museum Duck 2]]>><</link>>

:: Museum Duck 2
<<effects>>

<<if pregnancyBellyVisible()>>
	"The demonstration would be more authentic if I could submerge you completely," Winter says after taking a look at your belly.
	"But we should play it safe, wouldn't want to hurt the child or scare those watching."

	<<link [[Next|Museum Duck Light]]>><<bind>><<npcincr Winter love 1>><</link>><<glove>>

<<else>>
	"The demonstration will be more authentic if I submerge you completely," Winter says, producing a small device dominated by a green button.
	"I'll give you this waterproof buzzer, which will notify me the instant you want the demonstration to stop." <<He>> presses the button, and <<his>> pocket vibrates.
	"You'll be underwater, and this will be your only way to communicate with me."

	"Again, I must stress that you should feel no pressure to accept," <<he>> adds. "It would help sell the scene and drum up interest, but I know I'm asking a lot."

	<<link [[Accept|Museum Duck Extreme]]>><<bind>><<npcincr Winter love 3>><</link>><<swimmingdifficulty 1 400>><<gglove>><<ltrauma>>

	<<link [[Refuse|Museum Duck Light]]>><<bind>><<npcincr Winter love 1>><</link>><<glove>>

<</if>>

:: Museum Duck Extreme
<<effects>>

Winter nods, and hands you the green buzzer. <<He>> stands on <<his>> toes to peer above a hedge. "Everyone's ready," <<he>> says. "We've got a crowd waiting. Come."

You follow Winter around the hedge. There's a large crowd, maybe a hundred people, stood around the ducking stool. They look at Winter, and at you, eager to begin.

"Ladies and gentlemen," Winter begins, gesturing for you to take a seat. "Today we are here to witness the punishment of this rapscallion."
<<He>> pulls the straps over you, and binds you down tight. "A con artist, who swindled many good citizens. Now <<pshe>> faces justice."

Winter walks to the other end of the crane, and lifts you into the air.
<<He>> continues to talk about the ducking stool as <<he>> pushes you over the river. The water rushes beneath you.

<<link [[Next|Museum Duck Extreme 2]]>><</link>>

:: Museum Duck Extreme 2
<<effects>>
<<wash>>
Winter pulls a lever, and you descend toward the water below. It splashes against your feet, then your legs, then up to your abdomen and chest.
It's cold. You wonder how long the demonstration will last.

"Such a punishment was not usually fatal," Winter says, pulling the lever in the other direction. You begin to rise. "Public humiliation was the primary goal."
The audience murmur amongst themselves. With a flash of panic, you look down to make sure the rags have not soaked to transparency.
Before you can get a good look, Winter plunges you into the river once more, this time up to your neck.

With a final push of the lever, the chair lowers the rest of the way, submerging you.

<<link [[Next|Museum Duck Extreme 3]]>><</link>>

:: Museum Duck Extreme 3
<<effects>><<rngWraith 1>>

<<if $swimmingSuccess>>

	You hold your breath as best you can as the water rushes above and around you. You manage to remain calm until you feel the chair rise again.
	You seize a sharp breath as your head breaks the surface. You blink away the water, and glimpse the audience. Some look impressed. Others leer at you.

	You glance down, and are relieved to find the rags are not transparent. They cling though, and give an uncomfortable hint of what lies beneath.

	"For some criminals," Winter says to the audience. "One dunk was not enough." <<He>> pulls the lever, and the chair descends once more.
	"At times a second, longer-" <<His>> voice cuts off as you disappear beneath the water.

	<<link [[Hold your breath|Museum Duck Extreme 4]]>><<set $phase to 0>><</link>><<swimmingdifficulty 300 1000>>

	<<link [[Press the buzzer|Museum Duck Extreme 4]]>><<set $phase to 1>><</link>>

<<elseif $wraith and $wraith.state is "haunt" and _wraithEvent>>

	You hold your breath as best you can, but you soon feel panic build within you. What if something has gone wrong? You press the buzzer.

	Your fingers stop short. You try to clench your hand, but you can't. A pale hand forms around yours, as a translucent figure materialises in front of you with a manic grin. <<takeHandholdingVirginity "Ivory Wraith" "rape">>

	"Drown."
	You struggle against it, trying desperately to press the buzzer. Its other hand grabs your neck, and it starts to drag you down with the chair. You hear the crane above you creak and groan from the stress.

	You feel yourself sharply hoisted upwards. Your head breaks the water, and you seize a sharp breath. You look into the water, but there's no sign of the figure. Your hands are tightly gripping the buzzer. You hear someone clap. Others join in.

	Winter rushes over to steady the chair and unbind you. "That ends our demonstration," <<he>> says.
	"Thank you for attending. We hope you found it informative, and we invite you to visit the museum. The address is on the booklets we handed out. It's right over there."
	<<He>> points. "Last but not least, let's have a round of applause for our star." <<He>> gestures at you. More join the applause, their eyes exploring your wet body.

	Winter wraps a heated towel around you, and then a second, for the journey back to the museum. "You did well," <<he>> says on the way back.
	"I'm blessed to have your assistance. Thank you. I'd like to repeat the demonstration next weekend if it suits you."
	<<He>> glances back. Much of the audience is following. "I think we've earned some new interest."

	You arrive at the museum. <<He>> takes you to a small side room, and leaves you to get dressed.

	That was terrifying, yet you feel a strong catharsis.<<trauma -6>>

	<<endevent>>
	<<set $museuminterest += 20>>
	<<link [[Next|Museum]]>><<unbind>><<upperruined>><<lowerruined>><<storeon "museum">><</link>>

<<else>>

	You hold your breath as best you can, but you soon feel panic build within you. What if something has gone wrong? You press the buzzer.

	Your head breaks the water, and you seize a sharp breath. The chair continues to rise, then move back over the earth, before descending.
	You hear someone clap. Others join in.

	Winter rushes over to steady the chair and unbind you. "That ends our demonstration," <<he>> says.
	"Thank you for attending. We hope you found it informative, and we invite you to visit the museum. The address is on the booklets we handed out. It's right over there."
	<<He>> points. "Last but not least, let's have a round of applause for our star." <<He>> gestures at you. More join the applause, their eyes exploring your wet body.

	Winter wraps a heated towel around you, and then a second, for the journey back to the museum. "You did well," <<he>> says on the way back.
	"I'm blessed to have your assistance. Thank you. I'd like to repeat the demonstration next weekend if it suits you."
	<<He>> glances back. Much of the audience is following. "I think we've earned some new interest."

	You arrive at the museum. <<He>> takes you to a small side room, and leaves you to get dressed.

	That was terrifying. The figure's voice echoes between your ears.

	<<endevent>>
	<<set $museuminterest += 20>>
	<<link [[Next|Museum]]>><<unbind>><<upperruined>><<lowerruined>><<storeon "museum">><</link>>

<</if>>

:: Museum Duck Extreme 4
<<effects>>

<<if $swimmingSuccess and $phase isnot 1>>

	You hold your breath. The water seems more gentle at this depth. Green plants reach from the riverbed, stretching toward the sun. You remain calm.

	The chair rises once more. You seize another sharp breath and blink away the water.
	Some of the audience look shocked at the display, as if it were more real than they were expecting.

	Winter looks unsure <<himself>>. <<He>> talks to the audience in <<his>> usual dry manner, but looks at you with concern.

	<<link [[Encourage|Museum Duck Extreme 5]]>><</link>><<swimmingdifficulty 600 1400>>

	<<link [[Shake your head|Museum Duck Extreme End]]>><</link>>

<<elseif $wraith and $wraith.state is "haunt" and _wraithEvent>>

	You hold your breath as best you can, but you soon feel panic build within you. What if something has gone wrong? You press the buzzer.

	Your fingers stop short. You try to clench your hand, but you can't. A pale hand forms around yours, as a translucent figure materialises in front of you with a manic grin. <<takeHandholdingVirginity "Ivory Wraith" "rape">>

	"Drown."
	You struggle against it, trying desperately to press the buzzer. Its other hand grabs your neck, and it starts to drag you down with the chair. You hear the crane above you creak and groan from the stress.

	You feel yourself sharply hoisted upwards. Your head breaks the water, and you seize a sharp breath. You look into the water, but there's no sign of the figure. Your hands are tightly gripping the buzzer. You hear someone clap. Others join in.

	Winter rushes over to steady the chair and unbind you. "That ends our demonstration," <<he>> says.
	"Thank you for attending. We hope you found it informative, and we invite you to visit the museum. The address is on the booklets we handed out. It's right over there."
	<<He>> points. "Last but not least, let's have a round of applause for our star." <<He>> gestures at you. More join the applause, their eyes exploring your wet body.

	Winter wraps a heated towel around you, and then a second, for the journey back to the museum. "You did well," <<he>> says on the way back.
	"I'm blessed to have your assistance. Thank you. I'd like to repeat the demonstration next weekend if it suits you."
	<<He>> glances back. Much of the audience is following. "I think we've earned some new interest."

	You arrive at the museum. <<He>> takes you to a small side room, and leaves you to get dressed.

	That was terrifying. The figure's voice echoes between your ears.

	<<endevent>>
	<<set $museuminterest += 30>>
	<<link [[Next|Museum]]>><<unbind>><<upperruined>><<lowerruined>><<storeon "museum">><</link>>

<<else>>

	You hold your breath as best you can, but you soon feel panic build within you. What if something has gone wrong? You press the buzzer.

	Your head breaks the water, and you seize a sharp breath. The chair continues to rise, then move back over the earth, before descending.
	You hear someone clap. Others join in.

	Winter rushes over to steady the chair and unbind you. "That ends our demonstration," <<he>> says.
	"Thank you for attending. We hope you found it informative, and we invite you to visit the museum. The address is on the booklets we handed out. It's right over there."
	<<He>> points. "Last but not least, let's have a round of applause for our star." <<He>> gestures at you. More join the applause, their eyes exploring your wet body.

	Winter wraps a heated towel around you, and then a second, for the journey back to the museum. "You did well," <<he>> says on the way back.
	"I'm blessed to have your assistance. Thank you. I'd like to repeat the demonstration next weekend if it suits you."
	<<He>> glances back. Much of the audience is following. "I think we've earned some new interest."

	You arrive at the museum. <<He>> takes you to a small side room, and leaves you to get dressed.

	That was terrifying, yet you feel a strong catharsis.<<trauma -12>>

	<<endevent>>
	<<set $museuminterest += 30>>
	<<link [[Next|Museum]]>><<unbind>><<upperruined>><<lowerruined>><<storeon "museum">><</link>>

<</if>>

:: Museum Duck Extreme 5
<<effects>>

You are plunged once more into the cold water.
<<if $swimmingSuccess>>
	You hold your breath,  and manage to remain calm. You hear muffled but excited voices above the water.

	<<earnFeat "Submerged">>
	<<if $museumAntiques.antiques.antiquesilvermask isnot "found" and $museumAntiques.antiques.antiquesilvermask isnot "talk" and $museumAntiques.antiques.antiquesilvermask isnot "museum">>
		Something glints in the riverbed, poking from the silt beside your feet.
		You nudge it free. A metal mask stares up at you, its face contorted into a sinister smile.
		It's tarnished, but silver glimmers through in places.

		You feel the chair lurch into movement once more. You grab the mask between your feet as you rise.

		The applause can be heard even before you break the surface. You seize a sharp breath and blink away the water. The audience look impressed.

		<<link [[Next|Museum Duck Extreme Antique]]>><</link>>

	<<else>>
		A small fish swims by.

		Even in your calm state you feel your breath running out, but then you feel the chair lurch into movement once more.
		The applause can be heard before you even break the surface. You seize a sharp breath and blink away the water. The audience look impressed.

		Winter rushes over once your feet touch the earth. <<He>> steadies the chair and removes the straps binding you.
		"That ends our demonstration," <<he>> says.
		"Thank you for attending. We hope you found it informative, and we invite you to visit the museum. The address is on the booklets we handed out. It's right over there."
		<<He>> points. "Last but not least, let's have a round of applause for our star." <<He>> gestures at you.
		The applause becomes deafening. Heads turn around the park, perplexed at the celebration.

		Winter wraps a heated towel around you, and then a second, for the journey back to the museum. "You did very well," <<he>> says on the way back.
		"I'm blessed to have your assistance, truly. Thank you. I was almost afraid I'd gone too far, but I'd like to repeat the demonstration next weekend if it suits you."
		<<He>> glances back. Most of the audience is following. "I think we've earned some new interest."

		You arrive at the museum. <<He>> takes you to a small side room, and leaves you to get dressed.

		That was terrifying, yet you feel a strong catharsis.<<trauma -24>>

		<<endevent>>
		<<set $museuminterest += 50>>
		<<link [[Next|Museum]]>><<unbind>><<upperruined>><<lowerruined>><<storeon "museum">><</link>>

	<</if>>
<<else>>
	You hold your breath as best you can, but you soon feel panic build within you. What if something has gone wrong? You press the buzzer.

	Your head breaks the water, and you seize a sharp breath. The chair continues to rise, then move back over the earth, before descending.
	Despite the premature end, the applause is energetic.

	Winter rushes over to steady the chair and unbind you. "That ends our demonstration," <<he>> says.
	"Thank you for attending. We hope you found it informative, and we invite you to visit the museum. The address is on the booklets we handed out. It's right over there."
	<<He>> points. "Last but not least, let's have a round of applause for our star." <<He>> gestures at you. The applause renews, punctuated by the occasional cheer.
	Heads turn around the park, perplexed at the celebration.

	Winter wraps a heated towel around you, and then a second, for the journey back to the museum. "You did well," <<he>> says on the way back.
	"I'm blessed to have your assistance. Thank you. I'd like to repeat the demonstration next weekend if it suits you."
	<<He>> glances back. Much of the audience is following. "I think we've earned some new interest."

	You arrive at the museum. <<He>> takes you to a small side room, and leaves you to get dressed.

	That was terrifying, yet you feel a strong catharsis.<<trauma -24>>

	<<endevent>>
	<<set $museuminterest += 50>>
	<<link [[Next|Museum]]>><<unbind>><<upperruined>><<lowerruined>><<storeon "museum">><</link>>

<</if>>

:: Museum Duck Extreme Antique
<<effects>>

Winter rushes over once your feet touch the earth. <<He>> steadies the chair and removes the straps binding you. "That ends our demonstration," <<he>> says.
"Thank you for attending. We hope you found it informative, and we invite you to visit the museum. The address is on the booklets we handed out. It's right over there."
<<He>> points. "Last but not least, let's have a round of applause for our star." <<He>> gestures at you. The applause becomes deafening.
Heads turn around the park, perplexed at the celebration.

<<link [[Next|Museum Duck Extreme Antique 2]]>><</link>>

:: Museum Duck Extreme Antique 2
<<effects>>

Winter wraps a heated towel around you, and then a second, for the journey back to the museum. It's only then that <<he>> notices the mask. "Where did you find that?"

<<if $submissive gte 1150>>
	"I-It was at the bottom of the river," you say. The mask's expression is neutral. You thought it was smiling earlier.
	It was hard to make out underwater. "I hope I didn't do anything wrong by taking it. I didn't think at the time."
<<elseif $submissive lte 850>>
	"It was on the river bed," you say. The mask's expression is neutral. You thought it was smiling earlier.
	It was hard to make out underwater. "Finders keepers."
<<else>>
	"It was buried in the riverbed," you say. The mask's expression is neutral. You thought it was smiling earlier.
	It was hard to make out underwater. "I pulled it up with my feet."
<</if>>

"Is that silver?" Winter asks. "I knew you had a knack for this, but you seem to find valuables wherever you go.
It looks valuable. I'd be willing to take it off your hands, but let's get you warmed up first."

Winter looks over <<his>> shoulder. Most of the crowd is following. "I think we've earned some new interest."

<<set $antiquemoney += 3000>><<museumAntiqueStatus "antiquesilvermask" "found">>
You arrive at the museum. <<He>> takes you to a small side room, and leaves you to get dressed.

That was terrifying, yet you feel a strong catharsis.<<trauma -24>>

<<endevent>>
<<set $museuminterest += 50>>
<<link [[Next|Museum]]>><<unbind>><<upperruined>><<lowerruined>><<storeon "museum">><</link>>

:: Museum Duck Extreme End
<<effects>>

Winter leans hard on the lever, and pulls you back over the earth. <<He>> rushes over to steady the chair and unbind you as applause erupts around <<him>>.

"That ends our demonstration," <<he>> says. "Thank you for attending. We hope you found it informative, and we invite you to visit the museum.
The address is on the booklets we handed out. It's right over there." <<He>> points. "Last but not least, let's have another round of applause for our star."
<<He>> gestures at you. The applause renews, though you feel eyes exploring your wet body.

Winter wraps a heated towel around you, and then a second, for the journey back to the museum. "You did well," <<he>> says on the way back.
"I'm blessed to have your assistance. Thank you. I'd like to repeat the demonstration next weekend if it suits you." <<He>> glances back.
Much of the audience is following. "I think we've earned some new interest."

You arrive at the museum. <<He>> takes you to a small side room, and leaves you to get dressed.

That was terrifying, yet you feel a strong catharsis.<<trauma -18>>

<<endevent>>
<<set $museuminterest += 40>>
<<link [[Next|Museum]]>><<unbind>><<upperruined>><<lowerruined>><<storeon "museum">><</link>>

:: Museum Duck Light
<<effects>>

Winter nods, and stands on <<his>> toes to peer above a hedge. "Everyone's ready," <<he>> says. "We've got a crowd waiting. Come."

You follow Winter around the hedge. There's a large crowd, maybe a hundred people, stood around the ducking stool. They look at Winter, and at you, eager to begin.

"Ladies and gentlemen," Winter begins, gesturing for you to take a seat. "Today we are here to witness the punishment of this rapscallion."
<<He>> pulls the straps over you, and binds you down tight. "A con artist, who swindled many good citizens. Now <<pshe>> faces justice."

Winter walks to the other end of the crane, and lifts you into the air. <<He>> continues to talk about the ducking stool as <<he>> pushes you over the river.
The water rushes beneath you.

<<link [[Next|Museum Duck Light 2]]>><</link>>

:: Museum Duck Light 2
<<effects>>
<<wash>>
Winter pulls a lever, and you descend toward the water below. It splashes against your feet, then your legs, then up to your abdomen and chest. It's cold.
You wonder how long the demonstration will last.

"Such a punishment was not usually fatal," Winter says, pulling the lever in the other direction. You begin to rise. "Public humiliation was the primary goal."
The audience murmur amongst themselves. With a flash of panic, you look down to make sure the rags have not soaked to transparency.
Before you can get a good look, Winter plunges you into the river once more, this time up to your neck.

You point your face up to avoid the water, but Winter doesn't keep you there long.
You look down at your body as the chair rises, and are relieved to find that the rags are not transparent.
They do cling though, giving a hint of what lies beneath. Enough to make you uncomfortable.

<<link [[Next|Museum Duck Light 3]]>><</link>>

:: Museum Duck Light 3
<<effects>>

Winter pulls the crane back round, until you hover above the earth. <<He>> lowers you to the ground, then rushes over to steady the chair and unbind you.

"That ends our demonstration. Thank you for attending. We hope you found it informative, and we invite you to visit the museum.
The address is on the booklets we handed out. It's right over there." <<He>> points. "Last but not least, let's have a round of applause for our star."
<<He>> gestures at you. The audience applaud politely, their eyes exploring your wet body.

Winter wraps a heated towel around you, and then a second, for the journey back to the museum. "You did well," <<he>> says on the way back.
"I'm blessed to have your assistance. Thank you. I'd like to repeat the demonstration next weekend if it suits you."
<<He>> glances back. Much of the audience is following. "I think we've earned some new interest."

You arrive at the museum. <<He>> takes you to a small side room, and leaves you to get dressed.

<<endevent>>
<<set $museuminterest += 20>>
<<link [[Next|Museum]]>><<unbind>><<upperruined>><<lowerruined>><<storeon "museum">><</link>>

:: Museum Horse
<<set $outside to 0>><<set $location to "museum">><<effects>>

<<npc Winter>><<person1>><<generate2>><<generate3>><<generate4>><<generate5>><<generate6>>

Winter shows you to a small room. "You can get changed in here," <<he>> says. <<Hes>> smiling.
"Forgive me. I can't wait to see the horse in use." <<He>> leaves to prepare the device.

<<undress "museum">>
<<upperwear 79>>
<<lowerwear 71>>

You wear the rags, as taut and revealing as you remember. You wonder how you look. You'll soon have an audience.
<<exhibitionism1>>

<<if pregnancyBellyVisible()>>
	Winter returns. <<He>> holds something at <<his>> side. "Perfect." <<He>> pauses, looking at your belly.
	"I was going to suggest something, but it'd probably be best to avoid anything extreme while you're with child."
	<<He>> puts what looks like a whip to the back of the room. "Don't want to scare those watching."

	<<link [[Next|Museum Horse Light]]>><<bind>><<npcincr Winter love 1>><</link>><<glove>>
<<else>>
	Winter returns. <<He>> holds something at <<his>> side. "Perfect." <<He>> pauses. "I'd like to propose something. I don't want you to feel pressured."
	<<He>> holds the object out in front of you. It's a whip.
	"There are degrees of authenticity. If it's okay with you, I'd like to weigh you down as they would have in the past. And whip you. Not too hard, but enough to impress."

	<<link [[Accept|Museum Horse Safe Word]]>><<bind>><<npcincr Winter love 3>><</link>><<gpain>><<garousal>><<ggwillpower>><<gglove>><<ltrauma>>

	<<link [[Refuse|Museum Horse Light]]>><<bind>><<npcincr Winter love 1>><</link>><<glove>>
<</if>>

:: Museum Horse Safe Word
<<set $outside to 0>><<set $location to "museum">><<effects>>

"I know I'm asking a lot," <<he>> says. "I appreciate it, and the audience will too. We'll need a safe word.
So if I push things to a point you're uncomfortable with, you can let me know."

What should your safe word be? <<if $wintersafeword is "" or $wintersafeword is undefined>><<set $wintersafeword to "Marshmallow">><</if>>
<<textbox "$wintersafeword" $wintersafeword>>

<<link [[Next|Museum Horse Extreme]]>>
	<<if $wintersafeword is "" or $wintersafeword is undefined>><<set $wintersafeword to "Marshmallow">><</if>>
	<<set $wintersafeword to $wintersafeword.replace(/[^a-zA-Z 0-9,.!()£]+/g,"")>>
<</link>>

:: Museum Horse Extreme
<<set $outside to 0>><<set $location to "museum">><<effects>>

Winter nods. <<He>> peeks around the door. "Everyone's in. It's time. Wait for your cue." <<He>> returns to the museum proper.

"Ladies and gentlemen," Winter begins. <<He>> stands on a raised platform beside the horse, addressing an audience of around fifty people.
"Our town has a rich history. Of great deeds and heroism yes, but also of tragedy and brutality. Take this <<girl>>,"
<<He>> gestures at the door, and you <<nervously>> emerge into the museum. A <<person2>><<person>> stands closest to you. <<He>> licks <<his>> lips.

<<person1>>"Caught stealing bread for <<pher>> starving sibling," Winter continues. "<<pShe>> must now face the lord's justice."
You climb atop the horse and ease yourself down. You feel it press into your crotch like before.
<<masopain 5>><<arousal 1200>>

Winter continues <<his>> speech, talking about the specifics of the horse. And how it was used. <<He>> steps behind you while doing so, and begins to tie your arms.
<<He>> works fast, and before long your arms are bound and immobile.

The audience is enraptured by the spectacle. You feel their eyes on your barely-covered <<genitals>>. "Of course, humiliation was part of the punishment."
<<He>> throws open a chest at <<his>> feet, and reaches in. <<He>> pulls out a metal weight. You see straps dangling from it before <<he>> kneels beside you.
<<He>> ties one to your ankle, and gently releases it. It was uncomfortable before, but now it hurts.
<<He>> walks around the horse and repeats the process. Your eyes water.
<<masopain 20>>

<<He>> steps away from the horse, and glances at you. <<He>> looks unsure.

<<link [[Try to reassure|Museum Horse Extreme 2]]>><<set $phase to 0>><</link>>

<<link [[Safe word|Museum Horse Extreme 2]]>><<set $phase to 1>><</link>>

:: Museum Horse Extreme 2
<<set $outside to 0>><<set $location to "museum">><<effects>>

<<if ($willpower / 10) gte (($pain - 100) + random(1, 100)) and $phase isnot 1>>
You grit your teeth and bear it. "I didn't do anything wrong!" you shout through tears. "The lord is a tyrant!"
<<gwillpower>><<willpower 3>>

<<masopain 20>>
Winter smiles. "It wouldn't always end there," <<he>> says. "The particularly dastardly had yet more in store for them."
<<He>> lifts <<his>> whip and holds it in front of the audience. Then, without a word, <<he>> steps behind you.

You scream as the whip lashes against your skin. Again and again. The audience gapes at the spectacle.

<<link [[Endure|Museum Horse Extreme 3]]>><<set $phase to 0>><</link>>

<<link [[Safe word|Museum Horse Extreme 3]]>><<set $phase to 1>><</link>>

<<else>>
The pain is too much for you. "$wintersafeword!" you shout."
<<ggwillpower>><<willpower 10>>

It only takes Winter a moment to remove the straps tying the weights to your legs. <<He>> helps you off the horse and holds your hand for a moment.
Once sure you're okay, <<he>> turns to the audience.
<<takeHandholdingVirginity "Winter">>

"That ends our demonstration. Thank you for attending. We hope you found it informative, and we invite you to appreciate the many other antiques we have on display.
Last but not least, let's have a round of applause for our star." <<He>> gestures at you. The audience applaud politely, though many look like they wish it had gone further.

"You did very well," Winter says once you're back in the small room.
"I'm blessed to have your assistance. Thank you. I'd like to hold another demonstration next weekend if it suits you."
<<He>> peeks around the door. "I think we've earned some new interest." <<He>> leaves you to get dressed.

Despite the pain, you feel a strong catharsis.<<trauma -12>>

<<endevent>><<unbind>>
<<set $museuminterest += 30>>
<<link [[Next|Museum]]>><<upperruined>><<lowerruined>><<storeon "museum">><</link>>

<</if>>

:: Museum Horse Extreme 3
<<set $outside to 0>><<set $location to "museum">><<effects>>

<<if ($willpower / 10) gte (($pain - 100) + random(1, 100)) and $phase isnot 1>>
You grit your teeth and bear it. "It hurts!" you shout through tears. "It hurts so much!"
<<gwillpower>><<willpower 3>>

<<masopain 5>>
Winter doesn't stop. Again and again <<he>> lashes at your flesh. Some of the audience look disturbed, others shocked, and some are clearly enjoying it.

You feel like you're about to pass out, but then Winter stops. <<He>> walks in front of you, panting. "That ends our demonstration," <<he>> says.
"Thank you for attending. We hope you found it informative, and we invite you to appreciate the many other antiques we have on display.
Last but not least, let's have a round of applause for our star." <<He>> gestures at you. The audience applaud. Some are crying themselves.

"You did very well," Winter says once you're back in the small room. "Let me see your back." You turn and feel <<him>> trace a finger over you skin.
"I'm blessed to have your assistance," <<he>> says as <<he>> applies something soothing. "Thank you. I'd like to hold another demonstration next weekend if it suits you."
<<He>> peeks around the door. "I think we've earned some new interest." <<He>> leaves you to get dressed.

Despite the pain, you feel a strong catharsis.<<trauma -24>>

<<endevent>><<unbind>>
<<set $museuminterest += 50>>
<<earnFeat "Pain Rider">>
<<link [[Next|Museum]]>><<upperruined>><<lowerruined>><<storeon "museum">><</link>>

<<else>>
The pain is too much for you. "$wintersafeword!" you shout."
<<ggwillpower>><<willpower 10>>

Winter ceases the assault. It only takes <<him>> a moment to remove the straps tying the weights to your legs.
 <<He>> helps you off the horse and holds your hand for a moment. Once sure you're okay, <<he>> turns to the audience.
 <<takeHandholdingVirginity "Winter">>

"That ends our demonstration. Thank you for attending. We hope you found it informative, and we invite you to appreciate the many other antiques we have on display.
Last but not least, let's have a round of applause for our star."
<<He>> gestures at you. The audience applaud politely, though some look like they wish it had gone further.

"You did very well," Winter says once you're back in the small room.
"I'm blessed to have your assistance. Thank you. I'd like to hold another demonstration next weekend if it suits you."
<<He>> peeks around the door. "I think we've earned some new interest." <<He>> leaves you to get dressed.

Despite the pain, you feel a strong catharsis.<<trauma -18>>

<<endevent>><<unbind>>
<<set $museuminterest += 40>>
<<link [[Next|Museum]]>><<upperruined>><<lowerruined>><<storeon "museum">><</link>>

<</if>>

:: Museum Horse Light
<<set $outside to 0>><<set $location to "museum">><<effects>>

Winter nods. <<He>> peeks around the door. "Everyone's in. It's time. Wait for you cue." <<He>> returns to the museum proper.

"Ladies and gentlemen," Winter begins. <<He>> stands on a raised platform beside the horse, addressing an audience of around fifty people.
"Our town has a rich history. Of great deeds and heroism yes, but also of tragedy and brutality. Take this <<girl>>,"
<<He>> gestures at the door, and you <<nervously>> emerge into the museum. A <<person2>><<person>> stands closest to you. <<He>> licks <<his>> lips.

<<person1>>"Caught stealing bread for <<pher>> starving sibling," Winter continues. "<<pShe>> must now face the lord's justice."
You climb atop the horse and ease yourself down. You feel it press into your crotch like before.
<<masopain 5>><<arousal 1200>>

Winter continues <<his>> speech, talking about the specifics of the horse. And how it was used.
<<He>> steps behind you while doing so, and begins to tie your arms. <<He>> works fast, and before long your arms are bound and immobile.

The audience is enraptured by the spectacle. You feel their eyes on your barely-covered <<genitals>>.
"Of course, humiliation was part of the punishment. They would often have an audience, much like this.
And when it was over, the victim would be given to the audience to do with as they please."
A <<person3>><<persons>> eyes light up and <<he>> steps forward, but Winter blocks <<his>> path.
<<person1>>

"That ends our demonstration. Thank you for attending. We hope you found it informative, and we invite you to appreciate the many other antiques we have on display.
Last but not least, let's have a round of applause for our star."
<<He>> gestures at you. The audience applaud politely, though many look like they wish it had gone further.

"You did very well," Winter says once you're back in the small room.
"I'm blessed to have your assistance. Thank you. I'd like to hold another demonstration next weekend if it suits you."
<<He>> peeks around the door. "I think we've earned some new interest." <<He>> leaves you to get dressed.

<<endevent>>
<<set $museuminterest += 20>>
<<link [[Next|Museum]]>><<unbind>><<upperruined>><<lowerruined>><<storeon "museum">><</link>>

repo_name: Area/degrees

license: mit