Browse Source

Maid: new variables to better judge performance

Christine 6 years ago
parent
commit
2a313c6c18
2 changed files with 105 additions and 9 deletions
  1. 84 0
      locations/nichUtil.qsrc
  2. 21 9
      locations/tanhouse.qsrc

+ 84 - 0
locations/nichUtil.qsrc

@@ -0,0 +1,84 @@
+!! Used variables-
+!! Prefix- nich
+!! nichWork- 0= does not work for nicholas and never has, 1= currently works for nicholas, 2= quit job in good faith and could get hired again, 3= quit job in bad faith or got thrown out and nicholas is blocked
+!! nichPerformance- ranging from 0 (fired) to 100 (best)
+!! nichVacationFrom- the first free day if Sveta gets some time off 
+!! nichVactionTil- the last free day if Sveta gets some time off (=nichVacationFrom if she has one free day)
+!! nichLastWorkDay- the last day Sveta was in the appartment... needed because otherwise the player could avoid work performance checks by just not showing up here
+!! nichMissedWorkdays- the number of days Sveta has missed work... hopefully she has a good excuse
+!! nichEvaluationLast- the day Sveta had her last evaluation
+!! nichEvaluationLastReq- the last day Sveta was required to get an evaluation
+!! nichMaidLaundry- 
+!! nichMaidDishes-
+!! nichMaidGroceries:-
+
+
+if $ARGS[0] = '' or $ARGS[0] = 'start':
+	'This page should never appear. Please report this bug including a description of how you got here.'
+end
+
+if $ARGS[0] = 'startWorkday':
+	nichMissedWorkdays = daystart - nichLastWorkDay - 1
+		
+	if nichVactionTil + 1 = daystart:
+		!! this is the first day Sveta has to work after a vacation... maybe work piled up?		
+		nichMissedWorkdays = nichMissedWorkdays - nichVactionTil + nichVacationFrom -1
+	elseif nichVactionTil >= daystart and nichVacationFrom <= daystart:
+		!! Sveta does not have to work today
+		nichMissedWorkdays = nichVacationFrom - nichLastWorkDay - 1
+	end
+	
+	if nichMissedWorkdays > 0:
+		!!Sveta has missed a workday... very bad
+		nichPerformance -= 40 * nichMissedWorkdays
+		if nichPerformance <= 0:
+			'You see a note hanging at the door to your room.'
+			'"<<$pcs_nichname>>, you missed work. This is unacceptable. Take your stuff and leave. You are fired. -Nicholas"'
+			'You see all your belongings standing in front of the door prepared for your departure.'
+			gt 'nichUtil' 'fired'
+		else
+			'You see a note hanging at the door to your room.'
+			'"<<$pcs_nichname>>, you missed work. This is unacceptable. I expect this not to happen again. -Nicholas"'
+		end
+	elseif daystart > nichEvaluationLastReq and nichEvaluationLast < nichEvaluationLastReq:
+		!! Sveta has missed her last evaluation
+		nichPerformance -= 20
+		if nichPerformance <= 0:
+			'You see a note hanging at the door to your room.'
+			'"<<$pcs_nichname>>, you missed your last evaluation. This is unacceptable. Take your stuff and leave. You are fired. -Nicholas"'
+			'You see all your belongings standing in front of the door prepared for your departure.'
+			gt 'nichUtil' 'fired'
+		else
+			'You see a note hanging at the door to your room.'
+			'"<<$pcs_nichname>>, you missed your last evaluation. This is unacceptable. I expect this not to happen again. -Nicholas"'
+		end
+	end
+	
+	nichLastWorkDay = daystart
+	nichEvaluationLastReq = daystart
+end
+
+!! get rid of all variables concerning Nicholas except for nichWork
+if $ARGS[0] = 'clearVars':
+	killvar 'nichPerformance'
+	killvar 'nichVacationFrom'
+	killvar 'nichVactionTil'
+	killvar 'nichLastWorkDay'
+	killvar 'nichMissedWorkdays'
+	killvar 'nichEvaluationLast'
+	killvar 'nichEvaluationLastReq'
+	killvar 'nichMaidLaundry'
+	killvar 'nichMaidDishes'
+	killvar 'nichMaidGroceries'
+end
+
+if $ARGS[0] = 'fired':
+	'It takes you a few moments to process what just happened:'
+	'You have just been fired. And kind of lost your home, too.'
+	
+	nichWork = 2
+	
+	gs 'nichUtil' 'clearVars'
+	
+	act 'Take your belongings and leave':gt 'down'
+end

+ 21 - 9
locations/tanhouse.qsrc

@@ -7,17 +7,32 @@ $menu_loc = 'tanhouse'
 $menu_arg = ''
 menu_off = 0
 
+!! A list of used variables is included in nichUtil
+
 ! WD: stop infinite loop ~ gt 'tanhouse', 'razb'
 if $ARGS[0] = '' or $ARGS[0] = 'start':
 	*clr & cla
 	tanhouse1 = 1
-	minut += 5
 	$location_type = 'private'
 	killvar '$locclass'
 	gs 'stat'
 	'<center><b>Nicholas'' Apartment</b></center>'
 	'<center><img <<$set_imgh>> src="images/locations/city/shared/house.jpg"></center>'
-
+	'This is the apartment of Tanya''s stepfather Nicholas - it''s a luxurious and spacious city center home.'
+	if nichWork = 1:
+		'You work and live here together with him, Tanya and her mother, Gala.'
+	elseif nichWork > 1:
+		'You used to work here.'
+	end
+	'The corridor''s floor and walls are a tasteful mix of marble and wood. Besides several paintings and small statues for decoration, the only thing of note in it is are a coat and shoe rack for guests.'
+	
+	if nichWork = 1
+		if nichLastWorkDay ! daystart:
+			gs 'nichUtil' 'startWorkday'
+		end
+	end
+	
+	
 	if MaidWorkDay ! daystart:
 		MaidWorkDay = daystart
 		MaidWork = 0
@@ -42,10 +57,7 @@ if $ARGS[0] = '' or $ARGS[0] = 'start':
 		tan_work_evaluation = 0
 	end
 
-	if tanwork = 1:
-		'This is the apartment of Tanya''s stepfather Nicholas - it''s a luxurious and spacious city center home. You work and live here together with him, Tanya and her mother, Gala.' 
-		'The corridor''s floor and walls are a tasteful mix of marble and wood. Besides several paintings and small statues for decoration, the only thing of note in it is are a coat and shoe rack for guests.'
-	end
+	
 	
 	if niksvid >= 2 and hour > 12 and hour < 19 and dayrazb < daystart:gt 'tanhouse', 'razb'
 	
@@ -112,9 +124,9 @@ if $ARGS[0] = 'razb':
 	minut += 10
 	dayrazb = daystart + 7
 	'<center><img <<$set_imgh>> src="images/characters/city/nicholas/sex/h1.jpg"></center>'
-	'Walking down the hall, you hear the voice of Tanya''s mother from the hall: "<<$pcs_nickname>>, come here."' 
+	'Walking down the hall, you hear the voice of Tanya''s mother from the hall: "<<$pcs_nichname>>, come here."' 
 	'You enter the room and see that there is a man in the room with Mistress Gala. You go up to her and wait for her to speak. She seems to have noticed that you glanced at the man, because she comments: "This is my personal driver and bodyguard, Victor." You carefully inspect him and notice something protruding from the bottom of his jacket - it looks like a gun, and you doubt that it''s a toy, but she continues, demanding your attention again:'
-	'"There''s something I want to talk to you about, <<$pcs_nickname>>, something I want you to remember... and I think I know a way to make sure that you will." Suddenly, she grabs you by your hair and painfully pulls you to her. Your first instinct is to sink your nails into her face and scratch her eyes out, but then before you can lunge for her, you remember the armed guard in the room who probably wouldn''t hesitate to ''protect'' her, so all you do is grab her hands to reduce the pain. She was right about one thing, though: She has your undivided attention.'
+	'"There''s something I want to talk to you about, <<$pcs_nichname>>, something I want you to remember... and I think I know a way to make sure that you will." Suddenly, she grabs you by your hair and painfully pulls you to her. Your first instinct is to sink your nails into her face and scratch her eyes out, but then before you can lunge for her, you remember the armed guard in the room who probably wouldn''t hesitate to ''protect'' her, so all you do is grab her hands to reduce the pain. She was right about one thing, though: She has your undivided attention.'
 	'"I know what you did with my husband, you little slut", she hisses. "People in this house have eyes, you know? Did you think I don''t know whose ass he fucks? Did you believe you could just walk in here, spread your legs a couple of times and make him your sugar daddy?!" There''s something in her eyes that unsettles you, a coldness in her stare you are unfamiliar with. "That wallet on Nicholas is MINE, not yours, and you better remember that, bitch, or I''ll choke the life out of you. He has my pretty, young daughter to fuck; I don''t care about that, let him fuck some young ass, if it keeps him here. But you..."'
 	'Gala looks you up and down and the look in her eyes is one of disgust. "You are not wanted here. You''re will set my little daughter up for him to fuck but you will not go anywhere near him, do you understand?"'
 	'You are not exactly comfortable with this woman telling you what to do or not to do, and you sure as hell didn''t sign up for having Tanya''s parents take their screwed up marriage out on you when you got this job - Tanya made it sound so much easier than it turned out to be! - but you nod nonetheless, if only so she would let go of your hair.'
@@ -151,7 +163,7 @@ if $ARGS[0] = 'razb':
 				'You try licking the artificial penis and cope with its length as best you can, her and the guard''s eyes fixed on you the whole time. You don''t know how but the humiliation, the domination, or some other aspect of this scenario... flips a switch inside you: After only a few minutes, it feels to you like you have a fountain between your legs - your thighs and the sofa under your ass are getting pretty wet from your secretions. Gala notices this as well: "You sluts are all the same; as soon as you have a dick in your mouth... but you have not learned how to suck it yet - I was going easy on you so far!" With these words, she pushes the dildo deeper into your mouth.'
 				'You try to swallow it but her forcefulness causes you to gag and flinch away; the mistress doesn''t let you recover, though, and mercilessly pushes it back in and further down, and you have no choice but to try again. You take it, just barely, and she keeps going; you can feel it move down your gullet, every inch of it a struggle against your gag reflex and need for oxygen. The whole toy is a meter long and about a fifth of it has already disappeared down your throat! You''re starting to wonder how much longer you can endure this when she pulls it out, giving you a chance to catch your breath, only to reinsert it after a few seconds. This time, you swallow it immediately and mistress pushes it deeper and deeper until something between a quarter and a third of it is in and you physically can''t take any more of it.'
 				'"THAT is deepthroat", Gala declares and seems to be somewhat pleased. She brings it back up so that can breath and then, just when you think it''s over, starts to fuck your throat with it. Sometimes it is removed, letting you catch your breath, and a few seconds later, she is forcing it in again, at various speeds and depths. Finally - finally! - she seems to be getting bored.'
-				'"Let''s check what you have learned and how you put it into practice! Victor, undo your pants. <<$pcs_nickname>>, I expect you to swallow all of him." The security guard doesn''t pretend to be reluctant about this: He rises quickly, unbuttons his pants and pulls out his long, erect member.'
+				'"Let''s check what you have learned and how you put it into practice! Victor, undo your pants. <<$pcs_nichname>>, I expect you to swallow all of him." The security guard doesn''t pretend to be reluctant about this: He rises quickly, unbuttons his pants and pulls out his long, erect member.'
 				gs 'arousal', 'bj', 15, 'sub', 'humiliation', 'deepthroat'
 				gs 'stat'