nichChore.qsrc 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847
  1. # nichChore
  2. !! $nichChoreID:
  3. !! 0: hallway
  4. !! 1: guest bathroom
  5. !! 2: servant bedroom
  6. !! 3: servant bathroom
  7. !! 4: laundry
  8. !! 5: tanya bedroom
  9. !! 6: master bathroom
  10. !! 7: master bedroom
  11. !! 8: living room
  12. !! 9: kitchen
  13. !!10: study
  14. !! nichChoreTimeF: Factor to multiply basetime with
  15. if $ARGS[0] = 'inspect':
  16. if $ARGS[1] = 'hallway':
  17. $location_type = 'event'
  18. nichChoreID = 0
  19. nichChoreTimeF = 1
  20. $nichChoreType = 'floor'
  21. $nichChoreLoc = 'hallway'
  22. $nichChoreActCaption = 'Inspect Hallway'
  23. nichTimeBQuick = (10*(200-pcs_cleaning))/200
  24. nichTimeBNormal = (20*(200-pcs_cleaning))/200
  25. nichTimeBDiligent = (30*(200-pcs_cleaning))/200
  26. if nichChoreState[nichChoreID] = 0:
  27. $nichTempPic = 'images/locations/city/citycenter/nichApartment/hallway.jpg'
  28. $nichChoreDesc = 'The hallway has been cleaned recently. There is no need to clean it again.'
  29. elseif nichChoreState[nichChoreID] <= 5:
  30. $nichTempPic = 'images/locations/city/citycenter/nichApartment/hallwayDirt1.jpg'
  31. $nichChoreDesc = 'The floor is a little bit dirty.'
  32. elseif nichChoreState[nichChoreID] <= 15:
  33. nichChoreTimeF = 2
  34. $nichTempPic = 'images/locations/city/citycenter/nichApartment/hallwayDirt2.jpg'
  35. $nichChoreDesc = 'The floor is somewhat dirty. One has to be careful not to step into the dirt.'
  36. else
  37. nichChoreTimeF = 4
  38. $nichTempPic = 'images/locations/city/citycenter/nichApartment/hallwayDirt3.jpg'
  39. $nichChoreDesc = 'The floor is very dirty. Wearing shoes here would be wise because otherwise hosiery could be ruined.'
  40. end
  41. elseif $ARGS[1] = 'bathGuest':
  42. $location_type = 'event'
  43. nichChoreID = 1
  44. nichChoreTimeF = 1
  45. $nichChoreType = 'bath'
  46. $nichChoreLoc = 'hallway'
  47. $nichChoreActCaption = 'Inspect Room'
  48. nichTimeBQuick = (10*(200-pcs_cleaning))/200
  49. nichTimeBNormal = (20*(200-pcs_cleaning))/200
  50. nichTimeBDiligent = (30*(200-pcs_cleaning))/200
  51. if nichChoreState[nichChoreID] = 0:
  52. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bathroomGuest.jpg'
  53. $nichChoreDesc = 'The cloakroom hasn''t been used since it was last cleaned. There are no used towels in the basket, the end of the toilet paper is folded and the sink is in pristine condition. There is no need to clean up.'
  54. elseif nichChoreState[nichChoreID] <= 5:
  55. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bathGuestDirt1.jpg'
  56. $nichChoreDesc = 'Judging from a used towel being in the towel basket and some tiny splashes of water somebody has used this room lately. Although it being very clean Nicholas surely expects you to clean it.'
  57. elseif nichChoreState[nichChoreID] <= 15:
  58. nichChoreTimeF = 2
  59. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bathGuestDirt2.jpg'
  60. $nichChoreDesc = 'This room has been used several times since it has been cleaned for the last time. The sink is somewhat dirty, the toilet paper needs to be filled up and the fresh towels are nearly used up.'
  61. else
  62. nichChoreTimeF = 4
  63. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bathGuestDirt3.jpg'
  64. $nichChoreDesc = 'This room is dirty, which can not only be seen but also smelled. The toilet paper is used up, the sink has some water, soap and hair in it and the toilet hasn''t been flushed correctly.'
  65. end
  66. elseif $ARGS[1] = 'servant':
  67. $location_type = 'event'
  68. nichChoreID = 2
  69. nichChoreTimeF = 1
  70. $nichChoreType = 'bed'
  71. $nichChoreLoc = 'servant'
  72. $nichChoreActCaption = 'Inspect Room'
  73. nichTimeBQuick = (5*(200-pcs_cleaning))/200
  74. nichTimeBNormal = (10*(200-pcs_cleaning))/200
  75. nichTimeBDiligent = -1
  76. if nichChoreState[nichChoreID] = 0:
  77. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bedroomServant.jpg'
  78. $nichChoreDesc = 'Your room is all cleaned up. Everything is at its place, the bed is tidied up and there is no visible dust on the furniture.'
  79. elseif nichChoreState[nichChoreID] <= 5:
  80. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bedServantDirty1.jpg'
  81. $nichChoreDesc = 'Your room appears to be clean. You should make your bed though.'
  82. elseif nichChoreState[nichChoreID] <= 15:
  83. nichChoreTimeF = 2
  84. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bedServantDirty2.jpg'
  85. $nichChoreDesc = 'Some items are lying on the ground and your bed looks untidy.'
  86. else
  87. nichChoreTimeF = 4
  88. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bedServantDirty3.jpg'
  89. $nichChoreDesc = 'It appears as if most of your possessions are lying on the ground and your bed looks untidy. Also there is some visible dust on the shelves.'
  90. end
  91. elseif $ARGS[1] = 'bathServant':
  92. $location_type = 'event'
  93. nichChoreID = 3
  94. nichChoreTimeF = 1
  95. $nichChoreType = 'bath'
  96. $nichChoreLoc = 'bathServant'
  97. $nichChoreActCaption = 'Inspect Room'
  98. nichTimeBQuick = (10*(200-pcs_cleaning))/200
  99. nichTimeBNormal = (20*(200-pcs_cleaning))/200
  100. nichTimeBDiligent = -1
  101. if nichChoreState[nichChoreID] = 0:
  102. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bathroomServant.jpg'
  103. $nichChoreDesc = 'Apart from tiny inperfections you can''t avoid while using your shower and toilet your bathroom is perfectly clean.'
  104. elseif nichChoreState[nichChoreID] <= 5:
  105. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bathServantDirty1.jpg'
  106. $nichChoreDesc = 'There is a small amount of lime in the shower and you should scrub the toilet. The floor could also use some cleaning.'
  107. elseif nichChoreState[nichChoreID] <= 15:
  108. nichChoreTimeF = 2
  109. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bathServantDirty2.jpg'
  110. $nichChoreDesc = 'Your beauty products appliances clutter your sink. In addition there is some amount of lime in the shower and you should scrub the toilet. The floor could also use some cleaning.'
  111. else
  112. nichChoreTimeF = 4
  113. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bathServantDirty3.jpg'
  114. $nichChoreDesc = 'The condition of this bathroom is worse than most truck stop restrooms. It smells badly and is in dire need of cleaning.'
  115. end
  116. elseif $ARGS[1] = 'laundry':
  117. $location_type = 'event'
  118. nichChoreID = 4
  119. nichChoreTimeF = 1
  120. $nichChoreType = 'laundry'
  121. $nichChoreLoc = 'bathServant'
  122. $nichChoreActCaption = 'Inspect Laundry'
  123. nichTimeBQuick = (45*(200-pcs_cleaning))/200
  124. nichTimeBNormal = (90*(200-pcs_cleaning))/200
  125. nichTimeBDiligent = (180*(200-pcs_cleaning))/200
  126. if nichChoreState[nichChoreID] = 0:
  127. $nichTempPic = 'images/locations/city/citycenter/nichApartment/laundry0.jpg'
  128. $nichChoreDesc = 'There is no laundry to do right now.'
  129. elseif nichChoreState[nichChoreID] <= 15:
  130. $nichTempPic = 'images/locations/city/citycenter/nichApartment/laundry1.jpg'
  131. $nichChoreDesc = 'A small pile of laundry lies in front of the washing machine. It is hardly enough to fill the machine halfway.'
  132. elseif nichChoreState[nichChoreID] <= 25:
  133. $nichTempPic = 'images/locations/city/citycenter/nichApartment/laundry2.jpg'
  134. $nichChoreDesc = 'A pile of laundry lies in front of the washing machine waiting to be washed.'
  135. elseif nichChoreState[nichChoreID] <= 35:
  136. $nichTempPic = 'images/locations/city/citycenter/nichApartment/laundry3.jpg'
  137. $nichChoreDesc = 'A big pile of laundry lies in front of the washing machine. You will have to fill the machine several times to get it all done.'
  138. else
  139. $nichTempPic = 'images/locations/city/citycenter/nichApartment/laundry4.jpg'
  140. $nichChoreDesc = 'The pile of laundry in front of the washing machine is enormous. It appears as if the majority of Nicholas'' clothes is here instead of his wardrobe.'
  141. end
  142. elseif $ARGS[1] = 'tanya':
  143. $location_type = 'event'
  144. nichChoreID = 5
  145. nichChoreTimeF = 1
  146. $nichChoreType = 'bed'
  147. $nichChoreLoc = 'tanya'
  148. $nichChoreActCaption = 'Inspect Room'
  149. nichTimeBQuick = (5*(200-pcs_cleaning))/200
  150. nichTimeBNormal = (10*(200-pcs_cleaning))/200
  151. nichTimeBDiligent = -1
  152. if nichChoreState[nichChoreID] = 0:
  153. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bedroomTanja.jpg'
  154. $nichChoreDesc = 'Tanyas room is cleaned up. There is no need to clean it again.'
  155. elseif nichChoreState[nichChoreID] <= 5:
  156. $nichTempPic = 'images/locations/city/citycenter/nichApartment/tanyaDirty1.jpg'
  157. $nichChoreDesc = 'The floor of Tanyas room is cleaned up, but she has cluttered her make-up all over her desk and her bed should be done.'
  158. elseif nichChoreState[nichChoreID] <= 15:
  159. nichChoreTimeF = 2
  160. $nichTempPic = 'images/locations/city/citycenter/nichApartment/tanyaDirty2.jpg'
  161. $nichChoreDesc = 'Tanyas bed needs to be done and she has cluttered some of her dirty clothes all over her floor. You should put them into the laundry.'
  162. else
  163. nichChoreTimeF = 4
  164. $nichTempPic = 'images/locations/city/citycenter/nichApartment/tanyaDirty3.jpg'
  165. $nichChoreDesc = 'Even entering Tanyas room is difficult since she has cluttered dirty and clean clothes all over the floor.'
  166. end
  167. elseif $ARGS[1] = 'masterbath':
  168. $location_type = 'event'
  169. nichChoreID = 6
  170. nichChoreTimeF = 1
  171. $nichChoreType = 'bath'
  172. $nichChoreLoc = 'masterbath'
  173. $nichChoreActCaption = 'Inspect Room'
  174. nichTimeBQuick = (20*(200-pcs_cleaning))/200
  175. nichTimeBNormal = (40*(200-pcs_cleaning))/200
  176. nichTimeBDiligent = (60*(200-pcs_cleaning))/200
  177. if nichChoreState[nichChoreID] = 0:
  178. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bathroomMaster.jpg'
  179. $nichChoreDesc = 'Since the bathroom gets used over the day some tiny bits of spilled water and a small amount of untidiness can''t be avoided. There is no need for you to clean this bathroom now.'
  180. elseif nichChoreState[nichChoreID] <= 5:
  181. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bathMasterDirty1.jpg'
  182. $nichChoreDesc = 'There are various items cluttered around the sink, the floor could be cleaned and the bathtub could be scrubbed.'
  183. elseif nichChoreState[nichChoreID] <= 15:
  184. nichChoreTimeF = 2
  185. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bathMasterDirty2.jpg'
  186. $nichChoreDesc = 'The floor is covered in water and lime, the bathtub needs to be scrubbed and the toilet and the sink also require attention.'
  187. else
  188. nichChoreTimeF = 4
  189. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bathMasterDirty3.jpg'
  190. $nichChoreDesc = 'The bathroom is very dirty. There is also a unpleasant smell in the air.'
  191. end
  192. elseif $ARGS[1] = 'master':
  193. $location_type = 'event'
  194. nichChoreID = 7
  195. nichChoreTimeF = 1
  196. $nichChoreType = 'bed'
  197. $nichChoreLoc = 'master'
  198. $nichChoreActCaption = 'Inspect Room'
  199. nichTimeBQuick = (5*(200-pcs_cleaning))/200
  200. nichTimeBNormal = (10*(200-pcs_cleaning))/200
  201. nichTimeBDiligent = -1
  202. if nichChoreState[nichChoreID] = 0:
  203. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bedroomMaster.jpg'
  204. $nichChoreDesc = 'The bedroom of Nicholas is in pristine condition. There is no need to clean it now.'
  205. elseif nichChoreState[nichChoreID] <= 5:
  206. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bedMasterDirty1.jpg'
  207. $nichChoreDesc = 'The bed of Nicholas need to be made. You could also sweep the floor.'
  208. elseif nichChoreState[nichChoreID] <= 15:
  209. nichChoreTimeF = 2
  210. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bedMasterDirty2.jpg'
  211. $nichChoreDesc = 'There are some clothes cluttered over the floor. You should put them into the laundry. The bed also needs to be made.'
  212. else
  213. nichChoreTimeF = 4
  214. $nichTempPic = 'images/locations/city/citycenter/nichApartment/bedMasterDirty3.jpg'
  215. $nichChoreDesc = 'There are clothes cluttered over the floor and the bed. The bed needs to be made and you should clean the floor.'
  216. end
  217. elseif $ARGS[1] = 'living':
  218. $location_type = 'event'
  219. nichChoreID = 8
  220. nichChoreTimeF = 1
  221. $nichChoreType = 'furniture'
  222. $nichChoreLoc = 'living'
  223. $nichChoreActCaption = 'Inspect Room'
  224. nichTimeBQuick = (30*(200-pcs_cleaning))/200
  225. nichTimeBNormal = (60*(200-pcs_cleaning))/200
  226. nichTimeBDiligent = (120*(200-pcs_cleaning))/200
  227. if nichChoreState[nichChoreID] = 0:
  228. $nichTempPic = 'images/locations/city/citycenter/nichApartment/living.jpg'
  229. $nichChoreDesc = 'The living room of Nicholas is in pristine condition. There is no need to clean it now.'
  230. elseif nichChoreState[nichChoreID] <= 5:
  231. $nichTempPic = 'images/locations/city/citycenter/nichApartment/livingDirty1.jpg'
  232. $nichChoreDesc = 'Some whine glasses and other items are standing around the living room. You could also remove dust from the furniture and clean the floor.'
  233. elseif nichChoreState[nichChoreID] <= 15:
  234. nichChoreTimeF = 2
  235. $nichTempPic = 'images/locations/city/citycenter/nichApartment/livingDirty2.jpg'
  236. $nichChoreDesc = 'A visible layer of dust covers the floor and some of the pieces of furniture.'
  237. else
  238. nichChoreTimeF = 4
  239. $nichTempPic = 'images/locations/city/citycenter/nichApartment/livingDirty3.jpg'
  240. $nichChoreDesc = 'There are many clusters of hair and dust all over the living room. Shou need to clean the floor and the furniture.'
  241. end
  242. elseif $ARGS[1] = 'kitchen':
  243. $location_type = 'event'
  244. nichChoreID = 9
  245. nichChoreTimeF = 1
  246. $nichChoreType = 'kitchen'
  247. $nichChoreLoc = 'kitchen'
  248. $nichChoreActCaption = 'Inspect Room'
  249. nichTimeBQuick = (30*(200-pcs_cleaning))/200
  250. nichTimeBNormal = (60*(200-pcs_cleaning))/200
  251. nichTimeBDiligent = (120*(200-pcs_cleaning))/200
  252. if nichChoreState[nichChoreID] = 0:
  253. $nichTempPic = 'images/locations/city/citycenter/nichApartment/kitchen.jpg'
  254. $nichChoreDesc = 'The kitchen is in pristine condition. There is no need to clean it now.'
  255. elseif nichChoreState[nichChoreID] <= 5:
  256. $nichTempPic = 'images/locations/city/citycenter/nichApartment/kitchenDirty1.jpg'
  257. $nichChoreDesc = 'There is some dirty dishes in the sink and the stove could use some cleaning.'
  258. elseif nichChoreState[nichChoreID] <= 15:
  259. nichChoreTimeF = 2
  260. $nichTempPic = 'images/locations/city/citycenter/nichApartment/kitchenDirty2.jpg'
  261. $nichChoreDesc = 'A pile of dishes fills the sink and the sorrounding area. The floor could use some cleaning and the stove is pretty dirty.'
  262. else
  263. nichChoreTimeF = 4
  264. $nichTempPic = 'images/locations/city/citycenter/nichApartment/kitchenDirty3.jpg'
  265. $nichChoreDesc = 'The kitchen is filled with dirty dishes. The stove is dirty and you should really clean up the floor. A bad smell is in the air.'
  266. end
  267. elseif $ARGS[1] = 'study':
  268. $location_type = 'event'
  269. nichChoreID = 10
  270. nichChoreTimeF = 1
  271. $nichChoreType = 'furniture'
  272. $nichChoreLoc = 'study'
  273. $nichChoreActCaption = 'Inspect Room'
  274. nichTimeBQuick = (15*(200-pcs_cleaning))/200
  275. nichTimeBNormal = (30*(200-pcs_cleaning))/200
  276. nichTimeBDiligent = (60*(200-pcs_cleaning))/200
  277. if nichChoreState[nichChoreID] = 0:
  278. $nichTempPic = 'images/locations/city/citycenter/nichApartment/study.jpg'
  279. $nichChoreDesc = 'The study is in pristine condition. There is no need to clean it now.'
  280. elseif nichChoreState[nichChoreID] <= 5:
  281. $nichTempPic = 'images/locations/city/citycenter/nichApartment/studyDirty1.jpg'
  282. $nichChoreDesc = 'Nicholas keeps his study in a tidy condition. Nevertheless there is a tiny amount of dust on the shelves.'
  283. elseif nichChoreState[nichChoreID] <= 15:
  284. nichChoreTimeF = 2
  285. $nichTempPic = 'images/locations/city/citycenter/nichApartment/studyDirty2.jpg'
  286. $nichChoreDesc = 'A small amount of dust is on the shelves. You could also clean the keyboard of Nicholas '' computer.'
  287. else
  288. nichChoreTimeF = 4
  289. $nichTempPic = 'images/locations/city/citycenter/nichApartment/studyDirty3.jpg'
  290. $nichChoreDesc = 'The furniture is covered in a thick layer of dust dust.'
  291. end
  292. end
  293. nichtTimeQuick = nichTimeBQuick * nichChoreTimeF
  294. nichTimeNormal = nichTimeBNormal * nichChoreTimeF
  295. nichTimeDiligent = nichTimeBDiligent * nichChoreTimeF
  296. if ARGS[2] = 1: jump 'nichChoreSkipInspect'
  297. act '<<$nichChoreActCaption>>':
  298. :nichChoreSkipInspect
  299. menu_off = 1
  300. gs 'stat'
  301. *clr & cla
  302. '<center><img <<$set_imgh>> src="<<$nichTempPic>>"></center>'
  303. '<<$nichChoreDesc>>'
  304. if nichOutfitState = 0:
  305. '<b><font color = red>You have to change into an appropriate outfit before cleaning up.</font></b>'
  306. elseif nichChoreState[nichChoreID] > 0:
  307. act '(<<nichtTimeQuick>> minutes) Clean quickly':
  308. gt 'nichChore', 'work', 1
  309. end
  310. act '(<<nichTimeNormal>> minutes) Clean normally':
  311. gt 'nichChore', 'work', 2
  312. end
  313. if nichTimeDiligent > 0:
  314. act '(<<nichTimeDiligent>> minutes) Clean diligently':
  315. gt 'nichChore', 'work', 3
  316. end
  317. end
  318. end
  319. if nichChoreMode = 0:
  320. act 'Don''t clean':
  321. gt $loc, 'return'
  322. end
  323. else
  324. gs 'nichChore', 'cleanApartmentActions',0
  325. end
  326. end
  327. elseif $ARGS[0] = 'work':
  328. !! Relies on some vars being set by 'nichChore','inspect'.
  329. !! ARGS[1]:
  330. !! 1: quick
  331. !! 2: normal
  332. !! 3: diligent
  333. !! ARGS[2]:
  334. !! 0: special events enabled (default)
  335. !! 1: special events disabled
  336. !! Events which have to happen before the work result is computed
  337. if ARGS[2] ! 1:
  338. nichRand = rand(1,100)
  339. if nichChoreID = 5:
  340. !! Tanyas room
  341. if nichTanya['Relationship'] > 0 and nichTanya['Relationship'] < 4 and nichTanya['Dominance'] >= 20:
  342. !! if Tanya and Sveta are in a relationship and Tanya is dominant
  343. nichTanyPresent = FUNC('nichUtil','isPresent','tanya','bedroomTanya')
  344. if nichTanyPresent ! 0:
  345. !!and if Tanya is actually in the room
  346. if nichRand <= 30 or nichDebug = 1:
  347. '<center><img <<$set_imgh>> src="images/characters/city/tanya/encounter/dom1.jpg"></center>'
  348. 'When you start cleaning Tanya approaches you from behind and smacks you on your butt.'
  349. '"Hey <<$pcs_nickname>>, don''t miss that edge over there." she points at a small mess she obviously created on purpose.'
  350. act 'Comply':
  351. nichTanya['Dominance'] += 2
  352. 'Once you are done cleaning up the first spot Tanya points you to another one. She obviously enjoys bossing you around, taking several opportunities to hit you on you butt again.'
  353. minut += 10
  354. cla
  355. act 'Continue cleaning':
  356. gt 'nichChore', 'work', ARGS[1], 1
  357. end
  358. end
  359. act 'Tell her to stop this':
  360. nichTanya['Dominance'] -= 3
  361. 'She looks a little bit disappointed as you tell her that you are not in the mood for this right now and want to focus on your work.'
  362. cla
  363. act 'Continue cleaning':
  364. gt 'nichChore', 'work', ARGS[1], 1
  365. end
  366. end
  367. exit
  368. end
  369. end
  370. end
  371. elseif nichChoreID = 8:
  372. !! Living room
  373. if nichGalaContractActive = 1 and nichRand <= 40:
  374. !! Sveta is Galas slave
  375. if FUNC('nichUtil','isAlone','gala','living') = 1:
  376. !! Gala and Sveta are alone
  377. nichRand = rand(1,10)
  378. if nichRand <= 5:
  379. 'Gala sits on the sofa and watches you as you start cleaning. It doesn''t take long before she snaps her finger.'
  380. '"Slave! You missed a spot. Get over here!"'
  381. 'She points at her left shoe.'
  382. '"And use your tongue!"'
  383. act 'Lick her shoe':
  384. cla & *clr
  385. '<center><img <<$set_imgh>> src="images/characters/city/gala/slave/maid1.jpg"></center>'
  386. 'You get down to your knees and lick her shoe the best you can.'
  387. if nichRand = 1:
  388. '"Good enough. Now get back to work!"'
  389. act 'Continue cleaning':
  390. gt 'nichChore', 'work', ARGS[1], 1
  391. end
  392. else
  393. '"Still not clean. You are not trying hard enough!"'
  394. act 'Continue licking':
  395. cla & *clr
  396. '<center><img <<$set_imgh>> src="images/characters/city/gala/slave/maid2.jpg"></center>'
  397. 'She pushes your head down with her other foot while you continue licking her shoe.'
  398. if nichRand <= 3:
  399. '"Good enough. Now get back to work!"'
  400. act 'Continue cleaning':
  401. gt 'nichChore', 'work', ARGS[1], 1
  402. end
  403. elseif nichRand = 4:
  404. 'Finally she pulls away her shoe and inspects it closely.'
  405. '"You did a fine job there. I think you earned yourself a reward."'
  406. act 'Continue':
  407. cla & *clr
  408. '<center><img <<$set_imgh>> src="images/characters/city/gala/slave/strapon1.jpg"></center>'
  409. 'She undresses and fastens a strapon around her waist. You know what to do and drop to your knees in front of her.'
  410. 'She grabs your head and starts mercilessly fucking your skull, forcing her dildo down your throat.'
  411. 'Once she is done she forces you back to your feet by pulling your hair.'
  412. '"Enough fun. Now get back to work!"'
  413. gs 'arousal','bj',5,'rough','lesbian','deepthroat'
  414. gs 'stat'
  415. act 'Continue cleaning':
  416. gt 'nichChore', 'work', ARGS[1], 1
  417. end
  418. end
  419. else
  420. 'Finally she pulls away her shoe and inspects it closely.'
  421. '"What is that?! You made it even more dirty. I think it''s time to teach you a lesson."'
  422. act 'Continue':
  423. cla & *clr
  424. '<center><img <<$set_imgh>> src="images/characters/city/gala/slave/maid3.jpg"></center>'
  425. 'She bends you over and pulls your skirt up.'
  426. '"Don''t... be... lazy... you... stupid... cunt!"'
  427. 'She emphasizes each word with a smack on your butt. She repeats her sentence several times.'
  428. '"Do you understand? Yes? Then back to work!"'
  429. 'You pull down your skirt and get back up.'
  430. gs 'pain', 1, 'asscheeks','spank'
  431. gs 'stat'
  432. act 'Continue cleaning':
  433. gt 'nichChore', 'work', ARGS[1], 1
  434. end
  435. end
  436. end
  437. end
  438. end
  439. end
  440. else
  441. 'Gala sits on the sofa and watches you as you start cleaning. It doesn''t take long before she snaps her finger.'
  442. '"Slave! You missed a spot. Get over here! Bend over!"'
  443. act 'Bent over':
  444. cla & *clr
  445. '<center><img <<$set_imgh>> src="images/characters/city/gala/slave/maid3.jpg"></center>'
  446. 'You bend over and pull your skirt up.'
  447. '"Don''t... be... lazy... you... stupid... cunt!"'
  448. 'She emphasizes each word with a smack on your butt. She repeats her sentence several times.'
  449. '"Do you understand? Yes? Then back to work!"'
  450. 'You pull down your skirt and get back up.'
  451. gs 'pain', 1, 'asscheeks','spank'
  452. gs 'stat'
  453. act 'Continue cleaning':
  454. gt 'nichChore', 'work', ARGS[1], 1
  455. end
  456. end
  457. end
  458. exit
  459. end
  460. end
  461. end
  462. end
  463. nichRand = rand(1,100)
  464. killvar '$nichChoreResultCode'
  465. killvar 'nichChoreResulChance'
  466. $nichTempPic = func('nichUtil','cleanPic',$nichChoreType,$nichChoreLoc)
  467. nichChoreResult = 0
  468. if nichChoreID = 0:
  469. if ARGS[1] = 1:
  470. $nichChoreDesc = 'You decide to clean the hallway as quickly as possible, not wasting your time with harder to reach spots or visiting a place twice.'
  471. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that you didn''t improve the condition of the floor at all. It is still as dirty as before.' & nichChoreResult = nichChoreState[nichChoreID]"
  472. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  473. if nichChoreState[nichChoreID] > 10:
  474. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that the floor is now cleaner, but not perfectly clean.' & nichChoreResult = nichChoreState[nichChoreID] - 10"
  475. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  476. end
  477. elseif ARGS[1] = 2:
  478. $nichChoreDesc = 'You carefully clean the hallway, making sure you also remove the dirt in hard to reach corners.'
  479. else
  480. $nichChoreDesc = 'You carefully clean the hallway, making sure you also remove the dirt in hard to reach corners. Afterwards you apply a special polish to protect the wooden floor from visible aging.'
  481. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Much to your delight the polish visibly enhances the appearance of the floor.' & nichChoreResult = -1"
  482. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = pcs_cleaning
  483. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'The polish has no visible effect. The floor looks very clean nevertheless.'"
  484. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 100
  485. end
  486. elseif nichChoreID = 1:
  487. if ARGS[1] = 1:
  488. $nichChoreDesc = 'You clean the room as quickly as possible, cleaning every spot only once and using as few different cleaning agents as possible.'
  489. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that you didn''t improve the condition of the room at all. It is still as dirty as before.' & nichChoreResult = nichChoreState[nichChoreID]"
  490. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  491. if nichChoreState[nichChoreID] > 10:
  492. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that the room is now cleaner, but not perfectly clean.' & nichChoreResult = nichChoreState[nichChoreID] - 10"
  493. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  494. end
  495. elseif ARGS[1] = 2:
  496. $nichChoreDesc = 'You carefully clean the room, using the recommended cleaning agents for the toilet, the sink and the floor. You also make sure that the towels are neatly folded.'
  497. else
  498. $nichChoreDesc = 'You carefully clean the room, using the recommended cleaning agents for the toilet, the sink and the floor. You also apply a special perfume to improve the smell and fold some of the towels into hearts and swans.'
  499. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'You managed to create a perfect ambiente for every guest who wants to use this room.' & nichChoreResult = -1"
  500. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = pcs_cleaning
  501. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'The effect is not as stunning as you hoped it to be but the room is at least perfectly clean.'"
  502. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 100
  503. end
  504. elseif nichChoreID = 2:
  505. if ARGS[1] = 1:
  506. $nichChoreDesc = 'You clean your room as quickly as possible.'
  507. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that you didn''t improve the condition of the room at all. It is still as dirty as before.' & nichChoreResult = nichChoreState[nichChoreID]"
  508. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  509. if nichChoreState[nichChoreID] > 10:
  510. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that the room is now cleaner, but not perfectly clean.' & nichChoreResult = nichChoreState[nichChoreID] - 10"
  511. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  512. end
  513. elseif ARGS[1] = 2:
  514. $nichChoreDesc = 'Your carefully clean your room.'
  515. end
  516. elseif nichChoreID = 3:
  517. if ARGS[1] = 1:
  518. $nichChoreDesc = 'You clean the room as quickly as possible.'
  519. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that you didn''t improve the condition of the room at all. It is still as dirty as before.' & nichChoreResult = nichChoreState[nichChoreID]"
  520. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  521. if nichChoreState[nichChoreID] > 10:
  522. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that the room is now cleaner, but not perfectly clean.' & nichChoreResult = nichChoreState[nichChoreID] - 10"
  523. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  524. end
  525. elseif ARGS[1] = 2:
  526. $nichChoreDesc = 'Your carefully clean the room.'
  527. end
  528. elseif nichChoreID = 4:
  529. if ARGS[1] = 1:
  530. $nichChoreDesc = 'You think about seperating the clothes before you wash them, but then you decide to put them into the washing machine all at once. While the washing machine washes them you wash the delicates by hand by putting all of them into the sink at the same time. After the washing washine is done you place its load in the dryer. Afterwards you iron the clothes quickly.'
  531. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are done you realize that one of the shirts of Nicholas has some visible spots of color on it. There is no way you could fix that. Some other clothes are also affected, but you might get them clean by washing them again.' & nichChoreModLaundry1 += 1 & nichChoreResult = max (0,nichChoreState[nichChoreID] - 5)"
  532. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 10
  533. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Taking a look at the laundry you realize that you didn''t manage to clean it properly. You will have to do it all over again.' & nichChoreResult = nichChoreState[nichChoreID]"
  534. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 40
  535. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "nichChoreResult = max (0,nichChoreState[nichChoreID] - 15)"
  536. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 10000
  537. elseif ARGS[1] = 2:
  538. $nichChoreDesc = 'You start by seperating the laundry by color. While the washing machine washes the dark and then the light clothes you wash the delicates by hand. Whenever the washing washine is done you place its load in the dryer. Everything that comes from the dryer you iron.'
  539. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "nichChoreResult = max (0,nichChoreState[nichChoreID] - 20)"
  540. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 10000
  541. else
  542. $nichChoreDesc = 'You start by seperating the laundry by color and fabric. One after one you have the washing machine wash the dark cotton, white cotton, dark cloth and light cloth. Meanwhile you wash the delicates by hand. Whenever the washing washine is done you place its load in the dryer. Everything that come from the dryer you iron, making sure you don''t miss a single crease.'
  543. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'In the end the clothes smell great and are completely free of wrinkley. Nicholas surely will be pleased.' & nichChoreModLaundry2 += 1 & nichChoreResult = max (0,nichChoreState[nichChoreID] - 30)"
  544. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = pcs_cleaning
  545. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "nichChoreResult = max (0,nichChoreState[nichChoreID] - 30)"
  546. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 10000
  547. end
  548. elseif nichChoreID = 5:
  549. if ARGS[1] = 1:
  550. $nichChoreDesc = 'You clean the room as quickly as possible, cleaning every spot only once and using as few different cleaning agents as possible.'
  551. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that you didn''t improve the condition of the room at all. It is still as dirty as before.' & nichChoreResult = nichChoreState[nichChoreID]"
  552. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  553. if nichChoreState[nichChoreID] > 10:
  554. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that the room is now cleaner, but not perfectly clean.' & nichChoreResult = nichChoreState[nichChoreID] - 10"
  555. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  556. end
  557. elseif ARGS[1] = 2:
  558. $nichChoreDesc = 'You carefully clean the room, making sure you place every posession of Tanya at the right place so she can easily find it again.'
  559. end
  560. elseif nichChoreID = 6:
  561. if ARGS[1] = 1:
  562. $nichChoreDesc = 'You clean the room as quickly as possible, cleaning every spot only once and using as few different cleaning agents as possible.'
  563. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that you didn''t improve the condition of the room at all. It is still as dirty as before.' & nichChoreResult = nichChoreState[nichChoreID]"
  564. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  565. if nichChoreState[nichChoreID] > 10:
  566. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that the room is now cleaner, but not perfectly clean.' & nichChoreResult = nichChoreState[nichChoreID] - 10"
  567. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  568. end
  569. elseif ARGS[1] = 2:
  570. $nichChoreDesc = 'You carefully clean the room, using the recommended cleaning agents for the toilet, the sink and the floor. You also make sure that the towels are neatly folded.'
  571. else
  572. $nichChoreDesc = 'You carefully clean the room, using the recommended cleaning agents for the toilet, the bathtub, the shower, the sink and the floor. You also apply a special perfume to improve the smell and fold some of the towels into hearts and swans.'
  573. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'You managed to create a perfect ambiente for every family member who wants to use this room.' & nichChoreResult = -1"
  574. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = pcs_cleaning
  575. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'The effect is not as stunning as you hoped it to be but the room is at least perfectly clean.'"
  576. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 100
  577. end
  578. elseif nichChoreID = 7:
  579. if ARGS[1] = 1:
  580. $nichChoreDesc = 'You clean the room as quickly as possible, cleaning every spot only once and using as few different cleaning agents as possible.'
  581. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that you didn''t improve the condition of the room at all. It is still as dirty as before.' & nichChoreResult = nichChoreState[nichChoreID]"
  582. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  583. if nichChoreState[nichChoreID] > 10:
  584. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that the room is now cleaner, but not perfectly clean.' & nichChoreResult = nichChoreState[nichChoreID] - 10"
  585. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  586. end
  587. elseif ARGS[1] = 2:
  588. $nichChoreDesc = 'You carefully clean the room, making sure you place every posession of Nicholas at the right place so he can easily find it again.'
  589. end
  590. elseif nichChoreID = 8:
  591. if ARGS[1] = 1:
  592. $nichChoreDesc = 'You clean the room as quickly as possible, cleaning every spot only once and using as few different cleaning agents as possible.'
  593. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that you didn''t improve the condition of the room at all. It is still as dirty as before.' & nichChoreResult = nichChoreState[nichChoreID]"
  594. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  595. if nichChoreState[nichChoreID] > 10:
  596. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that the room is now cleaner, but not perfectly clean.' & nichChoreResult = nichChoreState[nichChoreID] - 10"
  597. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  598. end
  599. elseif ARGS[1] = 2:
  600. $nichChoreDesc = 'You carefully clean the room, making sure you catch every tiny bit of dust.'
  601. else
  602. $nichChoreDesc = 'You carefully clean the room, using the recommended cleaning agents for the floor and the various pieces of furniture.'
  603. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'You managed to create a perfect ambiente for every family member who wants to use this room.' & nichChoreResult = -1"
  604. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = pcs_cleaning
  605. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'The effect is not as stunning as you hoped it to be but the room is at least perfectly clean.'"
  606. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 100
  607. end
  608. elseif nichChoreID = 9:
  609. if ARGS[1] = 1:
  610. $nichChoreDesc = 'You jam all dirty dishes in the dishwasher at once and hastily clean up the stove and the floor.'
  611. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that you didn''t improve the condition of the room at all. It is still as dirty as before and the dishes didn''t get clean either.' & nichChoreResult = nichChoreState[nichChoreID]"
  612. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  613. if nichChoreState[nichChoreID] > 10:
  614. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that the room is now cleaner, but not perfectly clean.' & nichChoreResult = nichChoreState[nichChoreID] - 10"
  615. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  616. end
  617. elseif ARGS[1] = 2:
  618. $nichChoreDesc = 'You carefully clean the room, making sure you clean the silverware by hand and using the recommended cleaning agents to clean the stove and the floor.'
  619. else
  620. $nichChoreDesc = 'You carefully clean the room. In order to get the silverware sparkling you use a special silver polish and you also clean the whine glasses by hand to remove every tiny spot of imperfection.'
  621. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'The effect is very convincing. Nicholas will be pleased you payed extra attention to detail.' & nichChoreResult = -1"
  622. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = pcs_cleaning
  623. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'The effect is not as stunning as you hoped it to be but the room and the dishes are at least perfectly clean.'"
  624. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 100
  625. end
  626. elseif nichChoreID = 10:
  627. if ARGS[1] = 1:
  628. $nichChoreDesc = 'You clean the room as quickly as possible, cleaning every spot only once and using as few different cleaning agents as possible.'
  629. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that you didn''t improve the condition of the room at all. It is still as dirty as before.' & nichChoreResult = nichChoreState[nichChoreID]"
  630. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  631. if nichChoreState[nichChoreID] > 10:
  632. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = "*pl 'Once you are finished you realize that the room is now cleaner, but not perfectly clean.' & nichChoreResult = nichChoreState[nichChoreID] - 10"
  633. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 30
  634. end
  635. elseif ARGS[1] = 2:
  636. $nichChoreDesc = 'You carefully clean the room, making sure you catch every tiny bit of dust.'
  637. else
  638. $nichChoreDesc = 'You carefully clean the room, using the recommended cleaning agents for the floor and the various pieces of furniture.'
  639. !! TODO: Hidden room reveal
  640. end
  641. end
  642. !! Default to an empty event to prevent infinite loops
  643. $nichChoreResultCode[ARRSIZE('$nichChoreResultCode')] = ''
  644. nichChoreResulChance[ARRSIZE('nichChoreResulChance')] = 10000
  645. nichI = 0
  646. :nichChoreResultLoop
  647. if nichRand <= nichChoreResulChance[nichI]:
  648. '<center><img <<$set_imgh>> src="<<$nichTempPic>>"></center>'
  649. $nichChoreDesc
  650. dynamic $nichChoreResultCode[nichI]
  651. else
  652. nichRand -= nichChoreResulChance[nichI]
  653. nichI += 1
  654. jump 'nichChoreResultLoop'
  655. end
  656. if ARGS[1] = 1:
  657. minut += nichtTimeQuick
  658. gs 'exp_gain', 'cleaning', rand (0,1)
  659. elseif ARGS[1] = 2:
  660. minut += nichTimeNormal
  661. gs 'exp_gain', 'cleaning', rand (1,3)
  662. else
  663. minut += nichTimeDiligent
  664. gs 'exp_gain', 'cleaning', rand (1,5)
  665. end
  666. nichChoreState[nichChoreID] = nichChoreResult
  667. gs 'stat'
  668. killvar 'nichChoreResult'
  669. killvar '$nichChoreDesc'
  670. killvar '$nichChoreResultCode'
  671. killvar 'nichChoreResulChance'
  672. if nichChoreMode = 0:
  673. act 'Finish':
  674. gt $loc, 'return'
  675. end
  676. else
  677. gs 'nichChore', 'cleanApartmentActions',1
  678. end
  679. elseif $ARGS[0] = 'cleanApartment':
  680. if $ARGS[1] = '' or $ARGS[1] = 'start':
  681. nichChoreMode = 1
  682. if $nichChoreCurrent = '':
  683. $nichChoreCurrent = 'hallway'
  684. end
  685. gt 'nichChore', 'inspect', $nichChoreCurrent, 1
  686. elseif $ARGS[1] = 'end':
  687. killvar 'nichChoreMode'
  688. killvar '$nichChoreCurrent'
  689. gt $loc
  690. end
  691. elseif $ARGS[0] = 'cleanApartmentActions':
  692. !! ARGS[1]: whether to show the Clean Again-option (because it does not make sense if the room wasnt cleaned once)
  693. if nichChoreState[nichChoreID] > 0 and ARGS[1] = 1:
  694. act 'Clean again':
  695. gt 'nichChore', 'inspect', $nichChoreCurrent, 1
  696. end
  697. end
  698. if nichChoreID = 0:
  699. act 'Continue to guest cloakroom':
  700. $nichChoreCurrent = 'bathGuest'
  701. gt 'nichChore', 'inspect', 'bathGuest', 1
  702. end
  703. elseif nichChoreID = 1:
  704. act 'Continue to your bedroom':
  705. $nichChoreCurrent = 'servant'
  706. gt 'nichChore', 'inspect', 'servant', 1
  707. end
  708. elseif nichChoreID = 2:
  709. act 'Continue to your bathroom':
  710. $nichChoreCurrent = 'bathServant'
  711. gt 'nichChore', 'inspect', 'bathServant', 1
  712. end
  713. elseif nichChoreID = 3:
  714. act 'Check laundry':
  715. $nichChoreCurrent = 'laundry'
  716. gt 'nichChore', 'inspect', 'laundry', 1
  717. end
  718. elseif nichChoreID = 4:
  719. act 'Continue to Tanyas bedroom':
  720. $nichChoreCurrent = 'tanya'
  721. gt 'nichChore', 'inspect', 'tanya', 1
  722. end
  723. elseif nichChoreID = 5:
  724. act 'Continue to the master bathroom':
  725. $nichChoreCurrent = 'masterbath'
  726. gt 'nichChore', 'inspect', 'masterbath', 1
  727. end
  728. elseif nichChoreID = 6:
  729. act 'Continue to Nicholas'' bedroom':
  730. $nichChoreCurrent = 'master'
  731. gt 'nichChore', 'inspect', 'master', 1
  732. end
  733. elseif nichChoreID = 7:
  734. act 'Continue to the living room':
  735. $nichChoreCurrent = 'living'
  736. gt 'nichChore', 'inspect', 'living', 1
  737. end
  738. elseif nichChoreID = 8:
  739. act 'Continue to the kitchen':
  740. $nichChoreCurrent = 'kitchen'
  741. gt 'nichChore', 'inspect', 'kitchen', 1
  742. end
  743. elseif nichChoreID = 9:
  744. act 'Continue to the study':
  745. $nichChoreCurrent = 'study'
  746. gt 'nichChore', 'inspect', 'study', 1
  747. end
  748. elseif nichChoreID = 10:
  749. act 'Finish':
  750. gt 'nichChore', 'cleanApartment', 'end'
  751. end
  752. end
  753. if nichChoreID < 10:
  754. act 'Pause cleaning':
  755. gt $loc, 'return'
  756. end
  757. end
  758. end
  759. !!killvar 'nichChoreID'
  760. !!killvar 'nichChoreTimeF'
  761. !!killvar '$nichChoreType'
  762. !!killvar '$nichChoreLoc'
  763. !!killvar '$nichChoreDesc'
  764. !!killvar 'nichTimeBQuick'
  765. !!killvar 'nichTimeBNormal'
  766. !!killvar 'nichTimeBDiligent'
  767. !!killvar 'nichtTimeQuick'
  768. !!killvar 'nichTimeNormal'
  769. !!killvar 'nichTimeDiligently'
  770. --- nichChore ---------------------------------