1
0

nichNicholas.qsrc 23 KB

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