1
0

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