nichNicholas.qsrc 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  1. # nichNicholas
  2. !! Nicholas is registered as NPC A52
  3. !! nichNTRelation: 0= Tanya and Nicholas are having an affair and PC doesnt know it, 1= PC found out, 2-9= reserved for them being together, 10= Tanya broke up, 11-19= reserved, 20= Nicholas broke up
  4. !! nichFlirtCounter
  5. !! nichFlirtLast
  6. !! nichSex: -1- permanentley disabled, 0- disabled, 10- enabled
  7. !! nichGentleclubE1: -1- eventchain permanently locked, 1 - Sveta is expected to attend Nicholas at nichGentleclubDay, 2 - Sveta was too late and got noticed about this, 10 - success
  8. !! nichGentleclubDayE1
  9. !! nichGentleclubEnabled
  10. if $ARGS[0] = 'start' or $ARGS[0] = '':
  11. '<center><img <<$set_imgh>> src="images/characters/city/nicholas/01.jpg"></center>'
  12. $nichTemp = func('nichUtil','npcActivity','nicholas')
  13. if $nichTemp = 'sleep':
  14. 'Nicholas is sleeping. It would be a bad idea to wake him up now.'
  15. elseif $nichTemp = 'bathMorning' or $nichTemp = 'bathEvening' or $nichTemp = 'bathClub':
  16. 'Nicholas is currently brushing his teeth. It''s not the right time to talk to him now.'
  17. elseif $nichTemp = 'study':
  18. 'Nicholas is sitting at his computer doing his correspondence. When he is finished he might have time for you.'
  19. act 'Wait':
  20. minut += 5
  21. gt 'nichNicholas','approach'
  22. end
  23. elseif $nichTemp = 'breakfast':
  24. 'Nicholas is currently enjoying his breakfast.'
  25. elseif $nichTemp = 'leaveWork' or $nichTemp = 'leaveShopping' or $nichTemp = 'leaveClub':
  26. 'Nicholas is putting on his shoes. Apparently he has no time to speak to you now.'
  27. !!elseif $nichTemp = 'work':
  28. !! 'Nicholas is most likely at work now.'
  29. elseif $nichTemp = 'returnWork':
  30. 'Nicholas just returned from work. You should give him some time before speaking to him.'
  31. elseif $nichTemp = 'returnShopping':
  32. 'Nicholas just returned from a shopping trip. You should give him some time before speaking to him.'
  33. elseif $nichTemp = 'living':
  34. 'Nicholas is sitting on the couch. You could approach him now.'
  35. act 'Approach':
  36. gt 'nichNicholas','approach'
  37. end
  38. elseif $nichTemp = 'dinner':
  39. 'Nicholas is eating dinner.'
  40. elseif $nichTemp = 'gala':
  41. !! TODO
  42. elseif $nichTemp = 'tanya':
  43. !! TODO
  44. elseif $nichTemp = 'returnClub':
  45. 'Nicholas just returned from his club. You should give him some time before speaking to him.'
  46. end
  47. act 'Back':
  48. gt $loc, 'return'
  49. end
  50. elseif $ARGS[0] = 'approach':
  51. '<center><img <<$set_imgh>> src="images/characters/city/nicholas/01.jpg"></center>'
  52. 'You wait for Nicholas to notice you, then you approach him and curtsy.'
  53. '"<<$pcs_nickname>>, what do you want?"'
  54. if nichEvaluationLast ! daystart:
  55. act 'Evaluation':
  56. cla
  57. if hour < 12:
  58. '"It''s not even noon. Are you sure you are done for today?"'
  59. act 'Yes':
  60. gt 'nichNicholas','evaluation'
  61. end
  62. act 'No':
  63. gt $loc, 'return'
  64. end
  65. else
  66. gt 'nichNicholas','evaluation'
  67. end
  68. end
  69. end
  70. nichGalaPresent = FUNC('nichUtil','isPresent','gala',$nichLoc)
  71. nichTanyPresent = FUNC('nichUtil','isPresent','tanya',$nichLoc)
  72. if nichSex < 10 and nichSex >= 0 and nichFlirtLast ! daystart:
  73. act 'Flirt':
  74. if nichGalaPresent = 1:
  75. '<font color = red>It would be a big mistake to flirt with Nicholas while Gala is in the same room.</font>'
  76. elseif nichTanyPresent = 1:
  77. '<font color = red>You shouldn''t flirt with Nicholas while Tanya is in the same room.</font>'
  78. else
  79. gt 'nichNicholas','flirt'
  80. end
  81. end
  82. elseif nichSex >= 10:
  83. act 'Seduce':
  84. if nichGalaPresent = 1:
  85. '<font color = red>It would be a big mistake to seduce Nicholas while Gala is in the same room.</font>'
  86. elseif nichTanyPresent = 1:
  87. '<font color = red>You shouldn''t seduce Nicholas while Tanya is in the same room.</font>'
  88. else
  89. gt 'nichNicholas','seduce'
  90. end
  91. end
  92. end
  93. !! if nichGentleclubEnabled = 1:
  94. !! act 'Club':
  95. !! cla
  96. !! '"Master Nicholas, I was wondering if you would like to go the club like you suggested."'
  97. !! '"Certainly. Lets go."'
  98. !!
  99. !! act 'Go to Club':
  100. !! gt 'nichClub'
  101. !! end
  102. !! end
  103. !! end
  104. act 'Back':
  105. gt $loc, 'return'
  106. end
  107. elseif $ARGS[0] = 'sex':
  108. if $ARGS[1] = '' or $ARGS[1] = 'start':
  109. gs 'boyStat', 'A52'
  110. '<center><img <<$set_imgh>> src="images/characters/city/nicholas/sex/undress.jpg"></center>'
  111. 'You slowly undress for Nicholas.'
  112. !! Nicholas will cum at 5
  113. nichTemp = 1
  114. elseif $ARGS[1] = 'bj':
  115. '<center><img <<$set_imgh>> src="images/characters/city/nicholas/sex/bj/bj'+rand(0,10)+'.jpg"></center>'
  116. gs 'arousal', 'bj', 1
  117. nichTemp += 1
  118. elseif $ARGS[1] = 'anal':
  119. '<center><img <<$set_imgh>> src="images/characters/city/nicholas/sex/anal/anal'+rand(0,7)+'.jpg"></center>'
  120. gs 'arousal', 'anal', 1
  121. nichTemp += 1
  122. end
  123. if nichTemp < 5:
  124. gs 'stat'
  125. if nichTemp = 4:
  126. 'Nicholas moans loudly. He seems to be about to cum.'
  127. end
  128. act 'Blowjob':
  129. gt 'nichNicholas','sex','bj'
  130. end
  131. act 'Anal':
  132. gt 'nichNicholas','sex','anal'
  133. end
  134. else
  135. if $ARGS[1] = 'bj':
  136. 'He groans loudly, and you feel his hard cock erupting in your mouth. You swallow it obediently, figuring that is what he wants you to do.'
  137. spafinloc = 12
  138. elseif $ARGS[1] = 'anal':
  139. 'He groans loudly, spraying his seed deep inside your ass.'
  140. spafinloc = 3
  141. end
  142. gs 'cum_manage'
  143. gs 'arousal', 'end'
  144. gs 'stat'
  145. act 'Leave':
  146. gt $loc, 'return'
  147. end
  148. end
  149. elseif $ARGS[0] = 'seduce':
  150. '<center><img <<$set_imgh>> src="images/characters/city/nicholas/sex/seduce.jpg"></center>'
  151. '"'+$npc_nickname['A52']+'? Is there anything I can do for you?"'
  152. 'You squeze your breast together, so that '+$npc_firstname['A52']+' has a good look at them.'
  153. '"I mean <i>anything</i>."'
  154. '"Actually there is something you could help me with." he says while unzipping his pants.'
  155. act 'Further':
  156. gt 'nichNicholas','sex'
  157. end
  158. elseif $ARGS[0] = 'flirt':
  159. nichFlirtLast = daystart
  160. '<center><img <<$set_imgh>> src="images/characters/city/nicholas/sex/flirt.jpg"></center>'
  161. if nichSex < 10:
  162. nichFlirtCounter += 1
  163. if nichFlirtCounter = 1:
  164. '"Master Nicholas? I just wanted to tell you that I really like the suit you were wearing today."'
  165. '"Style is a way to say who you are without having to speak. Rachel Zoe said that. Successful people live by this motto."'
  166. '<i>Nicholas doesn''t seem to be in the mood right now. Maybe you should come back another time.</i>'
  167. elseif nichFlirtCounter = 2:
  168. '"Master Nicholas? I just wanted to tell you that I really like the new perfume you were wearing today."'
  169. '"You are your greatest asset. Put your time, effort and money into training, grooming, and encouraging your greatest asset. Tom Hopkins said something very true there. You should take this advice seriously as well."'
  170. '<i>Nicholas doesn''t seem to be in the mood right now. Maybe you should come back another time.</i>'
  171. elseif nichFlirtCounter >= 3:
  172. '"Master Nicholas? I just wanted to tell you that I really like the way your hair..."'
  173. if pcs_apprnc >= 120 or (nichNTRelation >= 10 and pcs_apprnc >= 80):
  174. '"Let me stop you right there. I know what you are up to."'
  175. 'He stands up and makes a step into your direction.'
  176. '"You are a very attractive young woman. And I would be lying if I said that I haven''t wondered how your skin feels."'
  177. 'He makes another step. He is less than one arm length away from you now. You can feel his breath on your skin as he speaks.'
  178. '"I know it should feel wrong. You are my maid. And I am a married man."'
  179. 'He gently touches your left shoulder and slowly runs his hand down your arm.'
  180. '"Yet it feels so right."'
  181. 'Just before his hand reaches your wrist he stops his movement.'
  182. '"Am I going too far? Did I get the signals wrong? Please tell me if you don''t want this too."'
  183. cla
  184. act 'I want this':
  185. nichSex = 10
  186. '"Yes, Master Nicholas. I want this."'
  187. cla
  188. act 'Further':
  189. gt 'nichNicholas','sex'
  190. end
  191. end
  192. act 'This is going too far':
  193. nichSex = -1
  194. '"I am sorry, master Nicholas. But I can''t do that."'
  195. 'He looks dissapointed.'
  196. '"I understand. Of course I have to ask you that you tell nobody about this incident."'
  197. '"Of course, Master Nicholas."'
  198. cla
  199. act 'Leave':
  200. gt $loc, 'return'
  201. end
  202. end
  203. exit
  204. else
  205. '"<<$pcs_nickname>>, I don''t think this would be appropriate. I suggest you get back to your work."'
  206. cla
  207. act 'Leave':
  208. gt $loc, 'return'
  209. end
  210. end
  211. end
  212. else
  213. gt 'nichNicholas','seduce'
  214. end
  215. act 'Back':
  216. gt $loc, 'return'
  217. end
  218. elseif $ARGS[0] = 'desc':
  219. '<center><img <<$set_imgh>> src="images/characters/city/nicholas/01.jpg"></center>'
  220. $nichTemp = func('nichUtil','npcActivity','nicholas')
  221. if $nichTemp = 'sleep':
  222. 'Usually Nicholas is sleeping at this time.'
  223. elseif $nichTemp = 'bathMorning':
  224. 'You assume that currently Nicholas is either in his bedroom or in the master bathroom.'
  225. elseif $nichTemp = 'study':
  226. 'At this time Nicholas can usually be found in his study.'
  227. elseif $nichTemp = 'breakfast':
  228. 'It''s the time Nicholas usually eats breakfast.'
  229. elseif $nichTemp = 'leaveWork':
  230. 'Nicholas is likely heading for work at the moment.'
  231. elseif $nichTemp = 'work':
  232. 'Nicholas is most likely at work now.'
  233. elseif $nichTemp = 'returnWork':
  234. 'Nicholas will return from work soon.'
  235. elseif $nichTemp = 'leaveShopping' or $nichTemp = 'shopping' or $nichTemp = 'returnShopping':
  236. 'Nicholas usually goes downtown around this time.'
  237. elseif $nichTemp = 'living':
  238. 'Nicholas seems to be in the living room.'
  239. elseif $nichTemp = 'bathEvening':
  240. 'Nicholas is likely heading for his bed now.'
  241. elseif $nichTemp = 'dinner':
  242. 'Nicholas usually eats dinner around this time.'
  243. elseif $nichTemp = 'gala':
  244. 'Nicholas seems to be in his bedroom.'
  245. elseif $nichTemp = 'tanya':
  246. 'You are sure that Nicholas is somewhere in the apartment but you don''t know where.'
  247. elseif $nichTemp = 'leaveClub' or $nichTemp = 'club' or $nichTemp = 'returnClub' or $nichTemp = 'bathClub':
  248. 'Usually Nicholas goes to his club around this time.'
  249. else
  250. 'You have no idea where Nicholas is at the moment.'
  251. end
  252. killvar '$nichTemp'
  253. act 'Back':
  254. gt $loc
  255. end
  256. elseif $ARGS[0] = 'evaluation':
  257. !! this function will not check whether PC already had an evaluation today
  258. !! calling this function with $ARGS[1] = 'silent' will clear all output in the end, use it for evaluating PC if she is not present for her evaluation
  259. nichTempEval = 0
  260. !!Appearance
  261. if spdirty > 0 or (cumloc[6] = 1 or cumloc[7] = 1) or cumloc[11] = 1 or cumloc[1] = 1 or cumloc[2] = 1 or cumloc[4] = 1 or cumloc[5] = 1 or cumloc[6] = 1 or cumloc[7] = 1 or cumloc[14] = 1 or cumloc[12] = 1:
  262. '<font color = red>Did you really think I won''t notice the cum on you? That''s beyond inappropriate.</font>'
  263. nichTempEval -= 20
  264. end
  265. if ShoHeels < 4:
  266. '<font color = orange>I understand that high heels are not a comfortable thing to wear. But your job isn''t about feeling comfortable and high heels are an essential part of your uniform.</font>'
  267. nichTempEval -= 2
  268. end
  269. if lashair ! 1 and pcs_pubes > 3 or pcs_leghair > 3:
  270. '<font color = orange>You need to take care of your body hair.</font>'
  271. nichTempEval -= 2
  272. end
  273. if pcs_hairbsh = 0:
  274. '<font color = orange>You didn''t brush your hair.</font>'
  275. nichTempEval -= 2
  276. end
  277. !! Breakfast
  278. if nichBreakfLast ! daystart:
  279. '<font color = red>You didn''t show up for breakfast today. That leaves an exceptional bad impression.</font>'
  280. nichTempEval -= 20
  281. elseif nichBreakFQual = 4:
  282. '<font color = red>You were late for breakfast today. That leaves a very bad impression.</font>'
  283. nichTempEval -= 15
  284. elseif nichBreakFQual = 3:
  285. '<font color = red>The breakfast wasn''t even half-way done when we arrived. That leaves a bad impression.</font>'
  286. nichTempEval -= 10
  287. elseif nichBreakFQual = 2:
  288. '<font color = red>The breakfast wasn''t completely done when we arrived. That leaves a bad impression.</font>'
  289. nichTempEval -= 5
  290. elseif nichBreakFQual = 1:
  291. if rand(1,10) = 0:
  292. '<font color = green>The breakfast was acceptable.</font>'
  293. nichTempEval += 1
  294. end
  295. end
  296. !! Hallway
  297. if nichChoreState[0] = -1:
  298. '<font color = green>I noticed that you applied a special polish in the hallway today. I like this show of extra effort.</font>'
  299. nichTempEval += 3
  300. nichChoreState[0] = 0
  301. elseif nichChoreState[0] = 0:
  302. if rand(1,10) <= 2:
  303. '<font color = green>You did a good job cleaning the hallway today.</font>'
  304. nichTempEval += 1
  305. end
  306. elseif nichChoreState[0] <= 5:
  307. if rand(1,10) <= 9:
  308. '<font color = orange>Did you notice the dirt in the hallway? I expect you to pay closer attention in the future.</font>'
  309. nichTempEval -= 2
  310. end
  311. elseif nichChoreState[0] <= 15:
  312. '<font color = red>The hallway is in an unacceptable condition.</font>'
  313. nichTempEval -= 10
  314. else
  315. '<font color = red>The hallway is in a catastrophic condition. You do realize that this is an apartment, not a barn?</font>'
  316. nichTempEval -= 20
  317. end
  318. !!Guest
  319. if nichChoreState[1] = -1:
  320. '<font color = green>I took a look at the guest cloakroom. You did an exceptional job there.</font>'
  321. nichTempEval += 3
  322. nichChoreState[1] = 0
  323. elseif nichChoreState[1] = 0:
  324. !! He wont comment or notice a clean guest bathroom
  325. elseif nichChoreState[1] <= 5:
  326. if rand(1,10) <= 5:
  327. '<font color = orange>Did you take a look into the guest cloakroom today? It needs some cleaning up.</font>'
  328. nichTempEval -= 2
  329. end
  330. elseif nichChoreState[1] <= 15:
  331. '<font color = red>The guest cloakroom is dirty.</font>'
  332. nichTempEval -= 10
  333. else
  334. '<font color = red>The guest cloakroom is very dirty.</font>'
  335. nichTempEval -= 20
  336. end
  337. !! Servant bedroom
  338. if nichChoreState[2] = 0:
  339. !! He wont comment a clean servant bedroom
  340. elseif nichChoreState[2] <= 5:
  341. if rand(1,10) <= 2:
  342. '<font color = orange>Your personal bedroom is a bit chaotic.</font>'
  343. nichTempEval -= 1
  344. end
  345. elseif nichChoreState[2] <= 15:
  346. if rand(1,10) <= 2:
  347. '<font color = orange>Your personal bedroom is very chaotic.</font>'
  348. nichTempEval -= 3
  349. end
  350. else
  351. if rand(1,10) <= 2:
  352. '<font color = orange>Your personal bedroom is extremely chaotic.</font>'
  353. nichTempEval -= 5
  354. end
  355. end
  356. !! Servant bathroom
  357. if nichChoreState[3] = 0:
  358. !! He wont comment a clean servant bathroom
  359. elseif nichChoreState[3] <= 5:
  360. if rand(1,10) <= 2:
  361. '<font color = orange>Your personal bathroom is a bit dirty.</font>'
  362. nichTempEval -= 1
  363. end
  364. elseif nichChoreState[3] <= 15:
  365. if rand(1,10) <= 2:
  366. '<font color = orange>Your personal bathroom is very dirty.</font>'
  367. nichTempEval -= 3
  368. end
  369. else
  370. if rand(1,10) <= 2:
  371. '<font color = orange>Your personal bathroom is extremely dirty.</font>'
  372. nichTempEval -= 5
  373. end
  374. end
  375. !! Laundry
  376. if nichChoreState[4] <= 15:
  377. !! He wont comment clean laundry
  378. elseif nichChoreState[4] <= 25:
  379. if rand(1,10) <= 8:
  380. '<font color = orange>I looked through my clothes today and found some of them missing. Are you late doing the laundry?</font>'
  381. nichTempEval -= 3
  382. end
  383. elseif nichChoreState[4] <= 35:
  384. '<font color = orange>You appear to be late doing the laundry. I''m missing several of my good shirts which should be cleaned up by now.</font>'
  385. nichTempEval -= 10
  386. else
  387. '<font color = red>Today I was forced to wear one of my shirts which don''t fit me perfectly anymore. You being this late doing the laundry is not acceptable.</font>'
  388. nichTempEval -= 20
  389. end
  390. if nichChoreModLaundry1 >= 1:
  391. '<font color = red>I heard that you ruined one of my shirts while doing the laundry.</font>'
  392. nichTempEval -= 10 * nichChoreModLaundry1
  393. killvar 'nichChoreModLaundry1'
  394. end
  395. if nichChoreModLaundry2 >= 1:
  396. '<font color = green>I took a look at the clothes you washed today. They are flawless and smell exceptionally well.</font>'
  397. nichTempEval += 3 * nichChoreModLaundry2
  398. killvar 'nichChoreModLaundry2'
  399. end
  400. !! Tanya bedroom
  401. if nichChoreState[5] = 0:
  402. !! He wont comment a clean bedroom
  403. elseif nichChoreState[5] <= 5:
  404. '<font color = orange>I have taken a look at Tanyas room. It is a bit chaotic. Even though creating this chaos is her fault it''s your responsibility to clean it up.</font>'
  405. nichTempEval -= 5
  406. elseif nichChoreState[5] <= 15:
  407. '<font color = red>I have taken a look at Tanyas room. It is very chaotic. Even though creating this chaos is her fault it''s your responsibility to clean it up.</font>'
  408. nichTempEval -= 10
  409. else
  410. '<font color = red>I have taken a look at Tanyas room. It is extremely chaotic. Even though creating this chaos is her fault it''s your responsibility to clean it up.</font>'
  411. nichTempEval -= 15
  412. end
  413. !! Master bathroom
  414. if nichChoreState[6] = -1:
  415. '<font color = green>You did an exceptional job cleaning the master bathroom. I really like the smell there. And you seem to have a talend of folding towels.</font>'
  416. nichTempEval += 3
  417. nichChoreState[6] = 0
  418. elseif nichChoreState[6] = 0:
  419. if rand(1,10) <= 3:
  420. '<font color = green>You did a good job cleaning up the master bathroom today.</font>'
  421. nichTempEval += 1
  422. end
  423. elseif nichChoreState[6] <= 5:
  424. '<font color = orange>The master bathroom is a little bit dirty. It doesn''t look like you cleaned it today. I expect it to be cleaned up perfectly in the future.</font>'
  425. nichTempEval -= 5
  426. elseif nichChoreState[6] <= 15:
  427. '<font color = red>The master bathroom is in an unacceptable condition.</font>'
  428. nichTempEval -= 10
  429. else
  430. '<font color = red>The master bathroom is in a catastrophic condition.</font>'
  431. nichTempEval -= 20
  432. end
  433. !! Master bedroom
  434. if nichChoreState[7] = 0:
  435. if rand(1,10) <= 3:
  436. '<font color = green>You did a good job cleaning up the master bedroom today.</font>'
  437. nichTempEval += 1
  438. end
  439. elseif nichChoreState[7] <= 5:
  440. '<font color = orange>The master bedroom is a little bit dirty. It doesn''t look like you cleaned it today. I expect it to be cleaned up perfectly in the future.</font>'
  441. nichTempEval -= 5
  442. elseif nichChoreState[7] <= 15:
  443. '<font color = red>The master bedroom is in an unacceptable condition.</font>'
  444. nichTempEval -= 10
  445. else
  446. '<font color = red>The master bedroom is in a catastrophic condition.</font>'
  447. nichTempEval -= 20
  448. end
  449. !! Living room
  450. if nichChoreState[8] = -1:
  451. '<font color = green>You did an exceptional job cleaning the living room.</font>'
  452. nichTempEval += 3
  453. nichChoreState[8] = 0
  454. elseif nichChoreState[8] = 0:
  455. if rand(1,10) <= 3:
  456. '<font color = green>You did a good job cleaning up the living room today.</font>'
  457. nichTempEval += 1
  458. end
  459. elseif nichChoreState[8] <= 5:
  460. '<font color = orange>The living room is a little bit dirty. It doesn''t look like you cleaned it today. I expect it to be cleaned up perfectly in the future.</font>'
  461. nichTempEval -= 5
  462. elseif nichChoreState[8] <= 15:
  463. '<font color = red>The living room is in an unacceptable condition.</font>'
  464. nichTempEval -= 10
  465. else
  466. '<font color = red>The living room is in a catastrophic condition.</font>'
  467. nichTempEval -= 20
  468. end
  469. !! Kitchen
  470. if nichChoreState[9] = -1:
  471. '<font color = green>I really like what you did with the silverware today.</font>'
  472. nichTempEval += 3
  473. nichChoreState[9] = 0
  474. elseif nichChoreState[9] = 0:
  475. if rand(1,10) <= 1:
  476. '<font color = green>You did a good job cleaning up the kitchen today.</font>'
  477. nichTempEval += 1
  478. end
  479. elseif nichChoreState[9] <= 5:
  480. '<font color = orange>The kitchen is a little bit dirty. It doesn''t look like you cleaned it today. I expect it to be cleaned up perfectly in the future.</font>'
  481. nichTempEval -= 5
  482. elseif nichChoreState[9] <= 15:
  483. '<font color = red>The kitchen is in an unacceptable condition.</font>'
  484. nichTempEval -= 10
  485. else
  486. '<font color = red>The kitchen is in a catastrophic condition.</font>'
  487. nichTempEval -= 20
  488. end
  489. !!Study
  490. if nichChoreState[10] = 0:
  491. if rand(1,10) <= 2:
  492. '<font color = green>You did a good job cleaning up the study today.</font>'
  493. nichTempEval += 1
  494. end
  495. elseif nichChoreState[10] <= 5:
  496. '<font color = orange>The study is a little bit dirty. It doesn''t look like you cleaned it today. I expect it to be cleaned up perfectly in the future.</font>'
  497. nichTempEval -= 5
  498. elseif nichChoreState[10] <= 15:
  499. '<font color = red>The study is in an unacceptable condition.</font>'
  500. nichTempEval -= 10
  501. else
  502. '<font color = red>The study is in a catastrophic condition.</font>'
  503. nichTempEval -= 20
  504. end
  505. !! Influence of other characters
  506. if nichEvalGala = 1:
  507. '<font color = green>My wife told me that you were <i>a good girl</i> today.</font>'
  508. nichTempEval += 1
  509. killvar 'nichEvalGala'
  510. elseif nichEvalGala = 2:
  511. '<font color = green>My wife told me that you were <i>a very good girl</i> today.</font>'
  512. nichTempEval += 2
  513. killvar 'nichEvalGala'
  514. end
  515. if nichGalaOpponent >= 10 and nichGalaOpponent < 20:
  516. '<font color = red>My wife told me that you performed poorly today. She didn''t tell me what you did exactly but I will take it into account nevertheless.</font>'
  517. '<i>It appears as if Gala wants to get rid of you by talking badly about your job performance.</i>'
  518. nichTempEval -= 5
  519. end
  520. !! Special events
  521. if nichGentleclubE1 > 0 and nichGentleclubE1 < 10 and nichGentleclubDayE1 < daystart:
  522. '<font color = red>I asked you to attend me yesterday evening but you didn''t show up.</font>'
  523. nichTempEval -= 10
  524. killvar 'nichGentleclubE1'
  525. end
  526. *nl
  527. if nichTempEval > 5:
  528. if nichPerformance >= 80:
  529. 'Overall you did an outstanding job today and you are consistently performing to my satisfaction. Well done.'
  530. elseif nichPerformance < 20:
  531. 'Overall you did an outstanding job today. If you keep this up I''m willing to forget past shortcomings.'
  532. else
  533. 'Overall you did an outstanding job today. Well done.'
  534. end
  535. elseif nichTempEval >= 0:
  536. if nichPerformance >= 80:
  537. 'Overall you did your job well job today and you are consistently performing to my satisfaction. Well done.'
  538. elseif nichPerformance < 20:
  539. 'Overall you did your job well job today. If you keep this up I might be willing to forget past shortcomings.'
  540. else
  541. 'Overall you did your job well job today.'
  542. end
  543. elseif nichTempEval >= -5:
  544. if nichPerformance >= 80:
  545. 'Overall you didn''t quite meet my expectations today. Since you are usually performing well that''s not a big issue.'
  546. elseif nichPerformance < 20:
  547. 'Overall you didn''t quite meet my expectations today. I''m getting tired of getting disappointed by you.'
  548. else
  549. 'Overall you didn''t quite meet my expectations today. Your performance has to improve in the future.'
  550. end
  551. else
  552. 'Overall you didn''t meet my expectations at all today.'
  553. end
  554. if nichDebug = 1:
  555. 'DEBUG: nichTempEval = <<nichTempEval>>'
  556. end
  557. nichPerformance += nichTempEval
  558. killvar 'nichTempEval'
  559. nichPerformance = min(100,max(0,nichPerformance))
  560. if $ARGS[1] = 'silent':
  561. *clr & cla
  562. !! note: the calling script has to make sure nichEvaluationLast is set to the right value
  563. else
  564. *nl
  565. if nichPerformance = 0:
  566. 'I had it with your laziness. Pack your stuff, you are fired!'
  567. *nl
  568. act 'Leave':
  569. gt 'nichUtil', 'fired'
  570. end
  571. else
  572. if nichPerformance <= 20:
  573. 'In total you are underperforming. If you keep working like this your remaining time here will be a very short one.'
  574. elseif nichPerformance <= 40:
  575. 'In total I am not satisfied by your performance. It has to improve if you want to keep your job.'
  576. elseif nichPerformance <= 60:
  577. 'In total you are doing a mediocre job. There reason for neither censure nor praise.'
  578. elseif nichPerformance <= 80:
  579. 'In total you are performing well, but there is still room for improvement.'
  580. else
  581. 'In total you are performing exceptionally well. I am glad I hired you.'
  582. end
  583. if nichWorkState = 0 and daystart >= nickHired + 7:
  584. 'In the past days you did your job well enough to pass your probation. You don''t need to worry about the legal work, I have it already sorted out for you.'
  585. 'From now on you don''t need to see me for daily performance evaluation anymore. Of course you can still ask me if you would like to have a detailed analysis of your work.'
  586. nichWorkState = 1
  587. end
  588. 'That''s all for now. You are dismissed for today.'
  589. nichEvaluationLast = daystart
  590. act 'Leave':
  591. gt $loc
  592. end
  593. end
  594. end
  595. end
  596. --- nichNicholas ---------------------------------