Browse Source

Fixed: `gs 'katja_procdural'` => `gs 'katja_procedural'`

netuttki 11 months ago
parent
commit
f2503e628c

+ 38 - 38
locations/Katja_nightclub.qsrc

@@ -20,7 +20,7 @@ if $ARGS[0] = 'activity':
 	if katjaQW['disco_loc'] >= 3 and katjaQW['disco_loc'] <= 6: 
 	if katjaQW['disco_loc'] >= 3 and katjaQW['disco_loc'] <= 6: 
 		if katjaQW['disco_check_time'] + 30 < totminut:
 		if katjaQW['disco_check_time'] + 30 < totminut:
 			katjaQW['disco_check_time'] = totminut
 			katjaQW['disco_check_time'] = totminut
-			if (rand(1,15) <= (min(func('katja_procdural', 'willing_to_be_naughty'), 100) - 50)/10 and katjaQW['relationship_talk'] = 1 and katjaQW['faithful'] = 0) or (katjaQW['liberated'] and rand(0,3) = 0):
+			if (rand(1,15) <= (min(func('katja_procedural', 'willing_to_be_naughty'), 100) - 50)/10 and katjaQW['relationship_talk'] = 1 and katjaQW['faithful'] = 0) or (katjaQW['liberated'] and rand(0,3) = 0):
 				if katjaQW['disco_loc'] = 3 and rand(0,4) < 4:
 				if katjaQW['disco_loc'] = 3 and rand(0,4) < 4:
 					!! Katja goes to a private room with the guy 
 					!! Katja goes to a private room with the guy 
 					katjaQW['nightclub_private_room_boy'] = 1
 					katjaQW['nightclub_private_room_boy'] = 1
@@ -29,11 +29,11 @@ if $ARGS[0] = 'activity':
 					!! Katja leaves the club with whom she is dancing
 					!! Katja leaves the club with whom she is dancing
 					katjaQw['alone_with_other_day'] = daystart
 					katjaQw['alone_with_other_day'] = daystart
 					if katjaQW['disco_loc'] = 5:
 					if katjaQW['disco_loc'] = 5:
-						gs 'katja_procdural', 'sex_set', 0, 1
+						gs 'katja_procedural', 'sex_set', 0, 1
 					elseif katjaQW['disco_loc'] = 6:
 					elseif katjaQW['disco_loc'] = 6:
-						gs 'katja_procdural', 'sex_set', 2
+						gs 'katja_procedural', 'sex_set', 2
 					else
 					else
-						gs 'katja_procdural', 'sex_set', 1
+						gs 'katja_procedural', 'sex_set', 1
 					end
 					end
 					
 					
 					if hour > 10:
 					if hour > 10:
@@ -96,9 +96,9 @@ if $ARGS[0] = 'activity':
 				katjaQW['drinks'] += 1
 				katjaQW['drinks'] += 1
 			elseif rand(0,8) = 0:
 			elseif rand(0,8) = 0:
 				katjaQW['disco_loc'] = 8
 				katjaQW['disco_loc'] = 8
-			elseif rand(1,12) <= (min(func('katja_procdural', 'willing_to_be_naughty'), 100) - 50)/10 or (katjaQW['relationship_talk'] = 1 and katjaQW['faithful'] = 0 and rand(1,8) <= (min(func('katja_procdural', 'willing_to_be_naughty'), 100) - 50)/10) or (katjaQW['liberated'] = 1 and rand(0,3) = 0): 
+			elseif rand(1,12) <= (min(func('katja_procedural', 'willing_to_be_naughty'), 100) - 50)/10 or (katjaQW['relationship_talk'] = 1 and katjaQW['faithful'] = 0 and rand(1,8) <= (min(func('katja_procedural', 'willing_to_be_naughty'), 100) - 50)/10) or (katjaQW['liberated'] = 1 and rand(0,3) = 0): 
 				katjaQW['disco_loc'] = 3
 				katjaQW['disco_loc'] = 3
-			elseif rand(1,12) <= (min(func('katja_procdural', 'willing_to_be_naughty'), 100) - 50)/10 or (katjaQW['relationship_talk'] = 1 and katjaQW['faithful'] = 0 and rand(1,8) <= (min(func('katja_procdural', 'willing_to_be_naughty'), 100) - 50)/10) or (katjaQW['liberated'] = 1 and rand(0,3) = 0): 
+			elseif rand(1,12) <= (min(func('katja_procedural', 'willing_to_be_naughty'), 100) - 50)/10 or (katjaQW['relationship_talk'] = 1 and katjaQW['faithful'] = 0 and rand(1,8) <= (min(func('katja_procedural', 'willing_to_be_naughty'), 100) - 50)/10) or (katjaQW['liberated'] = 1 and rand(0,3) = 0): 
 				katjaQW['disco_loc'] = rand(4,6)
 				katjaQW['disco_loc'] = rand(4,6)
 			end
 			end
 		end
 		end
@@ -133,7 +133,7 @@ if $ARGS[0] = 'dance_approach':
 		if katjaQW['QWstage'] > 0 or npc_rel['A14'] > 70:
 		if katjaQW['QWstage'] > 0 or npc_rel['A14'] > 70:
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nigthclub/disco_talking_on_dance_floor.jpg"></center>'
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nigthclub/disco_talking_on_dance_floor.jpg"></center>'
 			'You approach her from behind. "Hi, Katja!" you shout, so she can hear you.'
 			'You approach her from behind. "Hi, Katja!" you shout, so she can hear you.'
-			'She turns around and when she sees it is you, '+iif(npc_sex['A14'] > 0 and func('katja_procdural', 'willing_to_be_naughty') > 80 and katjaQW['sex_clossedness'] < 2, 'gives you a quick kiss', 'she gets a huge smile on her face')+'. "You''re here, too? We''re going to have so much fun! Let''s dance!"'
+			'She turns around and when she sees it is you, '+iif(npc_sex['A14'] > 0 and func('katja_procedural', 'willing_to_be_naughty') > 80 and katjaQW['sex_clossedness'] < 2, 'gives you a quick kiss', 'she gets a huge smile on her face')+'. "You''re here, too? We''re going to have so much fun! Let''s dance!"'
 			act 'Dance with Katja': gt 'katja_nightclub', 'dance'
 			act 'Dance with Katja': gt 'katja_nightclub', 'dance'
 		elseif npc_rel['A14'] < 20:
 		elseif npc_rel['A14'] < 20:
 			'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big14.jpg"></center>'
 			'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big14.jpg"></center>'
@@ -147,7 +147,7 @@ if $ARGS[0] = 'dance_approach':
 	else
 	else
 		if katjaQW['QWstage'] > 0 or npc_rel['A14'] > 70:
 		if katjaQW['QWstage'] > 0 or npc_rel['A14'] > 70:
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nigthclub/disco_talking_on_dance_floor.jpg"></center>'
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nigthclub/disco_talking_on_dance_floor.jpg"></center>'
-			'You approach her and tap her on the shoulder. She turns around, and seeing you, she '+iif(npc_sex['A14'] > 0 and func('katja_procdural', 'willing_to_be_naughty') > 80 and katjaQW['sex_clossedness'] < 2, 'gives you a quick kiss before', 'gets a huge smile on her face')+' shouting, "Great! You''re back. Let''s dance!"'
+			'You approach her and tap her on the shoulder. She turns around, and seeing you, she '+iif(npc_sex['A14'] > 0 and func('katja_procedural', 'willing_to_be_naughty') > 80 and katjaQW['sex_clossedness'] < 2, 'gives you a quick kiss before', 'gets a huge smile on her face')+' shouting, "Great! You''re back. Let''s dance!"'
 			act 'Dance with Katja': gt 'katja_nightclub', 'dance'
 			act 'Dance with Katja': gt 'katja_nightclub', 'dance'
 		elseif npc_rel['A14'] < 20:
 		elseif npc_rel['A14'] < 20:
 			'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big14.jpg"></center>'
 			'<center><img <<$set_imgh>> src="images/characters/shared/headshots_main/big14.jpg"></center>'
@@ -230,19 +230,19 @@ if $ARGS[0] = 'dance_guy_approach':
 				cla
 				cla
 				minut += 15
 				minut += 15
 				'They continue to dance for a while, and as the dance goes on, he keeps getting closer and closer to her. His hand starts to go from just touching her arms and back to also rest on her bottom.'
 				'They continue to dance for a while, and as the dance goes on, he keeps getting closer and closer to her. His hand starts to go from just touching her arms and back to also rest on her bottom.'
-				if func('katja_procdural', 'willing_to_be_naughty') < 50 and katjaQW['liberated'] = 0:
+				if func('katja_procedural', 'willing_to_be_naughty') < 50 and katjaQW['liberated'] = 0:
 					'That seems to be too much for her; and when he doesn''t get the hint after she''s removed his hand from her ass several times, she dances away from him, leaving him alone.'
 					'That seems to be too much for her; and when he doesn''t get the hint after she''s removed his hand from her ass several times, she dances away from him, leaving him alone.'
 					act 'Go to Katja': gt 'katja_nightclub', 'dance_approach'
 					act 'Go to Katja': gt 'katja_nightclub', 'dance_approach'
 					act 'Leave her': gt 'city_nightclub', 'dance'
 					act 'Leave her': gt 'city_nightclub', 'dance'
 				else
 				else
-					if katjaQW['simultanous_boys'] = 0 or func('katja_procdural', 'willing_to_be_naughty') < 65 or katjaQW['boy_block'] = 1:
+					if katjaQW['simultanous_boys'] = 0 or func('katja_procedural', 'willing_to_be_naughty') < 65 or katjaQW['boy_block'] = 1:
 						katjaqw['horny'] += 10
 						katjaqw['horny'] += 10
 						'It seems that Katja can''t decide how to respond to this. She tries at times to move so that his hand will let go. At other times, it seems as though she likes the attention.'
 						'It seems that Katja can''t decide how to respond to this. She tries at times to move so that his hand will let go. At other times, it seems as though she likes the attention.'
 					else
 					else
 						katjaqw['horny'] += 20
 						katjaqw['horny'] += 20
 						'Katja clearly enjoys the attention she is getting from the boy. She starts to get closer to him as well, almost grinding her body against his.'
 						'Katja clearly enjoys the attention she is getting from the boy. She starts to get closer to him as well, almost grinding her body against his.'
 					end
 					end
-					if (katjaQW['liberated'] = 1 and (katjaQW['simultanous_boys'] = 0 and rand(1,10)) or (katjaQW['simultanous_boys'] > 0 and rand(1,5))) or (katjaQW['QWstage'] >= 6 and katjaQW['boy_block'] = 0 and rand(1,10) <= (min(func('katja_procdural', 'willing_to_be_naughty'), 100) - 50)/10 and rand(1,5) <= (min(katjaQW['horny'], 100) - 50)/10 and katjaQW['relationship_talk'] = 1 and (katjaQW['faithful'] = 0 or katjaQW['cheat_warning'] = 2)):
+					if (katjaQW['liberated'] = 1 and (katjaQW['simultanous_boys'] = 0 and rand(1,10)) or (katjaQW['simultanous_boys'] > 0 and rand(1,5))) or (katjaQW['QWstage'] >= 6 and katjaQW['boy_block'] = 0 and rand(1,10) <= (min(func('katja_procedural', 'willing_to_be_naughty'), 100) - 50)/10 and rand(1,5) <= (min(katjaQW['horny'], 100) - 50)/10 and katjaQW['relationship_talk'] = 1 and (katjaQW['faithful'] = 0 or katjaQW['cheat_warning'] = 2)):
 						!! The conditions is such that only if Katja is liberated or the player have introduced her to sex with a boy is there a chance that she will go with the guy. In the later case she wont go until after the the player have had the relationship talk, and then only if they agreed on an open relationship or if she have warned the player because she has caught the player cheating, and she wont go if the player have said they are not into boys.
 						!! The conditions is such that only if Katja is liberated or the player have introduced her to sex with a boy is there a chance that she will go with the guy. In the later case she wont go until after the the player have had the relationship talk, and then only if they agreed on an open relationship or if she have warned the player because she has caught the player cheating, and she wont go if the player have said they are not into boys.
 						katjaQW['nightclub_private_room_boy'] = 1
 						katjaQW['nightclub_private_room_boy'] = 1
 						katjaQW['disco_loc'] = 7
 						katjaQW['disco_loc'] = 7
@@ -477,10 +477,10 @@ if $ARGS[0] = 'bar_after_drink':
 		'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nigthclub/disco_kiss_cheek.jpg"></center>'
 		'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nigthclub/disco_kiss_cheek.jpg"></center>'
 		katjaQW['horny'] += 5
 		katjaQW['horny'] += 5
 		iif(katjaQW['disco_drink_bought'] = 1, 'You and Katja are', 'Katja is')+' drinking '+iif(katjaQW['disco_drink_bought'] = 1, 'your', 'her')+' drink, but then suddenly, Katja decides to kiss you on the cheek.'
 		iif(katjaQW['disco_drink_bought'] = 1, 'You and Katja are', 'Katja is')+' drinking '+iif(katjaQW['disco_drink_bought'] = 1, 'your', 'her')+' drink, but then suddenly, Katja decides to kiss you on the cheek.'
-		if func('katja_procdural', 'willing_to_be_naughty') < 65 and katjaQW['drinks'] < 8:
+		if func('katja_procedural', 'willing_to_be_naughty') < 65 and katjaQW['drinks'] < 8:
 			'Then quickly looks around and starts giggling, like she is embarrassed about what she just did.'
 			'Then quickly looks around and starts giggling, like she is embarrassed about what she just did.'
 		else
 		else
-			if func('katja_procdural', 'willing_to_be_naughty') < 65:
+			if func('katja_procedural', 'willing_to_be_naughty') < 65:
 				'As she is doing this, she stumbles and almost falls to the ground, laughing. It''s clear that she''s very inebriated by all the alcohol she has drunk.'
 				'As she is doing this, she stumbles and almost falls to the ground, laughing. It''s clear that she''s very inebriated by all the alcohol she has drunk.'
 			else
 			else
 				'She then continues the conversations like this was the most natural thing to do.'
 				'She then continues the conversations like this was the most natural thing to do.'
@@ -493,7 +493,7 @@ if $ARGS[0] = 'bar_after_drink':
 		'As '+iif(katjaQW['disco_drink_bought'] = 1, 'you and Katja are', 'Katja is')+' drinking '+iif(katjaQW['disco_drink_bought'] = 1, 'your', 'her')+' drink, a well-dressed man comes up to you. "Hello, ladies! Mind if I join you?"'
 		'As '+iif(katjaQW['disco_drink_bought'] = 1, 'you and Katja are', 'Katja is')+' drinking '+iif(katjaQW['disco_drink_bought'] = 1, 'your', 'her')+' drink, a well-dressed man comes up to you. "Hello, ladies! Mind if I join you?"'
 		katjaQW['disco_drink_bought'] = 0
 		katjaQW['disco_drink_bought'] = 0
 		act 'Let him join':
 		act 'Let him join':
-			if (katjaQW['QWstage'] < 3 and katjaQW['liberated'] = 0) or (katjaQW['boy_block'] = 1 and katjaQW['sex_clossedness'] <2) or func('katja_procdural', 'willing_to_be_naughty')+katjQW['horny'] < rand (50,100):
+			if (katjaQW['QWstage'] < 3 and katjaQW['liberated'] = 0) or (katjaQW['boy_block'] = 1 and katjaQW['sex_clossedness'] <2) or func('katja_procedural', 'willing_to_be_naughty')+katjQW['horny'] < rand (50,100):
 				cla
 				cla
 				if katjaQW['dom'] > rand(0,30):
 				if katjaQW['dom'] > rand(0,30):
 					'You start to tell him that he can join you, but Katja says no.'
 					'You start to tell him that he can join you, but Katja says no.'
@@ -673,7 +673,7 @@ if $ARGS[0] = 'bar_after_drink':
 												gs 'stat'										
 												gs 'stat'										
 												'"I really don''t think it''s a good idea to go with him. He really seems like a guy that won''t stop if we tell him to when we''re alone with him," you whisper.'
 												'"I really don''t think it''s a good idea to go with him. He really seems like a guy that won''t stop if we tell him to when we''re alone with him," you whisper.'
 												'Katja looks at the guy again, and after a moment of thinking, she relents. "OK. I''m not really convinced that he''s bad, but I''ll stay with you," she answers.'
 												'Katja looks at the guy again, and after a moment of thinking, she relents. "OK. I''m not really convinced that he''s bad, but I''ll stay with you," she answers.'
-												'She turns to him. "I''m sorry, but my friend '+iif(func('katja_procdural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so I will stay with her. But maybe another time?"'
+												'She turns to him. "I''m sorry, but my friend '+iif(func('katja_procedural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so I will stay with her. But maybe another time?"'
 												'He then leaves, looking very disappointed.'
 												'He then leaves, looking very disappointed.'
 												gs 'katja_nightclub', 'bar_end'
 												gs 'katja_nightclub', 'bar_end'
 											end
 											end
@@ -693,7 +693,7 @@ if $ARGS[0] = 'bar_after_drink':
 											katjaQW['disco_check_time'] = totminut
 											katjaQW['disco_check_time'] = totminut
 											cla
 											cla
 											'"Well, you can go with him if you want to," you tell Katja.'
 											'"Well, you can go with him if you want to," you tell Katja.'
-											'She looks at you a little skeptical, but then turns to the guy. "My friend '+iif(func('katja_procdural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so she isn''t coming. But I would still love another drink with you."'
+											'She looks at you a little skeptical, but then turns to the guy. "My friend '+iif(func('katja_procedural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so she isn''t coming. But I would still love another drink with you."'
 											'He then lights up and takes her hand and walks away, leaving you alone at the bar.'
 											'He then lights up and takes her hand and walks away, leaving you alone at the bar.'
 											act 'Continue': gt 'city_nightclub', 'bar'
 											act 'Continue': gt 'city_nightclub', 'bar'
 										end
 										end
@@ -710,7 +710,7 @@ if $ARGS[0] = 'bar_after_drink':
 			end
 			end
 		end
 		end
 		act 'Tell him no':
 		act 'Tell him no':
-			if katjaQW['QWstage'] >= 6 and katjaQW['boy_block'] = 0 and katjaQW['sex_clossedness'] < 2 and katjaQW['horny'] > rand(40,60) and func('katja_procdural', 'willing_to_be_naughty') > rand(80,80):
+			if katjaQW['QWstage'] >= 6 and katjaQW['boy_block'] = 0 and katjaQW['sex_clossedness'] < 2 and katjaQW['horny'] > rand(40,60) and func('katja_procedural', 'willing_to_be_naughty') > rand(80,80):
 				*clr & cla
 				*clr & cla
 				'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nigthclub/disco_drinnking_bar.jpg"></center>'
 				'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nigthclub/disco_drinnking_bar.jpg"></center>'
 				'"We would love to have you join us for a drink," Katja says before you have time to say anything.' 
 				'"We would love to have you join us for a drink," Katja says before you have time to say anything.' 
@@ -719,7 +719,7 @@ if $ARGS[0] = 'bar_after_drink':
 					gs 'npc_relationship', 'modify', 'A14', 'dislike'
 					gs 'npc_relationship', 'modify', 'A14', 'dislike'
 					gs 'stat'
 					gs 'stat'
 					'"Come on Katja. We''re having fun, just the two of us. We don''t need some guy. Besides, he gives me the wrong vibes," you lean in and whisper to Katja.'
 					'"Come on Katja. We''re having fun, just the two of us. We don''t need some guy. Besides, he gives me the wrong vibes," you lean in and whisper to Katja.'
-					'She looks at him again, then at you and whispers, "OK, you win, <<$pcs_nickname>>." She turns to him. "I''m sorry, but my friend '+iif(func('katja_procdural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'prefers just the two of us right now')+', so we have to decline. But maybe another time?"'
+					'She looks at him again, then at you and whispers, "OK, you win, <<$pcs_nickname>>." She turns to him. "I''m sorry, but my friend '+iif(func('katja_procedural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'prefers just the two of us right now')+', so we have to decline. But maybe another time?"'
 					gs 'katja_nightclub', 'bar_end'
 					gs 'katja_nightclub', 'bar_end'
 				end
 				end
 				act 'Let him join':
 				act 'Let him join':
@@ -807,7 +807,7 @@ if $ARGS[0] = 'bar_after_drink':
 												gs 'stat'
 												gs 'stat'
 												'"I really don''t think it''s a good idea to go with him. He really seems like a guy that won''t stop if we tell him to when we are alone with him," you whisper.'
 												'"I really don''t think it''s a good idea to go with him. He really seems like a guy that won''t stop if we tell him to when we are alone with him," you whisper.'
 												'Katja looks at the guy again and after a moment of thinking, she relents. "OK. I''m not really convinced that he''s bad, but I will stay with you," she answers.'
 												'Katja looks at the guy again and after a moment of thinking, she relents. "OK. I''m not really convinced that he''s bad, but I will stay with you," she answers.'
-												'She turns to him. "I''m sorry, but my friend '+iif(func('katja_procdural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so I will stay with her. But maybe another time?"'
+												'She turns to him. "I''m sorry, but my friend '+iif(func('katja_procedural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so I will stay with her. But maybe another time?"'
 												'He then leaves looking very disappointed.'
 												'He then leaves looking very disappointed.'
 												gs 'katja_nightclub', 'bar_end'
 												gs 'katja_nightclub', 'bar_end'
 											end
 											end
@@ -827,7 +827,7 @@ if $ARGS[0] = 'bar_after_drink':
 											katjaQW['disco_check_time'] = totminut
 											katjaQW['disco_check_time'] = totminut
 											cla
 											cla
 											'"Well, you can go with him if you want to," you tell Katja.'
 											'"Well, you can go with him if you want to," you tell Katja.'
-											'She looks at you a little skeptical, but then turns to the guy. "My friend '+iif(func('katja_procdural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so she is not coming. But I would still love another drink with you."'
+											'She looks at you a little skeptical, but then turns to the guy. "My friend '+iif(func('katja_procedural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so she is not coming. But I would still love another drink with you."'
 											'He then lights up and takes her hand and walks away, leaving you alone at the bar.'
 											'He then lights up and takes her hand and walks away, leaving you alone at the bar.'
 											act 'continue': gt 'city_nightclub', 'bar'
 											act 'continue': gt 'city_nightclub', 'bar'
 										end
 										end
@@ -1061,7 +1061,7 @@ if $ARGS[0] = 'dance_guy3':
 										gs 'stat'										
 										gs 'stat'										
 										'"I really don''t think it''s a good idea to go with him. He really seems like a guy that won''t stop if we tell him to when we are alone with him," you whisper.'
 										'"I really don''t think it''s a good idea to go with him. He really seems like a guy that won''t stop if we tell him to when we are alone with him," you whisper.'
 										'Katja looks at the guy again and after a moment of thinking, she relents. "OK. I''m not really convinced that he''s bad, but I will stay with you," she answers.'
 										'Katja looks at the guy again and after a moment of thinking, she relents. "OK. I''m not really convinced that he''s bad, but I will stay with you," she answers.'
-										'She then turns to him and says, "I''m sorry, but my friend '+iif(func('katja_procdural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so I will stay with her. But maybe another time?"'
+										'She then turns to him and says, "I''m sorry, but my friend '+iif(func('katja_procedural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so I will stay with her. But maybe another time?"'
 										'He then leaves, looking very disappointed.'
 										'He then leaves, looking very disappointed.'
 										gs 'katja_nightclub', 'dance_end'
 										gs 'katja_nightclub', 'dance_end'
 									end
 									end
@@ -1083,7 +1083,7 @@ if $ARGS[0] = 'dance_guy3':
 									katjaQW['disco_check_time'] = totminut
 									katjaQW['disco_check_time'] = totminut
 									cla
 									cla
 									'"Well, you can go with him if you want to," you tell Katja.'
 									'"Well, you can go with him if you want to," you tell Katja.'
-									'She looks at you a little skeptical, but then turns to the guy. "My friend '+iif(func('katja_procdural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so she is not coming. But I would still love another drink with you."'
+									'She looks at you a little skeptical, but then turns to the guy. "My friend '+iif(func('katja_procedural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so she is not coming. But I would still love another drink with you."'
 									'He then lights up and takes her hand and walks away, leaving you alone on the dance floor.'
 									'He then lights up and takes her hand and walks away, leaving you alone on the dance floor.'
 									act 'continue': gt 'city_nightclub', 'dance'
 									act 'continue': gt 'city_nightclub', 'dance'
 								end
 								end
@@ -1097,7 +1097,7 @@ if $ARGS[0] = 'dance_guy3':
 				end
 				end
 			else
 			else
 				'After some time, he tells you that his place isn''t far from here and suggests that you continue the party at his place, making it very clear that he''s expecting his bedroom to be the main location of the party.'
 				'After some time, he tells you that his place isn''t far from here and suggests that you continue the party at his place, making it very clear that he''s expecting his bedroom to be the main location of the party.'
-				if katjaQW['QWstage'] <= 5 or katjaQW['boy_block'] = 1 or katjaQW['sex_clossedness'] > 0 or func('katja_procdural', 'willing_to_be_naughty') + katjQW['horny'] < rand (50,100):
+				if katjaQW['QWstage'] <= 5 or katjaQW['boy_block'] = 1 or katjaQW['sex_clossedness'] > 0 or func('katja_procedural', 'willing_to_be_naughty') + katjQW['horny'] < rand (50,100):
 					'"No. We prefer to stay here and dance," Katja replies quickly in a firm voice, which clearly surprises the guy.'
 					'"No. We prefer to stay here and dance," Katja replies quickly in a firm voice, which clearly surprises the guy.'
 					if katjaQW['QWstage'] >= 5 and katjaQW['boy_block'] = 0 and katjaQW['sex_clossedness'] = 0:
 					if katjaQW['QWstage'] >= 5 and katjaQW['boy_block'] = 0 and katjaQW['sex_clossedness'] = 0:
 						act 'Try to convince Katja to go with him':
 						act 'Try to convince Katja to go with him':
@@ -1164,7 +1164,7 @@ if $ARGS[0] = 'dance_guy3':
 						gs 'katja_nightclub', 'dance_end'
 						gs 'katja_nightclub', 'dance_end'
 					end
 					end
 				else
 				else
-					if (func('katja_procdural', 'willing_to_be_naughty') >= 100 and katjaQW['horny'] >= 100 and katajQW['dom'] >= 0) or (katjaQW['dom'] >= 25 and func('katja_procdural', 'willing_to_be_naughty') + katjaQW['horny'] >= 150):
+					if (func('katja_procedural', 'willing_to_be_naughty') >= 100 and katjaQW['horny'] >= 100 and katajQW['dom'] >= 0) or (katjaQW['dom'] >= 25 and func('katja_procedural', 'willing_to_be_naughty') + katjaQW['horny'] >= 150):
 						'"That sounds like a good idea. I''m sure that you have lots of ways to entertain us," Katja says in a seductive voice, before you even have time to reply.'
 						'"That sounds like a good idea. I''m sure that you have lots of ways to entertain us," Katja says in a seductive voice, before you even have time to reply.'
 						act 'Go home with him':
 						act 'Go home with him':
 							cla
 							cla
@@ -1200,7 +1200,7 @@ if $ARGS[0] = 'dance_guy3':
 									gs 'stat'										
 									gs 'stat'										
 									'"I really don''t think it''s a good idea to go with him. I got a really bad feeling from him, he might have someone waiting for us, and then what''re we going to do?" you whisper.'
 									'"I really don''t think it''s a good idea to go with him. I got a really bad feeling from him, he might have someone waiting for us, and then what''re we going to do?" you whisper.'
 									'Katja looks at the guy again and after a moment of thinking, she relents. "OK. I''m not really convinced that he''s bad, but I will stay with you," she answers.'
 									'Katja looks at the guy again and after a moment of thinking, she relents. "OK. I''m not really convinced that he''s bad, but I will stay with you," she answers.'
-									'She then turns to him. "I''m sorry, but my friend '+iif(func('katja_procdural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so I will stay with her. But maybe another time?"'
+									'She then turns to him. "I''m sorry, but my friend '+iif(func('katja_procedural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so I will stay with her. But maybe another time?"'
 									'He then leaves, looking very disappointed.'
 									'He then leaves, looking very disappointed.'
 									gs 'katja_nightclub', 'dance_end'
 									gs 'katja_nightclub', 'dance_end'
 								end
 								end
@@ -1234,7 +1234,7 @@ if $ARGS[0] = 'dance_guy3':
 									locat['katja'] = locat['katja_save2']
 									locat['katja'] = locat['katja_save2']
 									cla
 									cla
 									'"Well, you can go with him if you want to," you tell Katja.'
 									'"Well, you can go with him if you want to," you tell Katja.'
-									'She looks at you a little skeptical, but then turns to the guy. "My friend '+iif(func('katja_procdural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so she isn''t coming. But I would still love another drink with you."'
+									'She looks at you a little skeptical, but then turns to the guy. "My friend '+iif(func('katja_procedural', 'willing_to_be_naughty') + katjaQW['horny'] > 175, 'is boring', 'doesn''t feel like it')+', so she isn''t coming. But I would still love another drink with you."'
 									'He then lights up and takes her hand and walks away, leaving you alone on the dance floor.'
 									'He then lights up and takes her hand and walks away, leaving you alone on the dance floor.'
 									act 'continue': gt 'city_nightclub', 'dance'
 									act 'continue': gt 'city_nightclub', 'dance'
 								end
 								end
@@ -1330,7 +1330,7 @@ if $ARGS[0] = 'private_room1':
 						'<center><img <<$set_imgh>> src="images/characters/shared/drugs/cocaine.jpg"></center>'
 						'<center><img <<$set_imgh>> src="images/characters/shared/drugs/cocaine.jpg"></center>'
 						'You take the tube and snort the first line and then the second, while Katja looks at you with wide open eyes.'
 						'You take the tube and snort the first line and then the second, while Katja looks at you with wide open eyes.'
 						'After a short moment, it hits you and you feel the full effect of the drug. <<$boyname>> takes the tube from you and tries to hand it to Katja, but she doesn''t take it. "I don''t do drugs. I''ve never done it before."'
 						'After a short moment, it hits you and you feel the full effect of the drug. <<$boyname>> takes the tube from you and tries to hand it to Katja, but she doesn''t take it. "I don''t do drugs. I''ve never done it before."'
-						if func('katja_procdural', 'willing_to_be_naughty') < 85:
+						if func('katja_procedural', 'willing_to_be_naughty') < 85:
 							gs 'willpower', 'drugs', 'force', 'hard'
 							gs 'willpower', 'drugs', 'force', 'hard'
 						else
 						else
 							gs 'willpower', 'drugs', 'force'
 							gs 'willpower', 'drugs', 'force'
@@ -1340,7 +1340,7 @@ if $ARGS[0] = 'private_room1':
 								*clr & cla
 								*clr & cla
 								minut += 8
 								minut += 8
 								gs 'willpower', 'pay', 'force'
 								gs 'willpower', 'pay', 'force'
-								gs 'katja_procdural', 'take_cocaine'
+								gs 'katja_procedural', 'take_cocaine'
 								gs 'stat'										
 								gs 'stat'										
 								'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nightclub/katja_cocaine2.jpg"></center>'
 								'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nightclub/katja_cocaine2.jpg"></center>'
 								'"Come on, Katja. Just try it. It won''t harm you," you say, but Katja still looks skeptical.'
 								'"Come on, Katja. Just try it. It won''t harm you," you say, but Katja still looks skeptical.'
@@ -1416,7 +1416,7 @@ if $ARGS[0] = 'private_room1':
 							dur += 1
 							dur += 1
 							gs 'drugs', 'cocaine'
 							gs 'drugs', 'cocaine'
 							gs 'stat'
 							gs 'stat'
-							gs 'katja_procdural', 'take_cocaine'
+							gs 'katja_procedural', 'take_cocaine'
 							gs 'stat'										
 							gs 'stat'										
 							'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_coke.jpg"></center>'
 							'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_coke.jpg"></center>'
 							'"Come on, Katja. Let''s do it together," you say as you take the tube from <<$boyname>>.'
 							'"Come on, Katja. Let''s do it together," you say as you take the tube from <<$boyname>>.'
@@ -1477,7 +1477,7 @@ if $ARGS[0] = 'private_room1':
 							act 'Watch Katja do her lines':
 							act 'Watch Katja do her lines':
 								*clr & cla
 								*clr & cla
 								minut += 5
 								minut += 5
-								gs 'katja_procdural', 'take_cocaine'
+								gs 'katja_procedural', 'take_cocaine'
 								gs 'stat'										
 								gs 'stat'										
 								'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/nightclub/katja_cocaine2.jpg"></center>'
 								'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/nightclub/katja_cocaine2.jpg"></center>'
 								'You watch as Katja takes the tube, puts one end at her nose and bows down to the start of the line that <<$boyname>> has prepared for her.'
 								'You watch as Katja takes the tube, puts one end at her nose and bows down to the start of the line that <<$boyname>> has prepared for her.'
@@ -1496,7 +1496,7 @@ if $ARGS[0] = 'private_room1':
 						dur += 1
 						dur += 1
 						gs 'drugs', 'cocaine'
 						gs 'drugs', 'cocaine'
 						gs 'stat'
 						gs 'stat'
-						gs 'katja_procdural', 'take_cocaine'
+						gs 'katja_procedural', 'take_cocaine'
 						gs 'stat'										
 						gs 'stat'										
 						'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 						'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 						'"Come on, Katja. Let''s do it together," you say as you take the tube from <<$boyname>>.'
 						'"Come on, Katja. Let''s do it together," you say as you take the tube from <<$boyname>>.'
@@ -1564,7 +1564,7 @@ if $ARGS[0] = 'private_room1':
 							act 'Watch Katja do her lines':
 							act 'Watch Katja do her lines':
 								*clr & cla
 								*clr & cla
 								minut += 5
 								minut += 5
-								gs 'katja_procdural', 'take_cocaine'
+								gs 'katja_procedural', 'take_cocaine'
 								gs 'stat'										
 								gs 'stat'										
 								'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/nightclub/katja_cocaine2.jpg"></center>'
 								'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/nightclub/katja_cocaine2.jpg"></center>'
 								'You watch as Katja takes the tube, puts one end at her nose and bows down so the other end is at the start of the line that <<$boyname>> has prepared for her.'
 								'You watch as Katja takes the tube, puts one end at her nose and bows down so the other end is at the start of the line that <<$boyname>> has prepared for her.'
@@ -1583,7 +1583,7 @@ if $ARGS[0] = 'private_room1':
 						dur += 1
 						dur += 1
 						gs 'drugs', 'cocaine'
 						gs 'drugs', 'cocaine'
 						gs 'stat'
 						gs 'stat'
-						gs 'katja_procdural', 'take_cocaine'
+						gs 'katja_procedural', 'take_cocaine'
 						gs 'stat'										
 						gs 'stat'										
 						'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 						'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 						'"Okay, Katja. Let''s do it together," you say.'
 						'"Okay, Katja. Let''s do it together," you say.'
@@ -1614,7 +1614,7 @@ if $ARGS[0] = 'private_room2':
 		gs 'arousal', 'foreplay', 3
 		gs 'arousal', 'foreplay', 3
 		gs 'stat'
 		gs 'stat'
 		'You sit and talk while you sip your drinks. During this time, <<$boyname>>''s hands become more and more daring. At first, they just accidentally touch you or Katja, but as time goes on, they keep lingering on your thighs.'
 		'You sit and talk while you sip your drinks. During this time, <<$boyname>>''s hands become more and more daring. At first, they just accidentally touch you or Katja, but as time goes on, they keep lingering on your thighs.'
-		if (katjaQW['QWstage'] <= 6 and katjaQW['liberated'] = 0) or (katjaQW['simultanous_boys'] = 0 and katjaQW['liberated'] = 1) or katjaQW['boy_block'] = 1 or katjaQW['sex_clossedness'] > 0 or func('katja_procdural', 'willing_to_be_naughty') + katjQW['horny'] < rand (75,150):
+		if (katjaQW['QWstage'] <= 6 and katjaQW['liberated'] = 0) or (katjaQW['simultanous_boys'] = 0 and katjaQW['liberated'] = 1) or katjaQW['boy_block'] = 1 or katjaQW['sex_clossedness'] > 0 or func('katja_procedural', 'willing_to_be_naughty') + katjQW['horny'] < rand (75,150):
 			'Katja is having none of it, demonstrably removing his hand from her thigh when it has been the for just a second. He then tries with your thigh to see if he has more luck.'
 			'Katja is having none of it, demonstrably removing his hand from her thigh when it has been the for just a second. He then tries with your thigh to see if he has more luck.'
 			act 'Make it clear that you''re also not interested':
 			act 'Make it clear that you''re also not interested':
 				cla
 				cla
@@ -1628,7 +1628,7 @@ if $ARGS[0] = 'private_room2':
 				act 'Follow Katja to the dance floor': gt 'katja_nightclub', 'dance'
 				act 'Follow Katja to the dance floor': gt 'katja_nightclub', 'dance'
 			end
 			end
 			if katjaQW['QWstage'] >= 6 and katjaQW['sex_clossedness'] = 0 and katjaQW['boy_block'] = 0:
 			if katjaQW['QWstage'] >= 6 and katjaQW['sex_clossedness'] = 0 and katjaQW['boy_block'] = 0:
-				if func('katja_procdural', 'willing_to_be_naughty') + katjQW['horny'] > 100:
+				if func('katja_procedural', 'willing_to_be_naughty') + katjQW['horny'] > 100:
 					gs 'willpower', 'sex', 'force', 'easy'
 					gs 'willpower', 'sex', 'force', 'easy'
 				else
 				else
 					gs 'willpower', 'sex', 'force'
 					gs 'willpower', 'sex', 'force'
@@ -1663,9 +1663,9 @@ if $ARGS[0] = 'private_room2':
 			'Katja is visibly enjoying his attention and reciprocates by starting to stroke his thigh, moving closer and closer to his crutch. <<$boyname>> seems completely captivated by her and forgets about you. Moving his hand from your thigh to Katja''s breasts.'
 			'Katja is visibly enjoying his attention and reciprocates by starting to stroke his thigh, moving closer and closer to his crutch. <<$boyname>> seems completely captivated by her and forgets about you. Moving his hand from your thigh to Katja''s breasts.'
 			'"You gotta feel this, <<pcs_nickname>>," Katja says as she starts stroking his cock through his pants. "It''s '+iif(dick > 17, 'very big', 'nice')+' and hard. I think we will have a good time with it," she says in her most seductive voice.'
 			'"You gotta feel this, <<pcs_nickname>>," Katja says as she starts stroking his cock through his pants. "It''s '+iif(dick > 17, 'very big', 'nice')+' and hard. I think we will have a good time with it," she says in her most seductive voice.'
 			act 'Join Katja and have a threesome': gt 'katja_nightclub_sex', 'private_booth_FFM'
 			act 'Join Katja and have a threesome': gt 'katja_nightclub_sex', 'private_booth_FFM'
-			if func('katja_procdural', 'willing_to_be_naughty') + katjQW['horny'] > 200:
+			if func('katja_procedural', 'willing_to_be_naughty') + katjQW['horny'] > 200:
 				gs 'willpower', 'sex', 'force', 'hard'
 				gs 'willpower', 'sex', 'force', 'hard'
-			elseif func('katja_procdural', 'willing_to_be_naughty') + katjQW['horny'] > 100:
+			elseif func('katja_procedural', 'willing_to_be_naughty') + katjQW['horny'] > 100:
 				gs 'willpower', 'sex', 'force'
 				gs 'willpower', 'sex', 'force'
 			else
 			else
 				gs 'willpower', 'sex', 'force', 'easy'
 				gs 'willpower', 'sex', 'force', 'easy'
@@ -1687,7 +1687,7 @@ if $ARGS[0] = 'private_room2':
 				act 'Give them some privacy':
 				act 'Give them some privacy':
 					cla
 					cla
 					katjaQW['disco_loc'] = 7
 					katjaQW['disco_loc'] = 7
-					gs 'katja_procdural', 'sex_set', 1
+					gs 'katja_procedural', 'sex_set', 1
 					'You slowly get up and as you leave, you tell them, "Have fun, Katja. You can try to find me after you''ve finished your business."'
 					'You slowly get up and as you leave, you tell them, "Have fun, Katja. You can try to find me after you''ve finished your business."'
 					act 'Leave': gt 'city_nightclub', 'private_rooms'
 					act 'Leave': gt 'city_nightclub', 'private_rooms'
 				end
 				end

+ 13 - 13
locations/katja_city_sex.qsrc

@@ -34,7 +34,7 @@ if $ARGS[0] = 'walking_home_with_a_guy.':
 					'"OK, OK. I''ll put it away," <<$boyname>> says and leaves the room to hide his drugs.'
 					'"OK, OK. I''ll put it away," <<$boyname>> says and leaves the room to hide his drugs.'
 					*nl
 					*nl
 					'Katja has relaxed by the time he comes back, and you start to enjoy sipping your wine and making small talk. <<$boyname>>''s free hand gently caresses your and Katja''s thighs from time to time. Katja returns his touch and you do the same.'
 					'Katja has relaxed by the time he comes back, and you start to enjoy sipping your wine and making small talk. <<$boyname>>''s free hand gently caresses your and Katja''s thighs from time to time. Katja returns his touch and you do the same.'
-					if func('katja_procdural', 'willing_to_be_naughty') > 80 and katjQW['horny'] >= rand(70,100): 
+					if func('katja_procedural', 'willing_to_be_naughty') > 80 and katjQW['horny'] >= rand(70,100): 
 						'After a short while of this, Katja asks, "Why don''t you show us your bedroom?"'
 						'After a short while of this, Katja asks, "Why don''t you show us your bedroom?"'
 						'<<$boyname>> quickly gets up. "Right this way."'
 						'<<$boyname>> quickly gets up. "Right this way."'
 						act 'Go to his bedroom': gt 'katja_city_sex', 'one_guy_start'
 						act 'Go to his bedroom': gt 'katja_city_sex', 'one_guy_start'
@@ -75,7 +75,7 @@ if $ARGS[0] = 'walking_home_with_a_guy.':
 							'<center><img <<$set_imgh>> src="images/characters/shared/drugs/cocaine.jpg"></center>'
 							'<center><img <<$set_imgh>> src="images/characters/shared/drugs/cocaine.jpg"></center>'
 							'You take the tube and snort the first line and then the second, while Katja looks at you with wide open eyes.'
 							'You take the tube and snort the first line and then the second, while Katja looks at you with wide open eyes.'
 							'After a short moment, it hits you and you feel the full effect of the drug. <<$boyname>> takes the tube from you and tries to hand it to Katja, but she doesn''t take it. "I don''t do drugs. I''ve never done it before."'
 							'After a short moment, it hits you and you feel the full effect of the drug. <<$boyname>> takes the tube from you and tries to hand it to Katja, but she doesn''t take it. "I don''t do drugs. I''ve never done it before."'
-							if func('katja_procdural', 'willing_to_be_naughty') < 85:
+							if func('katja_procedural', 'willing_to_be_naughty') < 85:
 								gs 'willpower', 'drugs', 'force', 'hard'
 								gs 'willpower', 'drugs', 'force', 'hard'
 							else
 							else
 								gs 'willpower', 'drugs', 'force'
 								gs 'willpower', 'drugs', 'force'
@@ -85,7 +85,7 @@ if $ARGS[0] = 'walking_home_with_a_guy.':
 									*clr & cla
 									*clr & cla
 									minut += 8
 									minut += 8
 									gs 'willpower', 'pay', 'force'
 									gs 'willpower', 'pay', 'force'
-									gs 'katja_procdural', 'take_cocaine'
+									gs 'katja_procedural', 'take_cocaine'
 									gs 'stat'										
 									gs 'stat'										
 									'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/nightclub/katja_cocaine2.jpg"></center>'
 									'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/nightclub/katja_cocaine2.jpg"></center>'
 									'"Come on, Katja. Just try it. It won''t hurt you," you say, but Katja still looks skeptical.'
 									'"Come on, Katja. Just try it. It won''t hurt you," you say, but Katja still looks skeptical.'
@@ -159,7 +159,7 @@ if $ARGS[0] = 'walking_home_with_a_guy.':
 								gs 'willpower', 'pay', 'force'
 								gs 'willpower', 'pay', 'force'
 								gs 'drugs', 'cocaine'
 								gs 'drugs', 'cocaine'
 								gs 'stat'
 								gs 'stat'
-								gs 'katja_procdural', 'take_cocaine'
+								gs 'katja_procedural', 'take_cocaine'
 								gs 'stat'										
 								gs 'stat'										
 								'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/dorm/joint_coke.jpg"></center>'
 								'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/dorm/joint_coke.jpg"></center>'
 								'"Come on, Katja. Let''s do it together," you say as you take the tube from <<$boyname>>.'
 								'"Come on, Katja. Let''s do it together," you say as you take the tube from <<$boyname>>.'
@@ -220,7 +220,7 @@ if $ARGS[0] = 'walking_home_with_a_guy.':
 								act 'Watch Katja do her lines':
 								act 'Watch Katja do her lines':
 									*clr & cla
 									*clr & cla
 									minut += 5
 									minut += 5
-									gs 'katja_procdural', 'take_cocaine'
+									gs 'katja_procedural', 'take_cocaine'
 									gs 'stat'										
 									gs 'stat'										
 									'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/nightclub/katja_cocaine2.jpg"></center>'
 									'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/nightclub/katja_cocaine2.jpg"></center>'
 									'You watch as Katja takes the tube, puts one end at her nose and bends down to the start of the line that <<$boyname>> has prepared for her.'
 									'You watch as Katja takes the tube, puts one end at her nose and bends down to the start of the line that <<$boyname>> has prepared for her.'
@@ -238,7 +238,7 @@ if $ARGS[0] = 'walking_home_with_a_guy.':
 							minut += 8
 							minut += 8
 							gs 'drugs', 'cocaine'
 							gs 'drugs', 'cocaine'
 							gs 'stat'
 							gs 'stat'
-							gs 'katja_procdural', 'take_cocaine'
+							gs 'katja_procedural', 'take_cocaine'
 							gs 'stat'										
 							gs 'stat'										
 							'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 							'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 							'"Come on, Katja. Let''s do it together," you say as you take the tube from <<$boyname>>.'
 							'"Come on, Katja. Let''s do it together," you say as you take the tube from <<$boyname>>.'
@@ -306,7 +306,7 @@ if $ARGS[0] = 'walking_home_with_a_guy.':
 								act 'Watch Katja do her lines':
 								act 'Watch Katja do her lines':
 									*clr & cla
 									*clr & cla
 									minut += 5
 									minut += 5
-									gs 'katja_procdural', 'take_cocaine'
+									gs 'katja_procedural', 'take_cocaine'
 									gs 'stat'										
 									gs 'stat'										
 									'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/nightclub/katja_cocaine2.jpg"></center>'
 									'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/nightclub/katja_cocaine2.jpg"></center>'
 									'You watch as Katja takes the tube, puts one end at her nose and bends down so the other end is at the start of the line that <<$boyname>> has prepared for her.'
 									'You watch as Katja takes the tube, puts one end at her nose and bends down so the other end is at the start of the line that <<$boyname>> has prepared for her.'
@@ -324,7 +324,7 @@ if $ARGS[0] = 'walking_home_with_a_guy.':
 							minut += 8
 							minut += 8
 							gs 'drugs', 'cocaine'
 							gs 'drugs', 'cocaine'
 							gs 'stat'
 							gs 'stat'
-							gs 'katja_procdural', 'take_cocaine'
+							gs 'katja_procedural', 'take_cocaine'
 							gs 'stat'										
 							gs 'stat'										
 							'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 							'<center><img <<$set_imgh>> src="images/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 							'"Okay, Katja. Let''s do it together," you say.'
 							'"Okay, Katja. Let''s do it together," you say.'
@@ -339,7 +339,7 @@ if $ARGS[0] = 'walking_home_with_a_guy.':
 			end
 			end
 		else
 		else
 			'Soon, you are relaxing and having some wine. <<$boyname>>''s free hand gently caresses your and Katja''s thighs on occasion. Katja return his touch and you do the same.'
 			'Soon, you are relaxing and having some wine. <<$boyname>>''s free hand gently caresses your and Katja''s thighs on occasion. Katja return his touch and you do the same.'
-			if func('katja_procdural', 'willing_to_be_naughty') > 80 and katjQW['horny'] >= rand(70,100): 
+			if func('katja_procedural', 'willing_to_be_naughty') > 80 and katjQW['horny'] >= rand(70,100): 
 				'After a short while of touching, Katja asks, "Why don''t you show us your bedroom?"'
 				'After a short while of touching, Katja asks, "Why don''t you show us your bedroom?"'
 				'<<$boyname>> quickly gets up and says, "Right this way."'
 				'<<$boyname>> quickly gets up and says, "Right this way."'
 				act 'Go to his bedroom': gt 'katja_city_sex', 'one_guy_start'
 				act 'Go to his bedroom': gt 'katja_city_sex', 'one_guy_start'
@@ -355,7 +355,7 @@ end
 if $ARGS[0] = 'after_drugs':
 if $ARGS[0] = 'after_drugs':
 	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nightclub/private_with_guy<<rand(1,2)>>.jpg"></center>'
 	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nightclub/private_with_guy<<rand(1,2)>>.jpg"></center>'
 	'Soon you are relaxing and having some wine. <<$boyname>>''s free hand gently caresses your and Katja''s thighs on occasion. Katja return his touch and you do the same.'
 	'Soon you are relaxing and having some wine. <<$boyname>>''s free hand gently caresses your and Katja''s thighs on occasion. Katja return his touch and you do the same.'
-	if func('katja_procdural', 'willing_to_be_naughty') > 80 and katjQW['horny'] >= rand(70,100): 
+	if func('katja_procedural', 'willing_to_be_naughty') > 80 and katjQW['horny'] >= rand(70,100): 
 		'After a short while of touching, Katja asks, "Why don''t you show us your bedroom?"'
 		'After a short while of touching, Katja asks, "Why don''t you show us your bedroom?"'
 		'<<$boyname>> quickly gets up and says, "Right this way."'
 		'<<$boyname>> quickly gets up and says, "Right this way."'
 		act 'Go to his bedroom': gt 'katja_city_sex', 'one_guy_start'
 		act 'Go to his bedroom': gt 'katja_city_sex', 'one_guy_start'
@@ -587,7 +587,7 @@ if $ARGS[0] = 'one_guy_start':
 	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/city/sex/man_home_sex1.jpg"></center>'
 	'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/city/sex/man_home_sex1.jpg"></center>'
 	'<<$boyname>>''s bedroom is, like the rest of his apartment, quite nice. The center of the room, his bed, is ready for action.'
 	'<<$boyname>>''s bedroom is, like the rest of his apartment, quite nice. The center of the room, his bed, is ready for action.'
 	'"Nice bed," you say. "Let''s see if it''s as soft as it looks," you continue, and crawl up on the bed with Katja following you.'
 	'"Nice bed," you say. "Let''s see if it''s as soft as it looks," you continue, and crawl up on the bed with Katja following you.'
-	'"It''s very hot in here, I think I need to lose some of these worm clothes," '+iif(func('katja_procdural', 'willing_to_be_naughty') > 80 and katjQW['horny'] >= rand(70,100), 'Katja says', 'you say')+', and you both proceed to take off your clothes.'
+	'"It''s very hot in here, I think I need to lose some of these worm clothes," '+iif(func('katja_procedural', 'willing_to_be_naughty') > 80 and katjQW['horny'] >= rand(70,100), 'Katja says', 'you say')+', and you both proceed to take off your clothes.'
 	'"Let''s show <<$boyname>> what he has to look forward to," you whisper to Katja as you get up on all four, displaying your behind to <<$boyname>>.'
 	'"Let''s show <<$boyname>> what he has to look forward to," you whisper to Katja as you get up on all four, displaying your behind to <<$boyname>>.'
 	'Katja does the same and <<$boyname>> says, "What a fantastic view!"'
 	'Katja does the same and <<$boyname>> says, "What a fantastic view!"'
 	'Katja leans in and gives you a soft kiss, and you hear clothes being taken off behind you.'
 	'Katja leans in and gives you a soft kiss, and you hear clothes being taken off behind you.'
@@ -596,7 +596,7 @@ if $ARGS[0] = 'one_guy_start':
 		gs 'arousal', 'bj', 3, 'group'
 		gs 'arousal', 'bj', 3, 'group'
 		gs 'stat'			
 		gs 'stat'			
 		'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/city/sex/man_home_sex2.jpg"></center>'			
 		'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/city/sex/man_home_sex2.jpg"></center>'			
-		'"This is a really comfortable bed. Why don''t you join us?" '+iif(func('katja_procdural', 'willing_to_be_naughty') > 80 and katjQW['horny'] >= rand(70,100), 'Katja asks.', 'you ask.')
+		'"This is a really comfortable bed. Why don''t you join us?" '+iif(func('katja_procedural', 'willing_to_be_naughty') > 80 and katjQW['horny'] >= rand(70,100), 'Katja asks.', 'you ask.')
 		'<<$boyname>> immediately lies down on the bed between Katja and yourself.'
 		'<<$boyname>> immediately lies down on the bed between Katja and yourself.'
 		'You and Katja both sit down and start licking the sides of his <<dick>> cm <<$dick_girth>> cock.'
 		'You and Katja both sit down and start licking the sides of his <<dick>> cm <<$dick_girth>> cock.'
 		act 'Time to fuck':
 		act 'Time to fuck':
@@ -673,7 +673,7 @@ if $ARGS[0] = 'one_guy_start':
 								*clr & cla
 								*clr & cla
 								katjaQW['horny'] += rand(5,10)
 								katjaQW['horny'] += rand(5,10)
 								'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/city/sex/man_home_sex10.jpg"></center>'
 								'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/city/sex/man_home_sex10.jpg"></center>'
-								if func('katja_procdural', 'willing_to_be_naughty') > 80 and katjQW['horny'] >= rand(70,100):
+								if func('katja_procedural', 'willing_to_be_naughty') > 80 and katjQW['horny'] >= rand(70,100):
 									'"My turn, now," Katja says and crawls up on him for a reverse cowgirl and guides his cock into her pussy.'
 									'"My turn, now," Katja says and crawls up on him for a reverse cowgirl and guides his cock into her pussy.'
 								else
 								else
 									'"Your turn again, Katja." you say. "Try reverse cowgirl this time."'
 									'"Your turn again, Katja." you say. "Try reverse cowgirl this time."'

+ 1 - 1
locations/katja_dorm.qsrc

@@ -1456,7 +1456,7 @@ if $ARGS[0] = 'cocain_offer':
 		dur += 1
 		dur += 1
 		gs 'drugs', 'cocaine'
 		gs 'drugs', 'cocaine'
 		gs 'stat'
 		gs 'stat'
-		gs 'katja_procdural', 'take_cocaine'
+		gs 'katja_procedural', 'take_cocaine'
 		gs 'stat'										
 		gs 'stat'										
 		'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 		'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 		'"Okay, Katja. Let''s do it," you say.'
 		'"Okay, Katja. Let''s do it," you say.'

+ 9 - 9
locations/katja_party.qsrc

@@ -422,7 +422,7 @@ if $ARGS[0] = 'party_heading_out':
 			minut += 8
 			minut += 8
 			dur += 1
 			dur += 1
 			gs 'drugs', 'cocaine'
 			gs 'drugs', 'cocaine'
-			gs 'katja_procdural', 'take_cocaine'
+			gs 'katja_procedural', 'take_cocaine'
 			gs 'stat'										
 			gs 'stat'										
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 			'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 			'"OK, Katja. Let''s do it together," you say.'
 			'"OK, Katja. Let''s do it together," you say.'
@@ -455,7 +455,7 @@ if $ARGS[0] = 'party_heading_out':
 				minut += 8
 				minut += 8
 				dur -= 1
 				dur -= 1
 				gs 'drugs', 'cocaine'
 				gs 'drugs', 'cocaine'
-				gs 'katja_procdural', 'take_cocaine'
+				gs 'katja_procedural', 'take_cocaine'
 				gs 'stat'										
 				gs 'stat'										
 				'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 				'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 				'"I do have enough for the two of us. So let''s have some fun before we leave," you say.'
 				'"I do have enough for the two of us. So let''s have some fun before we leave," you say.'
@@ -479,7 +479,7 @@ if $ARGS[0] = 'party_heading_out':
 						cla
 						cla
 						'"You know, Katja. I''ve got some cocaine, and I wanted to try it. Why don''t we try it together?" you ask.'
 						'"You know, Katja. I''ve got some cocaine, and I wanted to try it. Why don''t we try it together?" you ask.'
 						'"You want us to do drugs?!" Katja exclaims, clearly shocked at your proposal "What has gotten into you. We can''t do that!" she continues.'
 						'"You want us to do drugs?!" Katja exclaims, clearly shocked at your proposal "What has gotten into you. We can''t do that!" she continues.'
-						if func('katja_procdural', 'willing_to_be_naughty') < 100:
+						if func('katja_procedural', 'willing_to_be_naughty') < 100:
 							gs 'willpower', 'drugs', 'force', 'hard'
 							gs 'willpower', 'drugs', 'force', 'hard'
 						else
 						else
 							gs 'willpower', 'drugs', 'force'
 							gs 'willpower', 'drugs', 'force'
@@ -503,7 +503,7 @@ if $ARGS[0] = 'party_heading_out':
 								act 'Take the drugs':
 								act 'Take the drugs':
 									*clr & cla
 									*clr & cla
 									minut += 8
 									minut += 8
-									gs 'katja_procdural', 'take_cocaine'
+									gs 'katja_procedural', 'take_cocaine'
 									dur -= 1
 									dur -= 1
 									gs 'drugs', 'cocaine'									
 									gs 'drugs', 'cocaine'									
 									gs 'stat'
 									gs 'stat'
@@ -554,7 +554,7 @@ if $ARGS[0] = 'party_heading_out':
 							'You try to hand Katja the tube, "Your turn."'
 							'You try to hand Katja the tube, "Your turn."'
 							'She''s still looking at you, like she doesn''t believe what just happened.'
 							'She''s still looking at you, like she doesn''t believe what just happened.'
 							'"I don''t do drugs. I''ve never done it before," she says, suddenly snapping out her daze.'
 							'"I don''t do drugs. I''ve never done it before," she says, suddenly snapping out her daze.'
-							if func('katja_procdural', 'willing_to_be_naughty') < 100:
+							if func('katja_procedural', 'willing_to_be_naughty') < 100:
 								gs 'willpower', 'drugs', 'force', 'hard'
 								gs 'willpower', 'drugs', 'force', 'hard'
 							else
 							else
 								gs 'willpower', 'drugs', 'force'
 								gs 'willpower', 'drugs', 'force'
@@ -565,7 +565,7 @@ if $ARGS[0] = 'party_heading_out':
 									minut += 8
 									minut += 8
 									gs 'willpower', 'pay', 'force'
 									gs 'willpower', 'pay', 'force'
 									dur = -1
 									dur = -1
-									gs 'katja_procdural', 'take_cocaine'
+									gs 'katja_procedural', 'take_cocaine'
 									gs 'stat'										
 									gs 'stat'										
 									'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nightclub/katja_cocaine2.jpg"></center>'
 									'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nightclub/katja_cocaine2.jpg"></center>'
 									'"Come on, Katja. Just try it. It won''t harm you," you say, but Katja still looks skeptical.'
 									'"Come on, Katja. Just try it. It won''t harm you," you say, but Katja still looks skeptical.'
@@ -633,7 +633,7 @@ if $ARGS[0] = 'party_heading_out':
 							gs 'willpower', 'pay', 'force'
 							gs 'willpower', 'pay', 'force'
 							gs 'drugs', 'cocaine'
 							gs 'drugs', 'cocaine'
 							dur -= 1
 							dur -= 1
-							gs 'katja_procdural', 'take_cocaine'
+							gs 'katja_procedural', 'take_cocaine'
 							gs 'stat'										
 							gs 'stat'										
 							'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_coke.jpg"></center>'
 							'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_coke.jpg"></center>'
 							'"Come on, Katja. Let''s do it together," you say and start cleaning the table.'
 							'"Come on, Katja. Let''s do it together," you say and start cleaning the table.'
@@ -671,7 +671,7 @@ if $ARGS[0] = 'party_heading_out':
 						minut += 8
 						minut += 8
 						gs 'drugs', 'cocaine'
 						gs 'drugs', 'cocaine'
 						dur -= 1
 						dur -= 1
-						gs 'katja_procdural', 'take_cocaine'
+						gs 'katja_procedural', 'take_cocaine'
 						gs 'stat'										
 						gs 'stat'										
 						'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 						'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 						'You prepare some lines for yourself and Katja and produce some tubes to use, handing one to her.'
 						'You prepare some lines for yourself and Katja and produce some tubes to use, handing one to her.'
@@ -690,7 +690,7 @@ if $ARGS[0] = 'party_heading_out':
 						minut += 8
 						minut += 8
 						gs 'drugs', 'cocaine'
 						gs 'drugs', 'cocaine'
 						dur -= 1
 						dur -= 1
-						gs 'katja_procdural', 'take_cocaine'
+						gs 'katja_procedural', 'take_cocaine'
 						gs 'stat'										
 						gs 'stat'										
 						'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 						'<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/dorm/joint_cocaine.jpg"></center>'
 						'You prepare some lines for yourself and Katja and produce some tubes to use, handing one to her.'
 						'You prepare some lines for yourself and Katja and produce some tubes to use, handing one to her.'

+ 6 - 6
locations/katja_procedural.qsrc

@@ -140,7 +140,7 @@ if $ARGS[0] = 'hourly':
 	end
 	end
 	if katjaQW['under_influnece_of_cocaine'] > 0: katjaQW['under_influnece_of_cocaine'] -= 1
 	if katjaQW['under_influnece_of_cocaine'] > 0: katjaQW['under_influnece_of_cocaine'] -= 1
 
 
-	if katjaQW['nightclub_private_room_boy'] = 1 and katjaQW['disco_loc'] ! 7: katjaQW['nightclub_private_room_boy'] = 0 & gs 'katja_procdural', 'sex_set', 1
+	if katjaQW['nightclub_private_room_boy'] = 1 and katjaQW['disco_loc'] ! 7: katjaQW['nightclub_private_room_boy'] = 0 & gs 'katja_procedural', 'sex_set', 1
 end
 end
 
 
 if $ARGS[0] = 'cikl':
 if $ARGS[0] = 'cikl':
@@ -185,7 +185,7 @@ if $ARGS[0] = 'cikl':
 	!! Setting the sex stat for Katja if she went to a private room at the nightclub and the player character did not spy on her.
 	!! Setting the sex stat for Katja if she went to a private room at the nightclub and the player character did not spy on her.
 	if katjaQW['nightclub_private_room_boy'] = 1: 
 	if katjaQW['nightclub_private_room_boy'] = 1: 
 		katjaQW['nightclub_private_room_boy'] = 0
 		katjaQW['nightclub_private_room_boy'] = 0
-		if rand(0,katjaQw['slut']/25) > 0: gs 'katja_procdural', 'sex_set', 1
+		if rand(0,katjaQw['slut']/25) > 0: gs 'katja_procedural', 'sex_set', 1
 	end
 	end
 	
 	
 	!!Out commented Katja becoming pregnant until more content for a pregnant Katja is done 
 	!!Out commented Katja becoming pregnant until more content for a pregnant Katja is done 
@@ -213,9 +213,9 @@ if $ARGS[0] = 'cikl':
 	!! Check if she did drugs with others
 	!! Check if she did drugs with others
 	if katjaQW['coke_stage'] >= 5:
 	if katjaQW['coke_stage'] >= 5:
 		if locat['katja_save2'] = 53 and katjaQW['disco_arrival'] + 600 > totminut or katjaQW['disco_met'] + 600 > totminut:
 		if locat['katja_save2'] = 53 and katjaQW['disco_arrival'] + 600 > totminut or katjaQW['disco_met'] + 600 > totminut:
-			if rand(0,katjaQW['coke_stage']) >= 5: gs 'katja_procdural', 'take_cocaine', 1, 1
+			if rand(0,katjaQW['coke_stage']) >= 5: gs 'katja_procedural', 'take_cocaine', 1, 1
 		elseif katjaQw['alone_with_other_day'] = daystart -1
 		elseif katjaQw['alone_with_other_day'] = daystart -1
-			if rand(2,katjaQW['coke_stage']) >= 5: gs 'katja_procdural', 'take_cocaine', 1, 1
+			if rand(2,katjaQW['coke_stage']) >= 5: gs 'katja_procedural', 'take_cocaine', 1, 1
 		end
 		end
 	end
 	end
 	
 	
@@ -245,14 +245,14 @@ if $ARGS[0] = 'cikl':
 			katjaQW['coke_stage'] = 5
 			katjaQW['coke_stage'] = 5
 		end
 		end
 	elseif katjaQW['coke_stage'] = 7:
 	elseif katjaQW['coke_stage'] = 7:
-		if katjaQW['coke_day'] + 1 < daystart and rand(0,3)= 0: gs 'katja_procdural', 'take_cocaine', 1, 1
+		if katjaQW['coke_day'] + 1 < daystart and rand(0,3)= 0: gs 'katja_procedural', 'take_cocaine', 1, 1
 		if katjaQW['coke_point'] > 70: 
 		if katjaQW['coke_point'] > 70: 
 			katjaQW['coke_stage'] = 8
 			katjaQW['coke_stage'] = 8
 		elseif katjaQW['coke_point'] < 45:
 		elseif katjaQW['coke_point'] < 45:
 			katjaQW['coke_stage'] = 6
 			katjaQW['coke_stage'] = 6
 		end
 		end
 	elseif katjaQW['coke_stage'] = 8:
 	elseif katjaQW['coke_stage'] = 8:
-		if katjaQW['coke_day'] + 1 < daystart: katjaQW['financial_strain'] += rand(0,1) & gs 'katja_procdural', 'take_cocaine', 1, 1
+		if katjaQW['coke_day'] + 1 < daystart: katjaQW['financial_strain'] += rand(0,1) & gs 'katja_procedural', 'take_cocaine', 1, 1
 		if katjaQW['coke_point'] < 55: katjaQW['coke_stage'] = 7
 		if katjaQW['coke_point'] < 55: katjaQW['coke_stage'] = 7
 	end
 	end