:: danceclass
<<set $here = 'danceclass'>>
<<set $ARGS = $location_var[$here]>>
<<set $menu_off = 1>>
<<set $time.minutes += 5>>

<h2>Dance Studio</h2>
<<image "locations/city/citycenter/gym/dance/danceclass.jpg">>
A big, open room with good lighting and huge mirrors, perfect for improving your dance skills.
<<if $pc.pcs_energy >= 10 and $pc.pcs_stam >= $pc.stammax / 5>>
	<<actCLA 'Modern dance class (0:30)'>>
		<<gs 'exercise' 'tier2' 30 'agil' 'stren' 'danc'>>
		<<set $abonement -= 1>>
		<<if $pc.pcs_inhib < 40>>
			<<run $pc.skillExperienceGain('inhibition',rand(1,2))>>

		<</if>>
		<<image "locations/city/citycenter/gym/dance/moderndance.jpg">>
		<<if $pc.skillLevel("dance") < 100>>
			You study modern dance, which is very popular in the clubs.

		<</if>>
		<<if $pc.skillLevel("dance") >= 100>>
			The day has finally come, you've been working hard, and you realize that you've learned everything you can from this class.

		<</if>>
		<<act 'Leave'>>
			<<gt 'fit' 'dressing_room'>>
		<</act>>
	<</actCLA>>
	<<actCLA 'Burlesque class (0:30)'>>
		<<gs 'exercise' 'tier2' 0 'agil' 'stren' 'danc' 'dancero'>>
		<<set $abonement -= 1>>
		<<if $pc.pcs_inhib < 60>>
			<<run $pc.skillExperienceGain('inhibition',rand(1,2))>>

		<</if>>
		<<image "locations/city/citycenter/gym/dance/burlesque.jpg">>
		<<if $pc.skillLevel("dance") >= 50>>
			<<gs 'exercise' 'tier2' 0 'dancero'>>
			You study the art of burlesque, imaging yourself stripping to the music.
			<<if $pc.skillLevel("dance")ero >= 100>>
				You've finally managed to master the art of burlesque, there is no need taking this class anymore.

			<</if>>
		<<else>>
			<<gs 'exercise' 'tier2' 0 'danc'>>
			This class isn''t just about taking your clothes off, it's a difficult dance style and your basics aren''t sufficent. Instead, the teacher helps you with your basic modern dance steps.
		<</if>>
		<<act 'Leave'>>
			<<gt 'fit' 'dressing_room'>>
		<</act>>
	<</actCLA>>
	<<if $pc.skillLevel("strength") >= 40 or getvar("$needstrength") == 0>>
		<<actCLA 'Pole dance class (0:30)'>>
			<<gs 'exercise' 'tier2' 0 'agil_exp' 'stren' 'dancpol'>>
			<<set $abonement -= 1>>
			<<if $pc.pcs_inhib < 60>>
				<<run $pc.skillExperienceGain('inhibition',rand(1,2))>>

			<</if>>
			<<image "locations/city/citycenter/gym/dance/poledance.jpg">>
			<<if $pc.skillLevel("dance")ero >= 50 and $pc.skillLevel("strength") >= 40>>
				<<gs 'exercise' 'tier2' 0 'dancpol'>>
				You study various acrobatics on the pole.
				<<if $pc.skillLevel("dance")pol >= 100>>
					You've already mastered the art of pole dancing, there is nothing more left to teach you.

				<</if>>
			<<else>>
				It doesn''t look sensual enough and you bang your head pretty hard on the pole. This is far harder than it looks. It would help if you improved your modern dancing skills or the burlesque one, but you did learn a little.
				<<if $pc.skillLevel("strength") < 40>>
					 <<set $needstrength = 1>>

				<</if>>
			<</if>>
			<<act 'Leave'>>
				<<gt 'fit' 'dressing_room'>>
			<</act>>
		<</actCLA>>
	<<else>>
		<!-- FAILED TO CONVERT
			act 'Modern dance class (0:30)': '<br><font color="red">You don''t have enough energy to use this action.</font>'
		-----
			<<actCLA 'Modern dance class (0:30)'>>
			<<set ERROR: FAILED TO CONVERT LITERAL: """'<br><font color""" = ERROR: FAILED TO CONVERT LITERAL: """"red">You don't have enough energy to use this action.<""" / ERROR: FAILED TO CONVERT LITERAL: """font>'""">>
		<</actCLA>>

		-->
		<<warn "CONVERSION ERROR 629dcb948edee0959cb233a2dc4e9411">>
		<!-- FAILED TO CONVERT
			act 'Burlesque class (0:30)': '<br><font color="red">You don''t have enough energy to use this action.</font>'
		-----
			<<actCLA 'Burlesque class (0:30)'>>
			<<set ERROR: FAILED TO CONVERT LITERAL: """'<br><font color""" = ERROR: FAILED TO CONVERT LITERAL: """"red">You don't have enough energy to use this action.<""" / ERROR: FAILED TO CONVERT LITERAL: """font>'""">>
		<</actCLA>>

		-->
		<<warn "CONVERSION ERROR de05770c4e621490b46c3ac197ab2367">>
		<<if $pc.skillLevel("strength") >= 40 or getvar("$needstrength") == 0>>
			<!-- FAILED TO CONVERT
				act 'Pole dance class (0:30)': '<br><font color="red">You don''t have enough energy to use this action.</font>'
			-----
				<<actCLA 'Pole dance class (0:30)'>>
				<<set ERROR: FAILED TO CONVERT LITERAL: """'<br><font color""" = ERROR: FAILED TO CONVERT LITERAL: """"red">You don't have enough energy to use this action.<""" / ERROR: FAILED TO CONVERT LITERAL: """font>'""">>
			<</actCLA>>

			-->
			<<warn "CONVERSION ERROR c0dcbb7c6e02755d0166932b3b72cd8f">>
		<</if>>
	<</if>>
<<elseif $pc.pcs_stam >= $pc.stammax / 5>>
	You are so hungry you can't even bring yourself to look at the activities available.
<<else>>
	You are to exhausted you can't even bring yourself to look at the activities available. Recover your stamina before trying to dance.
<</if>>
<<act 'Leave'>>
	<<gt 'fit' 'dressing_room'>>
<</act>>
