1
0

nichNicholas.qsrc 23 KB

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