nichLivingroom.qsrc 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. # nichLivingroom
  2. CLOSE ALL
  3. $metka = ''
  4. $loc = 'nichLivingroom'
  5. $menu_loc = 'nichLivingroom'
  6. $nichLoc = 'living'
  7. $menu_arg = ''
  8. menu_off = 0
  9. $locclass = 'livingr'
  10. gs 'stat'
  11. sexpartkno = 1
  12. gs 'boyStat', 'A52'
  13. gs 'boyStat', 'A161', 'a'
  14. if nichWork = 2:
  15. if nichLastWorkDay ! daystart:
  16. gs 'nichUtil', 'startWorkday'
  17. end
  18. gs 'nichUtil', 'checkOutfit'
  19. end
  20. !! Argument return: PC has been in the room before, dont perform actions meant to be executed before or as she enters the room.
  21. if $ARGS[0] = '' or $ARGS[0] = 'start' or $ARGS[0] = 'return':
  22. $nichGalaAct = func('nichUtil','npcActivity','gala')
  23. $nichNichAct = func('nichUtil','npcActivity','nicholas')
  24. $nichTanyAct = func('nichUtil','npcActivity','tanya')
  25. nichGalaPresent = FUNC('nichUtil','isPresent','gala','living')
  26. nichNichPresent = FUNC('nichUtil','isPresent','nicholas','living')
  27. nichTanyPresent = FUNC('nichUtil','isPresent','tanya','living')
  28. if $ARGS[0] ! 'return' and nichGalaPresent = 1 and nichNichPresent = 0 and nichTanyPresent = 0 and nichEvtGalaTele1 = 0 and rand(1,3) = 1:
  29. gt $loc, 'evtGalaTele1'
  30. end
  31. '<center><b>Nicholas'' Living Room</b></center>'
  32. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/nichApartment/living.jpg"></center>'
  33. 'The living room is furnished with finest leather couches of modern design, a fireplace, a large TV on the wall, several side tables and a cabinet and fridge for various expensive alcoholic beverages.'
  34. 'Just like every other room in the apartment, it serves to convey to anybody who enters that Nicholas and his family are doing really well financially.'
  35. nichCleanAppropriate = 1
  36. if $nichNichAct = 'breakfast':
  37. !! it is assumed that there is no breakfast without Nicholas being present
  38. if $nichGalaAct = 'breakfast':
  39. if $nichTanyAct = 'breakfast':
  40. 'The family is sitting together at the dining table eating breakfast.'
  41. else
  42. 'Nicholas and Gala are sitting together at the dining table eating breakfast.'
  43. end
  44. else
  45. if $nichTanyAct = 'breakfast':
  46. 'Nicholas and Tanya are sitting together at the dining table eating breakfast.'
  47. else
  48. 'Nicholas is sitting at the dining table eating breakfast.'
  49. end
  50. end
  51. nichCleanAppropriate = 0
  52. elseif $nichNichAct = 'dinner':
  53. !! it is assumed that there is no dinner without Nicholas being present
  54. if $nichGalaAct = 'dinner':
  55. if $nichTanyAct = 'dinner':
  56. 'The family is sitting together at the dining table eating dinner.'
  57. else
  58. 'Nicholas and Gala are sitting together at the dining table eating dinner.'
  59. end
  60. else
  61. if $nichTanyAct = 'dinner':
  62. 'Nicholas and Tanya are sitting together at the dining table eating dinner.'
  63. else
  64. 'Nicholas is sitting at the dining table eating dinner.'
  65. end
  66. end
  67. nichCleanAppropriate = 0
  68. end
  69. if $nichNichAct = 'living':
  70. if $nichGalaAct = 'living':
  71. if $nichTanyAct = 'living':
  72. '<a href="exec: gt ''nichNicholas''">Nicholas</a>, <a href="exec: gt ''nichGala''">Gala</a> and Tanya are sitting on the couch watching TV together.'
  73. else
  74. '<a href="exec: gt ''nichNicholas''">Nicholas</a> and <a href="exec: gt ''nichGala''">Gala</a> are sitting on the couch watching TV together.'
  75. end
  76. else
  77. '<a href="exec: gt ''nichNicholas''">Nicholas</a> is sitting on the couch reading a book.'
  78. end
  79. else
  80. if $nichGalaAct = 'living':
  81. if $nichTanyAct = 'living':
  82. '<a href="exec: gt ''nichGala''">Gala</a> and Tanya are sitting on the couch chatting with each other.'
  83. else
  84. nichRand = rand(0,2)
  85. if nichRand = 0:
  86. '<a href="exec: gt ''nichGala''">Gala</a> is sitting on the couch reading a book.'
  87. elseif nichRand = 1:
  88. '<a href="exec: gt ''nichGala''">Gala</a> is sitting on the couch reading a magazine.'
  89. else
  90. '<a href="exec: gt ''nichGala''">Gala</a> is sitting on the couch watching tv.'
  91. end
  92. end
  93. else
  94. if $nichTanyAct = 'living':
  95. 'Tanya is sitting on the couch watching TV.'
  96. end
  97. end
  98. end
  99. if nichWork = 2 and nichOutfitState = 0:
  100. if nichNichPresent = 1:
  101. 'Nicholas looks at you with a displeased expression. "<<$pcs_nickname>>, I thought I made it clear that you have to wear your uniform here. Go back to your room and put it on."'
  102. elseif nichGalaPresent = 1:
  103. 'Gala takes a quick look at you. "<<$pcs_nickname>>, you really have to wear your maid uniform here. That''s part of your job."'
  104. elseif nichTanyPresent = 1:
  105. 'Tanya notices that you are not wearing your uniform. "<<$pcs_nickname>>, I don''t mind if you walk around the house like this. But Nicholas does. You should better put your uniform on before he anybody else sees you."'
  106. else
  107. 'You realize that you are not wearing your uniform. If Nicholas saw you now he would be displeased. You should better change into your maid outfit before walking around the apartment.'
  108. end
  109. end
  110. act '<b>Return to the hallway</b>':
  111. minut += 1
  112. gt 'nichApartment'
  113. end
  114. act 'Go to the kitchen':
  115. minut += 1
  116. gt 'nichKitchen'
  117. end
  118. if nichWork = 2:
  119. if nichCleanAppropriate = 0:
  120. 'It wouldn''t be appropriate to clean this room now.'
  121. else
  122. gs 'nichChore','inspect','living'
  123. end
  124. end
  125. killvar 'nichGalaPresent'
  126. killvar 'nichNichPresent'
  127. killvar 'nichTanyPresent'
  128. elseif $ARGS[0] = 'evtGalaTele1':
  129. menu_off = 1
  130. nichEvtGalaTele1 = 1
  131. 'Just before you enter the living room you hear the voice of Gala. Apparently she is making a phone call. She hasn''t noticed you so far.'
  132. act 'Enter': gt $loc
  133. act 'Eavesdrop':
  134. cla
  135. minut += 10
  136. 'You hear Gala talking about her hobbies, the dress she bought last week and how she despises the wife of one of Nicholas'' employees. Nothing of this is of any interest to you.'
  137. 'Just before you are about to stop eavesdropping you hear something interesting.'
  138. '"By the way: we have a new maid... Yes, another young girl."'
  139. '...'
  140. if nichGalaOpinion = 1:
  141. '"No, it''s the same type we had before. You wouldn''t believe what kind of uniform she wears around the house. I feel like living in a brothel."'
  142. '...'
  143. '"Tanya is more than ok with that! It was actually her who brought this slut into our house. They met at the gym or something like that."'
  144. '...'
  145. '"What am I supposed to tell her? That her step-father fucked our former maid... that I don''t want another slut who seduces him?"'
  146. '...'
  147. '"Yes, she vanished... she only left a letter..."'
  148. '...'
  149. '"Maybe you are right. But we should not discuss this now. Lets meet in private soon."'
  150. '...'
  151. '"Yes, that''s fine. See you then."'
  152. else
  153. '"I''m not sure. She looks quite nice. But so far I have no reason to assume that she is after Nicholas."'
  154. '...'
  155. '"Tanya likes her. It was actually her who introduced us to the new girl. They met at the gym or something like this."'
  156. '...'
  157. '"No, I don''t think so. If she wanted to steal something she would have done so already. Tanya told me that she had her over several times already."'
  158. '...'
  159. '"Girls stuff I guess. You are not implying that my daughter is a Lesbian, are you?"'
  160. '...'
  161. 'She laughs out "That means nothing. Have you taken a look in the mirror lately?"'
  162. '...'
  163. '"Anyways... I have some things to do. Will I see you next week?"'
  164. '...'
  165. '"Great. See you then."'
  166. end
  167. 'She ends her call. There is no reason to continue eavesdropping.'
  168. act 'Enter': gt $loc
  169. end
  170. elseif $ARGS[0] = 'breakfast':
  171. !! breakfast starts at 7:45 at weekdays and 8:45 at weekends
  172. !! PC will need at least 30 minutes to prepare breakfast.
  173. nichBreakfLast = daystart
  174. nichTemp = 7
  175. if week > 5:
  176. nichTemp = 8
  177. end
  178. '<center><img <<$set_imgh>> src="images/locations/city/citycenter/nichApartment/breakfast'+rand(0,5)+'.jpg"></center>'
  179. if hour < nichTemp or (hour = nichTemp and minut <= 15):
  180. 'You have enough time to prepare breakfast. You make coffee, collect the newspaper from the mailbox and place everything on the dinner table.'
  181. 'When the family members arrive one by one the breakfast table if prepared perfectly and you stand ready to fullfill additional requests.'
  182. nichBreakFQual = 1
  183. elseif hour = nichTemp and minut <= 30:
  184. 'You hastilty prepare coffee and collect the newspaper from the mailbox.'
  185. 'When the family members arrive one by one the breakfast table is only half-way ready.'
  186. 'Nicholas looks annoyed by this lack of perfection "<<$pcs_nickname>>, I expect the breakfast to be prepared in time. I won''t accept you lazing around."'
  187. nichBreakFQual = 2
  188. elseif hour = nichTemp and minut < 45:
  189. 'You hastily start prepaing breakfast. You don''t even have enough time to make coffee and collect the newspaper from the mailbox before the family members arrive.'
  190. 'Nicholas looks very annoyed by this lack of perfection "<<$pcs_nickname>>, one reason for having a maid is not having to wait for breakfast. If you don''t manage to prepare breakfast before I want to eat it I don''t see why I would need you."'
  191. nichBreakFQual = 3
  192. else
  193. 'The family is already sitting at the breakfast table. Apparently they have collected some of the items they want from the kitchen themselves.'
  194. 'Nicholas looks very annoyed by this lack of perfection "<<$pcs_nickname>>, your job is to prepare breakfast. What exactly would you say you get paid for when I have to do your chores?"'
  195. nichBreakFQual = 4
  196. end
  197. nichRand = rand(1,100)
  198. if nichTanyaUni = 0 and (nichRand <= 20 or nichDebug = 1):
  199. *nl
  200. 'Nicholas starts to read the newspaper. After a while he puts it aside and looks at Tanya.'
  201. '"Tanya, I talked to one of my friends yesterday: Dimitrij Aslanov. I think you might know him."'
  202. 'Tanya looks up from her smartphone and frowns while she tries to remember something.'
  203. '"No, that name doesn''t ring a bell."'
  204. '"It should. Dimitrij Aslanov is one of your professors. At least he would be if you attended your courses at university."'
  205. '"But attendance isn''t compulsory..."'
  206. '"That would be a valid argument if you passed your exams. I expect you to show more ambition, I expect your acedemic performance to improve."'
  207. 'Tanya doesn''t look as if she is eager about changing her lifestyle. After a few seconds she decides that agreeing is the fastest way to end this uncomfortable conversation.'
  208. '"Sigh... allright."'
  209. 'Nicholas doesn''t look convinced by Tanyas change of heart. He drops the topic nevertheless and continues reading the newspaper.'
  210. 'Once he finishes he looks up and directs his next words at you. "<<$pcs_nickname>>, I would like to speak to you when you are done cleaning up the breakfast table."'
  211. '"Of course, Master Nicholas." You reply as is expected of you.'
  212. nichTanyaUni = 1
  213. nichAfterBFEvent = 1
  214. elseif nichGalaKnowsPT = 1 and (nichRand <= 20 or nichDebug = 1):
  215. *nl
  216. 'The family members are chatting with each other about topics of little interest to you.'
  217. 'One of your duties is to refill empty glasses.'
  218. 'Just as you refill the orange juice of Gala she says to you "By the way, <<$pcs_nickname>>, I would like to speak to you when you are done cleaning up. Alone."'
  219. '"Of course, Mistress Gala." You reply as is expected of you.'
  220. nichAfterBFEvent = 10
  221. elseif nichGalaKnowsPT > 10 and nichGalaKnowsPT < 15:
  222. 'The family members are chatting with each other about topics of little interest to you.'
  223. '"<<$pcs_nickname>>, I would like to speak to you when you are done cleaning up. Alone."'
  224. '"Of course, Mistress Gala." You reply as is expected of you.'
  225. nichAfterBFEvent = 11
  226. elseif nichGalaOpponent = 20:
  227. *nl
  228. 'The family members are chatting with each other about topics of little interest to you.'
  229. '"By the way, I am missing one of my necklace." Gala looks concerned but there is something else in her face, too. Is it mischief?'
  230. '"Don''t tell me you lost it. You know I have to work hard for the money you spend on your jewelry." Nicholas seems to be both annoyed and not very interested.'
  231. '"No, I am sure that it was in my jewelery box. Somebody must have taken it."'
  232. '"<i>Somebody</i>? I''d say you take another look before suspecting <i>somebody</i>."'
  233. '"But..."'
  234. '"Enough of this. I am sure you just lost it somewhere in your wardrobe."'
  235. 'Gala looks dissapointed but drops the topic nevertheless.'
  236. nichGalaOpponent = 21
  237. elseif nichGalaOpponent = 21 or nichGalaOpponent = 22:
  238. *nl
  239. 'The family members are chatting with each other about topics of little interest to you.'
  240. '"By the way, I am still missing my necklace. And I have looked everywhere."'
  241. '"Very well then. What do you suggest we should do now?" Nicholas does a good job hiding his annoyance but it is still noticeable.'
  242. '"Lets look into each room. It has to be somewhere, doesn''t it?"'
  243. '"Okay then. We will do this after the breakfast."'
  244. nichAfterBFEvent = 100
  245. end
  246. act 'Clean up':
  247. minut += (nichTemp + 1) * 60 + 40 - (hour * 60 + minut)
  248. if nichAfterBFEvent = 1:
  249. !! Nicholas asks PC to make Tanya go to university
  250. killvar 'nichAfterBFEvent'
  251. *clr & cla
  252. '<center><img <<$set_imgh>> src="images/characters/city/nicholas/nicholas/01.jpg"></center>'
  253. 'After you are done cleaning up the table you go to Nicholas as requested.'
  254. '"<<$pcs_nickname>>, I am sure you heard what I said to Tanya earlier. I want her to become successful in life, to accomplish something on her own. But it seems as if she lacks the ambition to do so."'
  255. '"The two of you seem to get along quite well. Maybe you could speak some sense into her?"'
  256. act 'Agree':
  257. nichTanyaUni = 11
  258. '"I will try, Master Nicholas."'
  259. 'He nods. "I won''t expect more from you than that."'
  260. 'He nods again, signalling you that you are dismissed for now.'
  261. cla
  262. act 'Leave':
  263. gt 'nichLivingroom'
  264. end
  265. end
  266. elseif nichAfterBFEvent = 10:
  267. !! Gala demands PC to stop relationship with Tanya
  268. killvar 'nichAfterBFEvent'
  269. *clr & cla
  270. '<center><img <<$set_imgh>> src="images/characters/city/nicholas/gala/02.jpg"></center>'
  271. 'After you are done cleaning up the table you go to Gala as requested.'
  272. '"<<$pcs_nickname>>, don''t think you can fool me. I know what''s going on between you and my daughter."'
  273. '"Don''t get me wrong. I understand the appeal of another woman."'
  274. if nichGalaOpinion = 1:
  275. '"As a matter of fact I am quite relieved. I thought you might be after my husband. But now that I know... never mind."'
  276. end
  277. '"The thing is, that I want Tanya to have an happy life. And that includes marrying a suitable husband. And now she is in the age where she has to start looking for one."'
  278. if pcs_apprnc >= 120:
  279. '"Sadly that means that she must not be distracted by her maid. No matter how attractive the maid might be."'
  280. else
  281. '"Sadly that means that she must not be distracted by her maid."'
  282. end
  283. '"I expect you to end your affair with my Tanya. It''s for the best... of both of you."'
  284. 'You stiffen. Did she just threaten you?'
  285. '"Did I make myself clear?"'
  286. 'There is only one possible answer.'
  287. act 'Yes, Mistress Gala':
  288. nichGalaKnowsPT = 10
  289. '"Yes, Mistress Gala."'
  290. 'You wonder what Tanya will say. Maybe you could just continue like before and be more careful?'
  291. '"Good. You can go now."'
  292. cla
  293. act 'Leave':
  294. gt 'nichLivingroom'
  295. end
  296. end
  297. elseif nichAfterBFEvent = 11:
  298. !! Gala wants to know how breaking up with Tanya went
  299. killvar 'nichAfterBFEvent'
  300. *clr & cla
  301. '<center><img <<$set_imgh>> src="images/characters/city/nicholas/gala/02.jpg"></center>'
  302. 'After you are done cleaning up the table you go to Gala as requested.'
  303. '"<<$pcs_nickname>>, did you do what I told you to do? Regarding my little Tanya?"'
  304. if nichGalaKnowsPT = 11:
  305. act 'Yes':
  306. nichGalaKnowsPT = 20
  307. nichGalaOpinion = 20
  308. nichGalaTraining = 1
  309. '"Yes, Mistress Gala."'
  310. '"I thought so. Tanya appeared to be upset by something. You did the right thing, it''s the best for everybody."'
  311. 'You just nod.'
  312. '"You should look at the bright side. Now that you have some additional spare time you can focus on becomming a better maid. Just talk to me when I''m in the living room and I will teach you to become a better servant."'
  313. '"I will, Mistress Gala."'
  314. '"Good. You can go for now."'
  315. cla
  316. act 'Leave':
  317. gt 'nichLivingroom'
  318. end
  319. end
  320. elseif nichGalaKnowsPT = 12 or nichGalaKnowsPT = 13:
  321. act 'Yes (lie)':
  322. nichGalaKnowsPT = 20
  323. nichGalaOpinion = 20
  324. nichGalaTraining = 1
  325. '"Yes, Mistress Gala."'
  326. '"Really? Tanya seems to be better at hiding her feelings than I thought. Or she doesn''t mind you breaking up with her."'
  327. 'You just nod.'
  328. '"You should look at the bright side. Now that you have some additional spare time you can focus on becomming a better maid. Just talk to me when I''m in the living room and I will teach you to become a better servant."'
  329. '"I will, Mistress Gala."'
  330. '"Good. You can go for now."'
  331. cla
  332. act 'Leave':
  333. gt 'nichLivingroom'
  334. end
  335. end
  336. elseif nichGalaKnowsPT = 14:
  337. act 'No':
  338. nichGalaKnowsPT = 15
  339. nichGalaOpinion = 30
  340. if nichGalaOpponent < 10:
  341. nichGalaOpponent = 10
  342. nichGalaOpponentDay = daystart
  343. end
  344. '"No, Mistress Gala, I did not."'
  345. 'She stares at you angrily. "I thought I made myself clear. I gave you a direct order."'
  346. '"But I love Ta..."'
  347. '"Shut up! I don''t want to hear about this nonsense! Get lost now, before I forget myself!"'
  348. cla
  349. act 'Leave':
  350. gt 'nichLivingroom'
  351. end
  352. end
  353. end
  354. elseif nichAfterBFEvent = 100:
  355. !! Gala has hidden her necklace in the drawer of PC
  356. killvar 'nichAfterBFEvent'
  357. *clr & cla
  358. 'After you are done cleaning up the table Nicholas summons the whole family.'
  359. '"Well then, lets look for this missing necklace."'
  360. if nichGalaOpponent = 21:
  361. !! the necklace is in PCs desk
  362. 'Nicholas leads the small group of you through the whole apartment, inspecting every place where a necklace could be hidden.'
  363. 'The last room to be inspected is you private bedroom. Nicholas opens your drawer and pulls out the missing necklace.'
  364. '"<<$pcs_nickname>>... I can''t believe what I am seeing. I never took you for a thief. Under these circumstances I have to fire you. Be glad I don''t call the police!"'
  365. 'Gala has a triumphant smile on her face.'
  366. act 'Get fired':
  367. gt 'nichUtil', 'fired'
  368. end
  369. else
  370. !! the necklace is in Galas jewelry box
  371. 'The first place Nicholas leads is the make-up table of his personal bedroom.'
  372. 'He carefully opens the jewelry box of Gala and presents the missing necklace.'
  373. '"Just as I thought. I hope you think twice before blaming somebody else for stealing your jewelry, dear wife."'
  374. 'Gala looks as if she is foaming with anger. This clearly isn''t over yet.'
  375. nichGalaOpponent = 30
  376. act 'Leave':
  377. gt 'nichLivingroom'
  378. end
  379. end
  380. else
  381. gt 'nichLivingroom'
  382. end
  383. end
  384. end
  385. --- tanhousezal ---------------------------------