pavSharedApt.qsrc 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964
  1. # pavSharedApt
  2. gs 'themes', 'indoors'
  3. if $ARGS[0] = 'update':
  4. rentWeekly = 2000
  5. if rentLeft <= 0:rentLeft = 0
  6. !how much of the unpaid weekly rent is left
  7. if orgB > 100:orgB = 100
  8. price_cook = 50
  9. price_clean = 50
  10. price_handjob = 50
  11. price_blowjob = 100
  12. price_vaginal = 150
  13. price_anal = 200
  14. price_special = 250
  15. ! time calculations
  16. weekNum = (daystart - (daystart mod 7)) / 7
  17. ! pcs setup
  18. $pcs_font = '990099'
  19. !pink
  20. ! servitudeLvl = 0 - no service, pays rent
  21. ! servitudeLvl = 1 - nonsexual service
  22. ! servitudeLvl = 2 - sexual and nonsexual service
  23. ! nerd guy
  24. ! shy, polite, but latent kink (giving golden shower, etc.)
  25. ! brown hair, hairy, pale skin
  26. ! average dick, hairy balls
  27. ! not paying attention to his own image and looks, wears glasses
  28. $nd_name = 'Oleg'
  29. $nd_font = '0096FF'
  30. !blue
  31. nd_leaves = 9
  32. nd_comes = 18
  33. nd_sleeps = 23
  34. nd_wakes = 8
  35. if nd_rel > 100: nd_rel = 100
  36. if nd_rel < 0: nd_rel = 0
  37. ndDick = 17
  38. nd_cumMax = 80
  39. nd_cumMin = 15
  40. if nd_cumVol > nd_cumMax:nd_cumVol = nd_cumMax
  41. if nd_cumVol < nd_cumMin:nd_cumVol = nd_cumMin
  42. nd_horny = (nd_cumVol * 10000 / nd_cumMax) / 100
  43. if nd_served = 1:nd_hadSex = 1
  44. !flag if there was already a sex between him and Sveta
  45. !sex flags: nd_bj ; nd_bjDeep ; nd_swall ; nd_vag ; nd_vagCumInside ; nd_vagCumInsideUnwanted ; nd_anal ; nd_analCumInside ; nd_analCumInsideUnwanted
  46. !unlocked sex: nd_doAnal ; nd_doPornpos
  47. !nd_cleaned = 1 - if was cleaned this day already
  48. ! gopnik guy
  49. ! rude, the younger the better, aggresive, hard
  50. ! dark hair, dark skin
  51. ! above average dick, somehow maintained hairs; event: he will take some enlarging pills testing his monster cock on Sveta
  52. $gp_name = 'Nestor'
  53. $gp_font = 'CC0000'
  54. !red
  55. gp_leaves = 11
  56. gp_comes = 19
  57. gp_sleeps = 23
  58. gp_wakes = 9
  59. if gp_rel > 100: gp_rel = 100
  60. if gp_rel < 0: gp_rel = 0
  61. gpDick = 22
  62. gp_cumMax = 100
  63. gp_cumMin = 30
  64. if gp_cumVol > gp_cumMax:gp_cumVol = gp_cumMax
  65. if gp_cumVol < gp_cumMin:gp_cumVol = gp_cumMin
  66. gp_horny = (gp_cumVol * 10000 / gp_cumMax) / 100
  67. if gp_served = 1:gp_hadSex = 1
  68. !flag if there was already a sex between him and Sveta
  69. !gp_bj ; gp_bjDeep ; gp_swall ; gp_vag ; gp_vagCumInside ; gp_vagCumInsideUnwanted ; gp_anal ; gp_analCumInside ; gp_analCumInsideUnwanted
  70. !unlocked sex: gp_doAnal ; gp_doPornpos ; gp_doVacuum
  71. ! sportsman guy
  72. ! blond hair, tanned
  73. ! latent gay, muscular and athletic, secret fantasies of being used by femboy (or at least a girl with strapon)
  74. ! bellow average dick, shaved
  75. $sp_name = 'Yakov'
  76. $sp_font = '009900'
  77. !green
  78. sp_leaves = 7
  79. sp_comes = 16
  80. sp_sleeps = 22
  81. sp_wakes = 5
  82. if sp_rel > 100: sp_rel = 100
  83. if sp_rel < 0: sp_rel = 0
  84. spDick = 14
  85. sp_cumMax = 60
  86. sp_cumMin = 10
  87. sp_horny = (sp_cumVol * 10000 / sp_cumMax) / 100
  88. if sp_cumVol > sp_cumMax:sp_cumVol = sp_cumMax
  89. if sp_cumVol < sp_cumMin:sp_cumVol = sp_cumMin
  90. if sp_served = 1:sp_hadSex = 1
  91. !flag if there was already a sex between him and Sveta
  92. !sp_bj ; sp_bjDeep ; sp_swall ; sp_vag ; sp_vagCumInside ; sp_vagCumInsideUnwanted ; sp_anal ; sp_analCumInside ; sp_analCumInsideUnwanted
  93. !mood setup
  94. if nd_mood = 1:$nd_mood = 'very good'
  95. if nd_mood = 2:$nd_mood = 'good'
  96. if nd_mood = 3:$nd_mood = 'normal'
  97. if nd_mood = 4:$nd_mood = 'bad'
  98. if nd_mood = 5:$nd_mood = 'very bad'
  99. if gp_mood = 1:$gp_mood = 'very good'
  100. if gp_mood = 2:$gp_mood = 'good'
  101. if gp_mood = 3:$gp_mood = 'normal'
  102. if gp_mood = 4:$gp_mood = 'bad'
  103. if gp_mood = 5:$gp_mood = 'very bad'
  104. if sp_mood = 1:$sp_mood = 'very good'
  105. if sp_mood = 2:$sp_mood = 'good'
  106. if sp_mood = 3:$sp_mood = 'normal'
  107. if sp_mood = 4:$sp_mood = 'bad'
  108. if sp_mood = 5:$sp_mood = 'very bad'
  109. gs 'stat'
  110. if pavSharedAptDebug = 0:
  111. elseif pavSharedAptDebug = 1:
  112. '<a href="exec:pavSharedAptDebug=2">Debug</a>'
  113. elseif pavSharedAptDebug = 2:
  114. '<a href="exec:pavSharedAptDebug=1">Debug Close</a>'
  115. '<a href="exec:pavSharedAptDebug=0">Debug Disable</a>'
  116. $nd_name+' relation: '+nd_rel
  117. $gp_name+' relation: '+gp_rel
  118. $sp_name+' relation: '+sp_rel
  119. 'rentLeft: '+rentLeft
  120. 'weekNum: '+weekNum
  121. 'rentWeekNum: '+rentWeekNum
  122. 'servitudeLvl: '+servitudeLvl
  123. 'servicePaid: '+servicePaid
  124. 'cashPaid: '+cashPaid
  125. 'step: '+step
  126. 'subStep: '+subStep
  127. 'gp_mood: '+gp_mood
  128. 'gp_cumVol: '+gp_cumVol
  129. 'gp_cumVag: '+gp_cumVag
  130. 'gp_cumAnal: '+gp_cumAnal
  131. 'gp_cumSwall: '+gp_cumSwall
  132. 'nd_cumVol: '+nd_cumVol
  133. 'nd_cumMax: '+nd_cumMax
  134. 'nd_horny: '+nd_horny
  135. 'gp_horny: '+gp_horny
  136. 'sp_horny: '+sp_horny
  137. ''
  138. nd_served = 0
  139. nd_mood = 2
  140. gp_served = 0
  141. gp_mood = 2
  142. sp_mood = 2
  143. sp_served = 0
  144. end
  145. end
  146. ! accomodation advert
  147. if $ARGS[0] = 'advertNo30':
  148. $menu_loc = 'pavSharedApt'
  149. $menu_arg = 'advertNo30'
  150. menu_off = 1
  151. minut += 2
  152. seenAd = 1
  153. gs 'stat'
  154. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/pod_ob'+rand(1,2)+'.jpg"></center>'
  155. '<br>As you pass by the advertisments, you notice a sign - "сдаeтся в аренду комната" (Room for rent!). Some guys are looking for a roommate. They live in an apartment in of the other buildings in the apartment complex.'
  156. act 'Continue':gt 'pod_ezd','etaj_1'
  157. end
  158. ! door No 3 - shared
  159. if $ARGS[0] = 'doorNo30':
  160. CLOSE ALL
  161. $menu_loc = 'pavSharedApt'
  162. $menu_arg = 'doorNo30'
  163. menu_off = 1
  164. act 'Go back outside':gt 'pavComplex', 'start'
  165. if pavSharedAptEnabled = 1:
  166. '<center><img <<$set_imgh>> src="images/locations/shared/apartment/podezdhr.jpg"></center>'
  167. '<br>You stand before the entry door to apartment No 30. The apartment you share with three others'
  168. act 'Go inside':gt 'pavSharedApt', 'start'
  169. else
  170. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/aptno3door.jpg"></center>'
  171. '<br>You stand before the entry door to apartment No 30. There is a sign on the door saying - "сдаeтся в аренду комната" (Room for rent).'
  172. act 'Knock on the door':gt 'pavSharedApt', 'intro'
  173. end
  174. end
  175. ! apt hall
  176. if $ARGS[0] = 'start':
  177. $menu_loc = 'pavSharedApt'
  178. $menu_arg = 'start'
  179. menu_off = 0
  180. $locM = 'pavSharedApt'
  181. $metkaM = 'start'
  182. $loc = 'pavSharedApt'
  183. $metka = 'start'
  184. $goBack = $metka
  185. $location_type = 'private'
  186. killvar '$locclass'
  187. gs 'pavSharedApt', 'update'
  188. if introDone = 0:gt 'pavSharedApt', 'intro'
  189. minut += 2
  190. gs 'stat'
  191. if courtletter_date <= daystart and courtletter_date ! 0: gt 'sentence', 'letter'
  192. ! do this once a day
  193. if daystart >= tomorrow:
  194. tomorrow = daystart + 1
  195. nd_mood = rand (1, 5)
  196. nd_served = 0
  197. nd_cleaned = 0
  198. nd_cumVol += rand(15, 30)
  199. gp_mood = rand (1, 5)
  200. gp_served = 0
  201. gp_cleaned = 0
  202. gp_cumVol = rand(20, 40)
  203. sp_mood = rand (1, 5)
  204. sp_served = 0
  205. sp_cleaned = 0
  206. sp_cumVol += rand(5, 20)
  207. end
  208. ! do this every time
  209. rentLeft = rentWeekly - servicePaid - cashPaid
  210. '<center><h3>Hallway</h3></center>'
  211. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/hallway.jpg"></center>'
  212. 'It is week number <<weekNum>>.'
  213. if weekNum < rentWeekNum:
  214. if rentLeft > 0:
  215. 'You have left <<rentLeft>> <b>₽</b> of rent to pay for the next week.'
  216. if servitudeLvl >= 1:
  217. 'You may still pay it in <a href="exec:gt ''pavSharedApt'', ''payCash''">cash</a>, if you want.'
  218. else
  219. 'Pay it in <a href="exec:gt ''pavSharedApt'', ''payCash''">cash</a>.'
  220. end
  221. else
  222. 'You have already paid the whole rent for the next week.'
  223. end
  224. elseif weekNum >= rentWeekNum:
  225. if rentLeft = 0:
  226. !rent was forepaid, everything OK, proceed to next week
  227. rentLeft += 2000
  228. cashPaid = 0
  229. rentWeekNum = weekNum + 1
  230. elseif rentLeft > 0:
  231. !rent was not fully paid
  232. 'You did not pay the whole rent for this week. You still have to pay <<rentLeft>> <b>₽</b>.'
  233. if money >= rentLeft:
  234. !not enough cash to pay it manually
  235. 'You still can pay it in <a href="exec:gt ''pavSharedApt'', ''payCash''">cash</a>, otwerwise you''ll be kicked out!'
  236. else
  237. !in future add some way to serve your way out
  238. 'You do not have enough money to pay the rest of the rent in cash, even if you wanted to. Guess you''ll have to find a new living place...'
  239. rentPaid = 0
  240. pavSharedAptEnabled = 0
  241. end
  242. end
  243. end
  244. act '<b>Leave and go outside</b>':
  245. if $clothingworntype ! 'nude':
  246. gt 'pavComplex', 'start'
  247. else
  248. msg'<b><font color = red>You need to get dressed.</font></b>'
  249. gt 'pavSharedApt', 'start'
  250. end
  251. end
  252. if NatbelQW['QWstage'] >= 4 and week < 6 and hour = 7 and kanikuli = 0 and SchoolAtestat = 0 and SchoolBlock = 0 and (PCloStyle2 = 4 or Enable_sforma = 1):
  253. act 'Go pick up Natasha before school': gt 'natbelEv', 'carrybooks'
  254. end
  255. if rentPaid = 1:
  256. 'A large apartment currently serves as shared living. As well as the normal living spaces, there are four bedrooms, one rented by you and three occupied by <a href="exec: gt ''pavShared_nd'', ''ndDick''"><font color=#<<$nd_font>>><<$nd_name>></font></a>, <a href="exec: gt ''pavShared_gp'', ''gpDick''"><font color=#<<$gp_font>>><<$gp_name>></font></a>, <a href="exec: gt ''pavShared_sp'', ''spDick''"><font color=#<<$sp_font>>><<$sp_name>></font></a>.'
  257. 'You stand in the hallway. '
  258. ''
  259. 'From the hallway several doors lead to <a href="exec:gt ''pavSharedApt'', ''ndRoom''"><<$nd_name>>''s</a>, <a href="exec:gt ''pavSharedApt'', ''gpRoom''"><<$gp_name>>''s</a> and <a href="exec:gt ''pavSharedApt'', ''spRoom''"><<$sp_name>>''s</a> rooms.'
  260. 'The last doors lead to the <a href="exec:gt ''pavSharedApt'', ''pcsRoom''">room</a> you have rented.'
  261. ''
  262. !! Wardrobe is here, because Sveta''s bedroom is actually the unused living room, with no wardrobe, so she is using the hall cupboard.
  263. 'There are no cupboards in your livingroom cum bedroom, but there are several hall <a href="exec:gt ''wardrobe'', ''start''">closets</a>, that you can use to store your clothes</a>, with a large tall <a href="exec:gt ''mirror'', ''start''">mirror</a> attached.'
  264. ''
  265. if servitudeLvl >= 1:'A computer printed <a href="exec:gt ''pavSharedApt'', ''list''">list</a> hangs on the exit door.'
  266. act 'Go to your room':gt 'pavSharedApt', 'pcsRoom'
  267. act 'Go to the bathroom':gt 'pavSharedApt', 'bathroom'
  268. act 'Go to the kitchen':gt 'pavSharedApt', 'kitchen'
  269. act '<font color=#<<$nd_font>>><<$nd_name>>''s room</font>':gt 'pavSharedApt', 'ndRoom'
  270. act '<font color=#<<$gp_font>>><<$gp_name>>''s room</font>':gt 'pavSharedApt', 'gpRoom'
  271. act '<font color=#<<$sp_font>>><<$sp_name>>''s room</font>':gt 'pavSharedApt', 'spRoom'
  272. end
  273. if home_owned[2] = 0 and kid > 0:
  274. *clr & cla
  275. pavIntroStep = 0
  276. introDone = 0
  277. minut = 5
  278. !Need to have some actual story to this with NPC reactions.
  279. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/dimka/revenge/crying.jpg"></center>'
  280. 'You''ve been kicked out of the apartment due to having children.'
  281. pavSharedAptEnabled = 0
  282. act 'Leave':gt 'pavComplex', 'start'
  283. end
  284. end
  285. if $ARGS[0] = 'payCash':
  286. menu_off = 1
  287. minut += 2
  288. cash = rentLeft
  289. if money >= cash:
  290. 'You have decided to pay the remainder of the weekly rent in cash. It makes '+cash+' <b>₽</b>.'
  291. cashPaid += cash
  292. money -= cash
  293. rentPaid = 1
  294. pavSharedAptEnabled = 1
  295. else
  296. 'You do not have enough money to pay it.'
  297. end
  298. act 'Proceed':gt 'pavSharedApt', 'start'
  299. end
  300. if $ARGS[0] = 'payService':
  301. menu_off = 1
  302. minut += 1
  303. 'The amount '+price+' <b>₽</b> was taken in account of your weekly rent.'
  304. servicePaid += price
  305. act 'Continue':gt 'pavSharedApt', 'start'
  306. end
  307. if $ARGS[0] = 'rentSetup':
  308. menu_off = 1
  309. minut += 2
  310. 'You get a list of paper, saying the weekly rent fee is <<rentWeekly>> rubles.'
  311. rentPaid = 1
  312. introDone = 1
  313. rentWeekNum = (daystart - (daystart mod 7)) / 7 + 1
  314. act 'Continue':gt 'pavSharedApt', 'start'
  315. end
  316. if $ARGS[0] = 'intro':
  317. menu_off = 1
  318. gs 'pavSharedApt', 'update'
  319. if step > 0:
  320. '<center><img border="5" bordercolor="<<$sp_font>>" height="150" src="images/locations/pavlovsk/resident/sharedapt/sp/sp.jpg"> <img height="150" src="images/locations/pavlovsk/resident/sharedapt/gp/gp.jpg"> <img height="150" src="images/locations/pavlovsk/resident/sharedapt/nd/nd.jpg"></center>'
  321. ''
  322. end
  323. if pavIntroStep = 0:
  324. minut += 2
  325. pavIntroStep = 1
  326. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/sp/sp.jpg"></center>'
  327. ''
  328. 'The door are opened by a young, nice looking athletic man.'
  329. '<font color=#<<$sp_font>>>"Hi sweetie! What do you need?"</font>'
  330. '<font color=#<<$pcs_font>>>"Hello, my name is <<$pcs_firstname>> <<$pcs_lastname>>. I''ve seen the advert that someone here have a spare room for rent?"</font>'
  331. '<font color=#<<$sp_font>>>"Yeah, that''s true. Come in, I''ll call the guys and we can talk about it. I''m <<$sp_name>> by the way."</font>'
  332. act 'Go in':gt 'pavSharedApt', 'intro'
  333. elseif pavIntroStep = 1:
  334. minut += 3
  335. pavIntroStep = 2
  336. 'You go through the door in a hallway. By the amount of coats and shoes you guess there are about 3 or 4 people living here.'
  337. 'The guy disappears in one of the doors and you can hear talking him to someone.'
  338. 'They seem to be trying to talk quietly, but you can hear a sentence or two..:'
  339. ''
  340. '"..a girl I tell you.." "..nice one, really, with nice round tits man.." "..better than another dick, idiot.." "..ok ok just be done with it.."'
  341. ''
  342. 'In a while three young guys appear in the hallway.'
  343. '<font color=#<<$sp_font>>>"So that''s her guys. <<$pcs_firstname>>, could you introduce yourself to guys?"</font>'
  344. '<font color=#<<$pcs_font>>>"Hello, my name is <<$pcs_firstname>> <<$pcs_lastname>>. I would like to rent the empty room in your apartment."</font>'
  345. '<font color=#<<$gp_font>>>"Well now that''s what I like! Finally this won''t be such a gay party!"</font>'
  346. '<font color=#<<$nd_font>>>"<<$pcs_firstname>> please excuse my friend <<$gp_name>>, he is such a rude prick to everyone. My name is <<$nd_name>>."</font>'
  347. '<font color=#<<$gp_font>>>"Yup, I''m <<$gp_name>>."</font>'
  348. '<font color=#<<$nd_font>>>"So you would like to live here with us?"</font>'
  349. '<font color=#<<$pcs_font>>>"Yes. I need a new place to stay."</font>'
  350. '<font color=#<<$gp_font>>>"How old are you girl?"</font>'
  351. '<font color=#<<$nd_font>>>"<<$gp_name>>! Not this again!"</font>'
  352. '<font color=#<<$pcs_font>>>"It''s OK. I am actually <<age>> years old. Why do you ask?"</font>'
  353. '<font color=#<<$nd_font>>>"He''s just idiot, don''t listen to him."</font>'
  354. if age < 18:
  355. '(You can see <<$gp_name>> rub his crotch just a brief moment after you told him your age. What''s he up to?)'
  356. end
  357. if knowpreg = 1:
  358. act 'Ask about children':
  359. cla
  360. pavIntroStep = 50
  361. '<font color=#<<$pcs_font>>>"I thought I should tell you, I''m currently pregnant. How you feel about having children in the apartment, will this be a problem?"</font>'
  362. act 'continue':gt 'pavSharedApt', 'intro'
  363. end
  364. elseif kid > 0:
  365. act 'Ask about children':
  366. cla
  367. pavIntroStep = 50
  368. '<font color=#<<$pcs_font>>>"I thought I should tell, I''m mother. How you feel about having children in the apartment, will this be a problem?"</font>'
  369. act 'continue':gt 'pavSharedApt', 'intro'
  370. end
  371. else
  372. act 'Continue':gt 'pavSharedApt', 'intro'
  373. end
  374. elseif pavIntroStep = 2:
  375. minut += 3
  376. pavIntroStep = 3
  377. '<font color=#<<$pcs_font>>>"So what do you guys say, will you take me in?"</font>'
  378. '<font color=#<<$nd_font>>>"We may. But first, do you have the money to pay the rent?"</font>'
  379. '<font color=#<<$pcs_font>>>"Well, of course I don''t expect to let me live here for free. But I hope the rent is reasonable.."</font>'
  380. '<font color=#<<$nd_font>>>"It is indeed."</font>'
  381. '<font color=#<<$sp_font>>>"<<rentWeekly>> rubles. Per week."</font>'
  382. '<font color=#<<$pcs_font>>>"Uhm. That''s quite a lot. I''m not sure if I''ll be able to afford this.."</font>'
  383. '<font color=#<<$gp_font>>>"You can pay other ways if you''d like!"</font>'
  384. '<font color=#<<$nd_font>>>"<<$gp_name>>!"</font>'
  385. '<font color=#<<$pcs_font>>>"What do you mean by other ways?"</font>'
  386. '<font color=#<<$sp_font>>>"Well <<$pcs_firstname>>, since we are just guys here, and since we suck at these things, we could use someone as you, a girl I mean, to be something like our, let''s say, handmaiden. If you know what I mean."</font>'
  387. '<font color=#<<$pcs_font>>>"Like cooking and cleaning?"</font>'
  388. '<font color=#<<$sp_font>>>"Yes, exactly."</font>'
  389. '<font color=#<<$gp_font>>>"And more."</font>'
  390. '<font color=#<<$nd_font>>>"Oh my... I give up."</font>'
  391. act 'More what?':gt 'pavSharedApt', 'intro'
  392. elseif pavIntroStep = 3:
  393. minut += 3
  394. '<font color=#<<$gp_font>>>"More services."</font>'
  395. '<font color=#<<$pcs_font>>>"What kind of ''more services''?"</font>'
  396. '<font color=#<<$sp_font>>>"Girl to guys kind of services."</font>'
  397. '<font color=#<<$pcs_font>>>"You mean to be a whore for you? Instead of paying the rent???"</font>'
  398. '<font color=#<<$nd_font>>>"Please <<$pcs_firstname>>, don''t get mad. <<$gp_name>> is not just idiot, he is a rude idiot. We are definitely not asking you to be our whore or something like that."</font>'
  399. '<font color=#<<$nd_font>>>"As <<$sp_name>> told you, we could decrease your rent if you would do some homekeeping stuff we really suck at. But only if you want, of course."</font>'
  400. '<font color=#<<$sp_font>>>"So what do you say <<$pcs_firstname>>?"</font>'
  401. act 'Say that you changed your mind about this':pavIntroStep = 40 & gt 'pavSharedApt', 'intro'
  402. act 'Say you will pay the rent the normal way':pavSharedAptEnabled = 1 & pavIntroStep = 10 & gt 'pavSharedApt', 'intro'
  403. act 'Say you don''t mind doing the homekeeping stuff':pavSharedAptEnabled = 1 & pavIntroStep = 20 & gt 'pavSharedApt', 'intro'
  404. act 'Say you don''t mind anything':pavSharedAptEnabled = 1 & pavIntroStep = 30 & gt 'pavSharedApt', 'intro'
  405. elseif pavIntroStep = 10:
  406. minut += 2
  407. '<font color=#<<$sp_font>>>"Fine. So the rest of this week you have for free, but you need to prepay the next week. OK?"</font>'
  408. '<font color=#<<$pcs_font>>>"Yes, OK, I understand."</font>'
  409. '<font color=#<<$sp_font>>>"So the room is over there.</font>'
  410. '<font color=#<<$pcs_font>>>"Wait, Isn''t that the living room?"</font>'
  411. '<font color=#<<$sp_font>>>"Yes it is, but we don''t use it, so we are renting it out. There is all you need, a bed, a table with chair, all this stuff, we even put a curtain over the doorway. Just move in when you want. See you later <<$pcs_firstname>>!"</font>'
  412. '<font color=#<<$nd_font>>>"Have a nice day <<$pcs_firstname>>."</font>'
  413. '<font color=#<<$gp_font>>>"See ya later girlie..."</font>'
  414. '<font color=#<<$pcs_font>>>"Later guys!"</font>'
  415. servitudeLvl = 0
  416. act 'Continue':pavIntroStep = 0 & gt 'pavSharedApt', 'rentSetup'
  417. elseif pavIntroStep = 20:
  418. minut += 2
  419. '<font color=#<<$sp_font>>>"Fine. So the rest of this week you have for free, but you need to prepay the next week. OK?"</font>'
  420. '<font color=#<<$pcs_font>>>"Yes, OK, I understand."</font>'
  421. '<font color=#<<$nd_font>>>"We will pepare a list of the charges for the homekeeping services you may want to do, so it''s clear how much will be deducted form your rent."</font>'
  422. '<font color=#<<$pcs_font>>>"Cool!"</font>'
  423. '<font color=#<<$sp_font>>>"So the room is over there.</font>'
  424. '<font color=#<<$pcs_font>>>"Wait, Isn''t that the living room?"</font>'
  425. '<font color=#<<$sp_font>>>"Yes it is, but we don''t use it, so we are renting it out. There is all you need, a bed, a table with chair, all this stuff, we even put a curtain over the doorway. Just move in when you want. See you later <<$pcs_firstname>>!"</font>'
  426. '<font color=#<<$nd_font>>>"Have a nice day <<$pcs_firstname>>."</font>'
  427. '<font color=#<<$gp_font>>>"See ya later girlie..."</font>'
  428. '<font color=#<<$pcs_font>>>"Later guys!"</font>'
  429. servitudeLvl = 1
  430. act 'Continue':pavIntroStep = 0 & gt 'pavSharedApt', 'rentSetup'
  431. elseif pavIntroStep = 30:
  432. minut += 2
  433. '<font color=#<<$sp_font>>>"Fine. So the rest of this week you have for free, but you need to prepay the next week. OK?"</font>'
  434. '<font color=#<<$pcs_font>>>"Yes, OK, I understand."</font>'
  435. '<font color=#<<$nd_font>>>"We will pepare a list of the charges for the homekeeping services you may want to do, so it''s clear how much will be deducted form your rent."</font>'
  436. '<font color=#<<$gp_font>>>"The extra stuff services will be there too, girl."</font>'
  437. '<font color=#<<$pcs_font>>>"OK.."</font>'
  438. '<font color=#<<$sp_font>>>"So the room is over there.</font>'
  439. '<font color=#<<$pcs_font>>>"Wait, Isn''t that the living room?"</font>'
  440. '<font color=#<<$sp_font>>>"Yes it is, but we don''t use it, so we are renting it out. There is all you need, a bed, a table with chair, all this stuff. Just move in when you want, we even put a curtain over the doorway. See you later <<$pcs_firstname>>!"</font>'
  441. '<font color=#<<$nd_font>>>"Have a nice day <<$pcs_firstname>>."</font>'
  442. '<font color=#<<$gp_font>>>"See ya later girlie..."</font>'
  443. '<font color=#<<$pcs_font>>>"Later guys!"</font>'
  444. servitudeLvl = 2
  445. act 'Continue':pavIntroStep = 0 & gt 'pavSharedApt', 'rentSetup'
  446. elseif pavIntroStep = 40:
  447. minut += 2
  448. '<font color=#<<$nd_font>>>"I told you idiot not to scare her away!"</font>'
  449. '<font color=#<<$gp_font>>>"Sorry man! We can still lock her to the radiator like I suggested in the first place.."</font>'
  450. '<font color=#<<$nd_font>>>"Just shut up already!"</font>'
  451. ''
  452. '<font color=#<<$sp_font>>>"Sorry <<$pcs_firstname>>. We respect your decision. If you change your mind and room is still empty, let us know and we can talk again. Goodbye!"</font>'
  453. act 'Tell them goodbye and leave':pavIntroStep = 0 & gt 'pavComplex', 'start'
  454. elseif pavIntroStep = 50:
  455. minut += 2
  456. !add dialogue for returning after being previously expelled from apartment
  457. '<font color=#<<$nd_font>>>"I''m sorry <<$pcs_firstname>>, but we don''t want children or pets in the apartment!"</font>'
  458. '<font color=#<<$gp_font>>>"If you get rid of the kid, come back and see us."</font>'
  459. '<font color=#<<$sp_font>>>"Don''t mind him. There''s simply not enough room for 4 people, plus kids or pets. I hope you understand"</font>'
  460. if home_owned[2] = 1:
  461. act 'Suggest a compromise':
  462. cla
  463. pavIntroStep = 2
  464. '<font color=#<<$pcs_font>>>"I can leave them with my parents for the time being, and keep them away from the apartment, how does this sound?'
  465. '<font color=#<<$sp_font>>>"Are you certain you want to do this?"</font>'
  466. '<font color=#<<$gp_font>>>"Sounds good to me!"</font>'
  467. '<font color=#<<$nd_font>>>"hmmmm"</font>'
  468. act 'Continue':gt 'pavSharedApt', 'intro'
  469. end
  470. act 'I wont leave my children':
  471. cla
  472. pavIntroStep = 0
  473. '<font color=#<<$pcs_font>>>"OK, I will make do with my current accomodation.'
  474. '<font color=#<<$sp_font>>>"We understand"</font>'
  475. '<font color=#<<$gp_font>>>"Damn"</font>'
  476. '<font color=#<<$nd_font>>>"No problem <<$pcs_firstname>>"</font>'
  477. act 'Continue':gt 'pavSharedApt', 'intro'
  478. end
  479. else
  480. '<font color=#<<$pcs_font>>>OK, I understand.</font>'
  481. act 'Thank them and leave':pavIntroStep = 0 & gt 'pavComplex', 'start'
  482. end
  483. end
  484. end
  485. ! the pricelist
  486. if $ARGS[0] = 'list':
  487. menu_off = 1
  488. $metka = 'list'
  489. minut += 2
  490. $goBack = $metka
  491. '<center><h3><<$pcs_firstname>>''s pricelist</h3></center>'
  492. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/list.jpg"></center>'
  493. ''
  494. 'The basic weekly rent is <<rentWeekly>> rubles.'
  495. 'It is possible to pay it in cash, or offer services instead. The prices are folllowing:'
  496. ''
  497. '---------------'
  498. ''
  499. 'Cooking a warm meal: '+price_cook
  500. 'Cleaning the apartment: '+price_clean
  501. if servitudeLvl >= 2:
  502. ''
  503. 'Handjob: '+price_handjob
  504. 'Blowjob: '+price_blowjob
  505. 'Sex: '+price_vaginal
  506. 'Anal sex: '+price_anal
  507. 'Special treats: '+price_special
  508. end
  509. ''
  510. '---------------'
  511. ''
  512. 'Not having paid the full weekly rent at the beginning of a new week will lead to termination of the accommodation services.'
  513. 'Signed: <a href="exec: gt ''pavShared_nd'', ''ndDick''"><font color=#<<$nd_font>>><<$nd_name>></font></a>, <a href="exec: gt ''pavShared_gp'', ''gpDick''"><font color=#<<$gp_font>>><<$gp_name>></font></a>, <a href="exec: gt ''pavShared_sp'', ''spDick''"><font color=#<<$sp_font>>><<$sp_name>></font></a>, <<$pcs_firstname>>.'
  514. ''
  515. '---------------'
  516. act 'Continue':gt 'pavSharedApt', 'start'
  517. end
  518. ! paying with money
  519. if $ARGS[0] = 'payRent':
  520. menu_off = 1
  521. minut += 1
  522. 'You decided to give the guys money, instead of serving them.'
  523. 'You just spent <<paid_rent>> cash.'
  524. money -= paid_rent
  525. gs 'stat'
  526. act 'Continue': gs 'pavSharedApt', 'start'
  527. end
  528. if $ARGS[0] = 'bathroom':
  529. $menu_loc = 'pavSharedApt'
  530. $menu_arg = 'bathroom'
  531. menu_off = 0
  532. minut += 1
  533. $location_type = 'bathroom'
  534. $loc = 'pavSharedApt'
  535. $metka = 'bathroom'
  536. $metkaM = 'bathroom'
  537. $locM = 'pavSharedApt'
  538. '<center><h3>Bathroom</h3></center>'
  539. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/vanrpar.jpg"></center>'
  540. *nl
  541. 'Modest bathroom, containing all that young people need for their daily life, such as:'
  542. 'A Shower, toilet, <a href="exec:gt ''mirror'',''start''">mirror</a>, where you can ' + iif(pcs_hairbsh = 0,'<a href="exec:gt ''mirror'',''brush''">brush</a>','brush') + ' your hair, a sink and even a bath tub.'
  543. *nl
  544. gs 'din_van', 'private'
  545. gs 'stat'
  546. act 'Leave':gt 'pavSharedApt', 'start'
  547. end
  548. if $ARGS[0] = 'kitchen':
  549. $menu_loc = 'pavSharedApt'
  550. $menu_arg = 'kitchen'
  551. menu_off = 0
  552. *clr & cla
  553. minut += 2
  554. $loc = 'pavSharedApt'
  555. $metka = 'kitchen'
  556. $locclass = 'kitr'
  557. gs 'stat'
  558. gs 'kit_din'
  559. '<center><h3>Kitchen</h3></center>'
  560. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/kuhrpar.jpg"></center>'
  561. 'It''s a modest kitchen, but has all that is needed.'
  562. 'You can cook breakfast for the guys between 6:00 and 7:00 and dinner for them between 18:00 and 19:00'
  563. ! dishes
  564. if cltarelka > 0:
  565. 'Above the sink are <b><<cltarelka>></b> the clean plates'
  566. else
  567. '<b><font color = red>You have no clean dishes left.</font></b>'
  568. end
  569. if dirttarelka > 0:'The sink has <b><<dirttarelka>></b> dirty dishes. <a href="exec: dynamic $dirtarm">that need to be washed</a>.'
  570. if fairy > 0:
  571. 'Above the sink is some detergent to wash the dishes with. There is enough for <b><<fairy>></b> uses.'
  572. else
  573. '<b><font color = red>You do not have enough detergent, you should buy some from the supermarket.</font></b>'
  574. end
  575. ! food
  576. if eda > 0:
  577. if cltarelka = 0 or edahot > 0:$edagot = ''
  578. if cltarelka > 0 and edahot = 0:
  579. $edagot = '<a href="exec:dynamic $edagotd">Cook a meal for yourself (0:30)</a>'
  580. end
  581. 'In the refrigerator there''s enough (your own) food for <b><<eda>></b> servings. <<$edagot>>'
  582. end
  583. if edahot > 0:'<a href="exec: dynamic $edahotd ">On the table is ready meal (0:30).</a>'
  584. if edaD = 0 and eda = 0:'<b><font color="red">You have nothing to eat, the refrigerator is empty!</font></b>'
  585. if hour = 6 or hour = 18:'<a href="exec: gt ''pavSharedApt'', ''cookForGuys''">Cook meals for the guys (1:30)</a>'
  586. dynamic $edasnack
  587. dynamic $driwater
  588. dynamic $dritea
  589. dynamic $fill_bottle
  590. dynamic $pranik
  591. dynamic $edaD
  592. dynamic $fatdel
  593. dynamic $lekarstvo
  594. act 'Leave':gt 'pavSharedApt', 'start'
  595. end
  596. if $ARGS[0] = 'cookForGuys':
  597. menu_off = 1
  598. cla
  599. *clr
  600. $loc = 'pavSharedApt'
  601. $metka = 'kitchen'
  602. minut += 90
  603. kuhdrova = 0
  604. pcs_mood -= 10
  605. gs 'stat'
  606. '<center><img <<$set_imgh>> src="images/shared/home/kitchen/cook.jpg"></center>'
  607. 'You prepare three meals, using what you can from the guys food. Its not very healthy but you''re not planning to offer to do their shopping too.'
  608. price = price_cook
  609. act 'Leave the meal':gt 'pavSharedApt', 'payService'
  610. end
  611. if $ARGS[0] = 'cleanForGuys':
  612. menu_off = 1
  613. cla
  614. *clr
  615. minut += 60
  616. poroshok -= 3
  617. pcs_mood -= 10
  618. gs 'stat'
  619. '<center><img <<$set_imgh>> src="images/locations/city/residential/apartment/stir.jpg"></center>'
  620. price = price_clean
  621. *nl
  622. 'You collect piles of dirty clothes around the room, carry them into the bathroom, put them in a basin and then pour washing powder on them. You wash them until they are finally clean.'
  623. cumStainCh = rand (0, 100)
  624. if servitudeLvl = 2 and cumStainCh <= 50:'<i>You notice bedsheets with what seems as dried out cum. Probably remainder of one of yours "servings". Maybe it is really better to swallow everytime, you wonder?</i>'
  625. act 'Hang them to dry out and leave':gt 'pavSharedApt', 'payService'
  626. end
  627. ! living room & pc bedroom
  628. if $ARGS[0] = 'pcsRoom':
  629. $menu_loc = 'pavSharedApt'
  630. $menu_arg = 'pcsRoom'
  631. menu_off = 0
  632. $loc = 'pavSharedApt'
  633. $metka = 'pcsRoom'
  634. $location_type = 'private'
  635. $locclass = 'bedr'
  636. minut += 2
  637. gs 'stat'
  638. gs 'pavSharedApt', 'update'
  639. '<center><b><font color="maroon">Living Room</font></b></center>'
  640. '<center><img <<$set_imgh>> src="images/shared/sharedapt/bedroom/sofabed.jpg"></center>'
  641. *nl
  642. 'The living room wasn''t in use by the other apartment occupants, so it is now rented to use as a bedroom. It''s sparsly decorated, with, a <a href="exec:gt ''bed'', ''start''">sofa bed</a>, against the back wall.'
  643. *nl
  644. 'Beside the sofa bed, is an old cabinet, with your <a href="exec:gt ''budilnik'', ''start''">alarm clock</a> on top.'
  645. *nl
  646. 'Your <a href="exec:gt ''budilnik'', ''start''">alarm clock</a> is set to <b>'+iif(timer < 10,'0<<timer>>','<<timer>>')+':'+iif(timerM < 10,'0<<timerM>>','<<timerM>>')+'</b> during the week and <b>'+iif(timerEnd < 10,'0<<timerEnd>>','<<timerEnd>>')+':'+iif(timerEndM < 10,'0<<timerEndM>>','<<timerEndM>>')+'</b> during the weekend. It is currently turned '+iif(budilnikOn = 0, '<a href="exec: budilnikOn = 1 & gt $loc, $metka">OFF</a>.', '<a href="exec: budilnikOn = 0 & gt $loc, $metka">ON</a>.')
  647. if budilnikOn = 0:
  648. 'Your <a href="exec:gt ''budilnik'', ''start''">alarm clock</a> is set for <<timer>> hours <<timerM>> minutes and currently turned <a href="exec: budilnikOn = 1 & gt ''pavSharedApt'',''pcsRoom''">off</a>.'
  649. else
  650. 'Your <a href="exec:gt ''budilnik'', ''start''">alarm clock</a> is set for <<timer>> hours <<timerM>> minutes and currently turned <a href="exec: budilnikOn = 0 & gt ''pavSharedApt'',''pcsRoom''">on</a>.'
  651. end
  652. *nl
  653. if TV = 0:$TV = 'a great place for a TV, if you had one.'
  654. if TV = 1:$TV = 'an old CRT <a href="exec:gt ''TV'', ''start''">TV</a> sits on the shelf'
  655. 'There is an wall unit at the other side of the room, <<$TV>>. Everyone in the household spends their time in their own rooms, so there was never a reason to use the living room for its intended purpose.'
  656. *nl
  657. 'On the other side of the sofa bed are your old <a href="exec:gt ''clothing'', ''view_clothing_list'', ''wardrobe''">suitcases</a>, which you could use to store the clothes you don''t often wear.'
  658. *nl
  659. 'There is no door to the living room, instead there''s <a href="exec:view''images/shared/sharedapt/bedroom/curtain.jpg''">curtain</a> covering entry to the room, which gives you a modicum of privacy; not much better than the state of the non-existant window curtains'
  660. act '<b>Leave the room</b>':gt 'pavSharedApt', 'start'
  661. act 'Sit on the sofa bed':gt 'pavSharedApt', 'sofabed'
  662. if obruch > 0: '<br>A hula hoop stands in corner of the room. '
  663. if skak > 0: 'A jump rope is on a shelf. '
  664. if bookYog > 0: 'A yoga mat is rolled up in a corner. '
  665. gs 'exercise', 'start'
  666. *nl
  667. if komp = 1:'Your <a href="exec:gorodokKomp = 1 & gt ''Komp'',''start''">laptop</a> is sitting on small table.'
  668. if student > 0 and kursovik < 100:
  669. act 'Do coursework (1:00)':
  670. cla
  671. *clr
  672. minut += 60
  673. kursovik += rand(pcs_intel / 20, pcs_intel / 10)
  674. if kursovik > 100:kursovik = 100
  675. pcs_mood -= 10
  676. '<center><img <<$set_imgh>> src="images/pc/activities/study.jpg"></center>'
  677. 'You sit down on the sofa bed and do your coursework, you''ve finished <<kursovik>> percent of it.'
  678. act 'Stand up':gt 'pavSharedApt', 'pcsRoom'
  679. end
  680. end
  681. if vcard > 0: act 'View your vintage porn cards':card_deck = 0 & gt 'card'
  682. if card > 0: act 'View your new porn cards':card_deck = 1 & gt 'card'
  683. if dur > 0:'You have <<dur>> doses of Pale Lady, hidden from the other housemates.'
  684. if dur > 0 and narkday ! daystart:
  685. act 'Use some Pale Lady (0:05)':
  686. cla
  687. *clr
  688. minut += 5
  689. narkday = daystart
  690. gs 'drugs', 'cocaine'
  691. gs 'stat'
  692. '<center><img <<$set_imgh>> src="images/shared/drugs/dur.jpg"></center>'
  693. 'You snort some Pale Lady, feeling dizzy for just a moment. After that you feel fantastic, and incredibly horny.'
  694. act 'Continue':gt 'pavSharedApt', 'pcsRoom'
  695. end
  696. end
  697. if gobelen>0:'You have <<gobelen>> completed tapestries.'
  698. if pcs_sewng >= 40 and tkan > 0:'You have enough fabric for <<tkan>> lessons.'
  699. if pcs_sewng >= 40 and tkan <= 0:'You do not have any fabric.'
  700. if pcs_sewng >= 80:
  701. if newgobelen = 0 and tkan > 0:
  702. act'Start a new tapestry':
  703. cls
  704. tkan -= 1
  705. newgobelen = 1
  706. minut += 15
  707. gs'stat'
  708. 'You spend 15 minutes at the embroidery frame, preparing the fabric and outlining the pattern for the tapestry.'
  709. act'Set the tapestry aside':gt 'pavSharedApt', 'pcsRoom'
  710. end
  711. end
  712. if newgobelen>=1:
  713. 'Your tapestry is <<newgobelen/10>> percent finished.'
  714. act'Work on the tapestry for an hour':
  715. cls
  716. minut+=60
  717. sewng_exp += rand(pcs_intel/10, pcs_intel/5)
  718. gobramax = (pcs_sewng - 70) * 6
  719. gobramin = (pcs_sewng - 70) * 2
  720. newgobelen += rand(gobramin,gobramax)
  721. gs'stat'
  722. if newgobelen < 1000:'You spent an hour working on your tapestry, which is now <<newgobelen/10>> percent finished.'
  723. if newgobelen >= 1000:
  724. newgobelen = 0
  725. gobelen += 1
  726. 'Your work on the tapestry is done.'
  727. end
  728. act'Set the tapestry aside':gt 'pavSharedApt', 'pcsRoom'
  729. end
  730. end
  731. end
  732. if tabletki > 0 and prezik + prezikcount + preziksabo > 0:
  733. 'Your <a href="exec:gt ''stol'', ''bc''">birth control</a> tablets are in the cabinet next to your bed, along with some <a href="exec:gt ''stol'', ''bc''">condoms</a>.'
  734. elseif tabletki > 0:
  735. 'Your <a href="exec:gt ''stol'', ''bc''">birth control</a> tablets are in the cabinet next to your bed.'
  736. elseif prezik + prezikcount + preziksabo > 0:
  737. 'Your <a href="exec:gt ''stol'', ''bc''">condoms</a> are in the cabinet next to your bed.'
  738. end
  739. ''
  740. if sewing_kit = 1:
  741. 'Your <a href="exec:gt ''sewing'',''start''">sewing kit</a> is stored on a shelf.'
  742. end
  743. if tovarL > 0:'You currently have <<tovarL>> trinkets to sell at the station. The maximum you can carry with you is 30.'
  744. dynamic $wearpan
  745. dynamic $removepan
  746. !gs 'subkid'
  747. act 'Relax on your bed': gt 'bed', 'start'
  748. end
  749. if $ARGS[0] = 'sofabed':
  750. $menu_loc = 'pavSharedApt'
  751. $menu_arg = 'sofabed'
  752. menu_off = 0
  753. $loc = 'pavSharedApt'
  754. $metka = 'sofabed'
  755. *clr & cla
  756. gs 'stat'
  757. '<center><img <<$set_imgh>> src="images/shared/sharedapt/bedroom/sofabed.jpg"></center>'
  758. '<center>A small sofa bed, when not unfolded, is just big enough for you to curl up on and take a nap.</center>'
  759. if TV = 1:
  760. act 'Watch some TV':gt 'TV', 'start'
  761. end
  762. if pornMagazine > 0:'<br>There is a porn magazine under the sofa cushions'
  763. gs 'events', 'read_porn'
  764. gs 'events', 'read'
  765. if pcs_horny >= 50:
  766. act 'Masturbate':gt 'selfplay', 'start'
  767. end
  768. act 'Take a nap (1:00)':
  769. if pcs_sleep < 90:
  770. pcs_sleep += 10
  771. pcs_health += 5
  772. minut += 60
  773. gs 'stat'
  774. 'You sleep about an hour.'
  775. else
  776. minut += 5
  777. gs 'stat'
  778. 'You are not tired enough to sleep, even for a short nap.'
  779. end
  780. end
  781. act 'Get up':gt 'pavSharedApt', 'pcsRoom'
  782. end
  783. if $ARGS[0] = 'ndRoom':
  784. $menu_loc = 'pavSharedApt'
  785. $menu_arg = 'ndRoom'
  786. menu_off = 0
  787. $loc = 'pavSharedApt'
  788. $metka = 'ndRoom'
  789. minut += 2
  790. '<center><h3><font color=#<<$nd_font>>><<$nd_name>>''s room</font></h3></center>'
  791. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/nd/room.jpg"></center>'
  792. ''
  793. 'The room is surprisingly not as messy as one would expect, given that <<$nd_name>> is an IT guy.'
  794. 'There is one large window with bed bellow it, but the whole room is dominated by a large table with several computers and monitors.'
  795. 'Looking at it one would say that this must be a den of a hacker.'
  796. if hour >= nd_sleeps and hour < nd_wakes:
  797. '<<$nd_name>> is sleeping in his bed.'
  798. elseif hour >= nd_wakes and hour < nd_leaves:
  799. '<<$nd_name>> is already awake, getting ready to leave.'
  800. act 'Approach him': gt 'pavShared_nd', 'nd'
  801. elseif hour >= nd_leaves and hour < nd_comes:
  802. '<<$nd_name>> is not here.'
  803. elseif hour >= nd_comes and hour < nd_sleeps:
  804. '<<$nd_name>> is currently behind his desk, doing some clever IT stuff.'
  805. act 'Approach him': gt 'pavShared_nd', 'nd'
  806. end
  807. if servitudeLvl >= 1 and nd_cleaned = 0:
  808. if poroshok >= 1:
  809. act 'Clean the room':nd_cleaned = 1 & gt 'pavSharedApt', 'cleanForGuys'
  810. else
  811. 'You don''t have enough laundry detergent to clean the room'
  812. end
  813. end
  814. act 'Leave':gt 'pavSharedApt', 'start'
  815. end
  816. if $ARGS[0] = 'gpRoom':
  817. $menu_loc = 'pavSharedApt'
  818. $menu_arg = 'gpRoom'
  819. menu_off = 0
  820. $loc = 'pavSharedApt'
  821. $metka = 'gpRoom'
  822. minut += 2
  823. '<center><h3><font color=#<<$gp_font>>><<$gp_name>>''s room</font></h3></center>'
  824. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/gp/room.jpg"></center>'
  825. ''
  826. 'Messy room. Clothes everywhere.'
  827. if hour >= gp_wakes and hour < gp_leaves:
  828. '<<$gp_name>> is already awake, getting ready to leave.'
  829. act 'Approach him': gt 'pavShared_gp', 'gp'
  830. elseif hour >= gp_leaves and hour < gp_comes:
  831. '<<$gp_name>> is not here.'
  832. elseif hour >= gp_comes and hour < gp_sleeps:
  833. '<<$gp_name>> is currently on his bed, listing through some magazines.'
  834. act 'Approach him': gt 'pavShared_gp', 'gp'
  835. elseif hour >= gp_sleeps or hour < gp_wakes:
  836. '<<$gp_name>> is sleeping in his bed.'
  837. end
  838. if servitudeLvl >= 1 and gp_cleaned = 0:
  839. if poroshok >= 1:
  840. act 'Clean the room':gp_cleaned = 1 & gt 'pavSharedApt', 'cleanForGuys'
  841. else
  842. 'You don''t have enough laundry detergent to clean the room'
  843. end
  844. end
  845. act 'Leave':gt 'pavSharedApt', 'start'
  846. end
  847. if $ARGS[0] = 'spRoom':
  848. $menu_loc = 'pavSharedApt'
  849. $menu_arg = 'spRoom'
  850. menu_off = 0
  851. $loc = 'pavSharedApt'
  852. $metka = 'spRoom'
  853. minut += 2
  854. '<center><h3><font color=#<<$sp_font>>><<$sp_name>>''s room</font></h3></center>'
  855. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/sp/room.jpg"></center>'
  856. ''
  857. 'Tidy room full of sporting stuff like dresses, equipment and trophys. On the walls hang several posters of famous sport guys.'
  858. if hour >= sp_wakes and hour < sp_leaves:
  859. '<<$sp_name>> is already awake, packing his bags to leave.'
  860. act 'Approach him': gt 'pavShared_sp', 'sp'
  861. elseif hour >= sp_leaves and hour < sp_comes:
  862. '<<$sp_name>> is not here.'
  863. elseif hour >= sp_comes and hour < sp_sleeps:
  864. doesStuff = rand (0, 100)
  865. if doesStuff < 50:'<<$sp_name>> is currently on his bed, listing through sport magazines.'
  866. if doesStuff >= 50:'<<$sp_name>> is working out on the floor.'
  867. act 'Approach him': gt 'pavShared_sp', 'sp'
  868. elseif hour >= sp_sleeps or hour < sp_wakes:
  869. '<<$sp_name>> is sleeping in his bed.'
  870. end
  871. if servitudeLvl >= 1 and sp_cleaned = 0:
  872. if poroshok >= 1:
  873. act 'Clean the room':sp_cleaned = 1 & gt 'pavSharedApt', 'cleanForGuys'
  874. else
  875. 'You don''t have enough laundry detergent to clean the room'
  876. end
  877. end
  878. act 'Leave':gt 'pavSharedApt', 'start'
  879. end
  880. --- pavSharedApt ---------------------------------