# dreams

menu_off = 1

if $ARGS[0] = 'start':
	if stepdadqw = 3:
		'<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/vladimir/sex/bath_voyer_1.jpg"></center>'
		'Today you had a very strange dream: You were blindfolded, having sex with a stranger. After the two of you are done you remove the blindfold and recognize the stranger to be your stepfather.'
		pcs_horny = 100
		stepdadqw += 1
	elseif succubusQW = 1 or succubusQW = 2:
		!this is for initial dream and a reoccuring dream if the feeling was ignored
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/succubdream.jpg"></center>'
		if succubusQW = 1:
			'You dream of sex with multiple partners, absorbing energy from each of them.'
		else
			'You have the same dream of absorbing energy from multiple partners.'
		end
		succubusQW = 2
		pcs_horny = 100
	elseif rand(1,100) > Enable_nodream:
		!nodream chance cheat
		if pcs_horny > 50:
			!erotic dream
			if pcs_vag = 0 and stat['vaginal'] = 0 and pcs_ass = 0 and stat['anal'] = 0 and stat['bj'] = 0 and stat['hj'] = 0 and stat['cuni'] = 0 and girl = 0 and guy = 0:
				!dreams only for virgin
				ivrand = rand(1,5)
			elseif succubusflag = 1:
				ivsuctmp = 6 + succublvl
				ivrand = rand(1,ivsuctmp)
			else
				ivrand = rand(1,6)
			end
			if ivrand = 1:
				gs 'dreams','d_dreams'
			elseif ivrand = 2:
				gs 'dreams','ero_dreams'
			elseif ivrand = 3:
				gs 'dreams','sex_dreams'
			elseif ivrand = 4:
				gs 'dreams','bj_dreams'
			elseif ivrand = 5:
				gs 'dreams','anal_dreams'
			elseif ivrand = 6:
				gs 'dreams','gang_dreams'
			elseif ivrand >= 7 and ivrand <= ivsuctmp:
				gs 'dreams','succub_dreams'
			end
		else
			gs 'dreams','d_dreams'
		end
	else
		if storyline = 0:
			temp = rand(1, 10)
			if temp = 1:
				'You have hazy dreams about your past.'
			elseif temp = 2:
				'You dream about the moon looking at the world with his one bloody eye.'
			elseif temp = 3:
				'You dream that you are a man again.'
			else
				'You sleep without dreaming.'
			end
		else
			'You sleep without dreaming.'
		end   
	end
	exit
end

if $ARGS[0] = 'd_dreams':
	!random dreams about nothing
	if ClownQW = 1:
		ivrand = rand(1,13)
	else
		ivrand = rand(1,12)
	end
	if ivrand = 1:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/dream1.jpg"></center>'
		'You dream about an old town, standing on the opposite shores of high falls. Between its steeples fly strange creatures.'
	elseif ivrand = 2:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/dream2.jpg"></center>'
		'You dream about a tower, standing on frozen rocks, covered in snow and ice.'
	elseif ivrand = 3:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/dream3.jpg"></center>'
		'You dream about an ice mountain, on top of which stands a strange building, almost like a monastery.'
	elseif ivrand = 4:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/dream4.jpg"></center>'
		'You dream about an unknown girl, running in the pouring rain on a dark and narrow street.'
	elseif ivrand = 5:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/dream5.jpg"></center>'
		'You dream about your smiling mother standing in a room full of old things from the past or last century. Strange. What could it mean?'
	elseif ivrand = 6:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/dream6.jpg"></center>'
		'You dream about a rider, standing by the lake, surrounded by high and steep mountains.'
	elseif ivrand = 7:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/dream7.jpg"></center>'
		'You dream about a scary man with charred skin, holding a strange creature on a chain, ready to fight a white haired middle-aged guy with a sword in his hand. It is probably time to stop watching TV...'
	elseif ivrand = 8:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/dream8.jpg"></center>'
		'You dream about the white-haired guy again, but he is noticeably aged and has with a thick beard. Next to him stands a beautiful white haired girl. Maybe it''s his daughter? Why do you even have dreams about it?'
	elseif ivrand = 9:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/dream9.jpg"></center>'
		'You dream about standing in a street among other people, looking at a nuclear explosion. It is really scary!'
	elseif ivrand = 10:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/dream10.jpg"></center>'
		'You dream about a futuristic looking street littered in garbage.'
	elseif ivrand = 11:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/dream11.jpg"></center>'
		'You dream about a beautiful and majestic Cathedral on the banks of the river.'
	elseif ivrand = 12:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/dream12.jpg"></center>'
		'You dream about being at a lake in the winter watching a dark figure. He is standing in a pavilion in the middle of the lake. The pale light of the moon gives the scene an eerie aura.'
	elseif ivrand = 13:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/dream13.jpg"></center>'
		'You had a nightmare about a scary clown that tries to lure you into the sewers.'
	end
	exit
end

if $ARGS[0] = 'sex_dreams':
	!only vaginal sex
	ivrand = rand(1,5)
	if ivrand = 1:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/sex1.jpg"></center>'
		'You dream about having sex at the poolside of an expensive mansion with an attractive athletic man. You bounce up and down on his cock while he firmly grasps your ass. He starts to groan and tense up so you increase the speed of your bouncing and...'
	elseif ivrand = 2:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/sex2.jpg"></center>'
		'You dream about having passionate sex with a stranger on a couch. He gently kisses you and takes your breasts into his hands and fondles them, while at the same time thrusting his cock in and out of your pussy.'
	elseif ivrand = 3:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/sex3.jpg"></center>'
		'You dream that you are on a beach with a stranger. He kisses your neck while you lie in the missionary position on the sand as he pumps his cock rhythmically into your pussy.'
	elseif ivrand = 4:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/sex4.jpg"></center>'
		'You dream that you are bent over a couch with a man behind you pushing his cock in and out of you, while firmly grasping your ass. You are biting your lips from the pleasure.'
		
	elseif ivrand = 5:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/sex5.jpg"></center>'
		'You dream that you are sitting on top of a guy, bouncing up and down on his cock.'
	end
	if pcs_vag = 0 and stat['vaginal'] = 0:
		'You wake up feeling strange and excited, even though you have never had sex the dream felt very real.'
	elseif pcs_vag > 0 and stat['vaginal'] = 0:
		'You have never had a cock in your pussy and even though you are a virgin the sensations from the dream felt very real and have gotten you a little excited.'
	elseif stat['vaginal'] > 0 or pcs_vag > 0:
		'It seems your <<$vaginatipe>> pussy urgently needs some attention.'
	end
	exit
end

if $ARGS[0] = 'anal_dreams':
	!only anal sex
	ivrand = rand(1,2)
	if ivrand = 1:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/anal1.jpg"></center>'
		'You dream that you are bent over and a man is pumping your ass rhythmically with his cock while you caress your clit with your fingers.'
	elseif ivrand = 2:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/anal2.jpg"></center>'
		'You dream that you are laying on your side and a guy is fucking your ass. You moan loudly from the feeling.'
	end
	if pcs_vag = 0 and stat['vaginal'] = 0 and stat['anal'] = 0 and pcs_ass = 0:
		'You wake up feeling strange and excited, even though you have never had anal sex the dream felt very real.'
	elseif (pcs_vag > 0 or stat['vaginal'] > 0) and stat['anal'] = 0 and pcs_ass = 0:
		'You have never had a cock in your ass but the sensations from the dream felt very real and have gotten you a little excited.'
	elseif stat['anal'] > 0 or pcs_ass > 0:
		'It seems your <<$anustipe>> anus urgently needs some attention.'
	end
	exit
end

if $ARGS[0] = 'bj_dreams':
	!only Blowjob
	ivrand = rand(1,2)
	if ivrand = 1:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/bj1.jpg"></center>'
		'You dream that you are bent down with your ass sticking out sucking a guy''s dick during sunset near the ocean.'
	elseif ivrand = 2:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/bj2.jpg"></center>'
		'You dream that are you tied to a staircase squatting down with you legs wide open sucking and savouring the dick of a guy dressed in a nice and expensive looking suit.'
	end
	if stat['bj'] = 0:
		'You have never given anyone a blow job before but the feeling of the dick in your mouth felt very real, the dream has excited you a little.'
	else
		'It seems subconsciously you want to suck a dick.'
	end
	exit
end

if $ARGS[0] = 'ero_dreams':
	!only erotica
	ivrand = rand(1,5)
	if ivrand = 1:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/ero1.jpg"></center>'
		'You dream that you are at a school where all the girls are required to attend lessons naked.'
	elseif ivrand = 2:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/ero2.jpg"></center>'
		'You dream that you are naked caressing an athletic guy on the couch. He kisses your neck and slowly moves down to kiss your chest, flicking his tongue over your nipples.'
	elseif ivrand = 3:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/ero3.jpg"></center>'
		'You dream that you are naked in a shower with a man. He lathers your body paying special attention to your breasts and pussy, while his hard cock is bumping you in the back.'
	elseif ivrand = 4:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/ero4.jpg"></center>'
		'You dream that you are on a bed naked with a girl, you kiss and caress each other passionately,'
	elseif ivrand = 5:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/ero5.jpg"></center>'
		'You dream that you are naked making out with a stranger.'
	end
	exit
end

if $ARGS[0] = 'gang_dreams':
	!only Gangbang
	ivrand = rand(1,2)
	if ivrand = 1:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/gang1.jpg"></center>'
		'You dream that two men are fucking you. You are lying between them sucking one of them while the other one is pumping your ass.'
	elseif ivrand = 2:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sex/gang2.jpg"></center>'
		'You dream that you are in-between two hot guys. One is fucking your pussy and the other one is fucking your ass. Both of them slam you with force causing you to moan loudly with pleasure.'
	end
	if pcs_vag = 0 and stat['vaginal'] = 0 and pcs_ass = 0 and stat['anal'] = 0 and stat['bj'] = 0 and stat['hj'] = 0 and gang = 0 and guy = 0 and girl = 0:
		'You haven''t even had normal sex, least of all a threesome. Even though you are excited, the dream still scared you a little.'
	elseif pcs_vag > 0 and stat['vaginal'] = 0 and pcs_ass = 0 and stat['anal'] = 0 and stat['bj'] = 0 and stat['hj'] = 0 and gang = 0 and guy = 0 and girl = 0:
		'Even though you are not a virgin, the thought of a gangbang, even in a dream, is a little alarming.'
	elseif pcs_vag = 0 and stat['vaginal'] = 0 and pcs_ass > 0 and gang = 0 and guy > 0 and girl = 0:
		'Even though you are only technically still a virgin, the thought of a gangbang, even in a dream, is a little alarming.'
	elseif pcs_vag > 0 and stat['vaginal'] > 0 and pcs_ass = 0 and stat['anal'] = 0 and gang = 0 and guy > 0 and girl = 0:
		'It seems, that in your dreams one guy at a time is not enough...'
	elseif gang > 0 and guy > 0 and girl = 0:
		'It seems, that your experience with swinging with a few guys was not in vain and your subconscious is actively reminding you about it.'
	elseif gang > 0 and guy = 0 and girl > 0:
		'It seems, that your experience with swinging with several girls was not in vain and your subconscious is actively reminding you about it.'
	elseif gang > 0 and guy > 0 and girl > 0:
		'It seems, that your experience with swinging was not in vain and your subconscious is actively reminding you about it.'
	else
		'The dream felt very real and left you a little excited.'
	end
	exit
end

if $ARGS[0] = 'succub_dreams':
!!Succubus dreams
	if sucpcinfo < 4:
		ivrand = rand(1,5)
	else
		ivrand = rand (2,5)
	end

	if ivrand = 1:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sucrandream1.jpg"></center>'
		'You dream of yourself with horns, wings, and a tail superimposed,'
		if sucpcinfo > 0:
			'and that you have become some kind of demon!'
		else
			'and that you have become something inhuman!'
		end
	end
	if ivrand = 2:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sucrandream2.jpg"></center>'
		'You dream that you were victorious over Toby and the entire Order of Dawn.'
	end
	if ivrand = 3:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sucrandream3.jpg"></center>'
		if succublvl < 3:
			$sucselftmp = 'a personification of <<$sucself1>> in your core'
		else
			$sucselftmp = $sucself1
		end
		'You dream that you are arguing with <<$sucselftmp>>.'
		'You don''t know what it''s about, but you think you won...'
	end
	if ivrand = 4:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sucrandream4.jpg"></center>'
		'You dream that you''re walking a crowded convention hall filled with people in costumes.'
		'You don''t know why you''re here until you see <i>her</i>, then you just <b>know</b> why you''re here...'
		'You''re here for <b>reproduction!</b>'
	end
	if ivrand = 5:
		'<center><img <<$set_imgh>> src="images/shared/home/bedroom/dream/sucrandream5.jpg"></center>'
		'You dream that you encounter another Succubus, but she''s in <i>your</i> territory!'
		if succhungry < (0 - 1 - succublvl):
			'But, you''re sated, so it doesn''t bother you.'
		else
			'You can''t allow that!'
		end
	end
	exit
end

--- dreams ---------------------------------

