pavSharedApt.qsrc 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961
  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. $menu_loc = 'pavSharedApt'
  161. $menu_arg = 'doorNo30'
  162. menu_off = 1
  163. act 'Go back outside':gt 'pavComplex', 'start'
  164. if pavSharedAptEnabled = 1:
  165. '<center><img <<$set_imgh>> src="images/locations/shared/apartment/podezdhr.jpg"></center>'
  166. '<br>You stand before the entry door to apartment No 30. The apartment you share with three others'
  167. act 'Go inside':gt 'pavSharedApt', 'start'
  168. else
  169. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/aptno3door.jpg"></center>'
  170. '<br>You stand before the entry door to apartment No 30. There is a sign on the door saying - "сдаeтся в аренду комната" (Room for rent).'
  171. act 'Knock on the door':gt 'pavSharedApt', 'intro'
  172. end
  173. end
  174. ! apt hall
  175. if $ARGS[0] = 'start':
  176. $menu_loc = 'pavSharedApt'
  177. $menu_arg = 'start'
  178. menu_off = 0
  179. $locM = 'pavSharedApt'
  180. $metkaM = 'start'
  181. $loc = 'pavSharedApt'
  182. $metka = 'start'
  183. $goBack = $metka
  184. $location_type = 'private'
  185. killvar '$locclass'
  186. gs 'pavSharedApt', 'update'
  187. if introDone = 0:gt 'pavSharedApt', 'intro'
  188. minut += 2
  189. gs 'stat'
  190. if courtletter_date <= daystart and courtletter_date ! 0: gt 'sentence', 'letter'
  191. ! do this once a day
  192. if daystart >= tomorrow:
  193. tomorrow = daystart + 1
  194. nd_mood = rand (1, 5)
  195. nd_served = 0
  196. nd_cleaned = 0
  197. nd_cumVol += rand(15, 30)
  198. gp_mood = rand (1, 5)
  199. gp_served = 0
  200. gp_cleaned = 0
  201. gp_cumVol = rand(20, 40)
  202. sp_mood = rand (1, 5)
  203. sp_served = 0
  204. sp_cleaned = 0
  205. sp_cumVol += rand(5, 20)
  206. end
  207. ! do this every time
  208. rentLeft = rentWeekly - servicePaid - cashPaid
  209. '<center><h3>Hallway</h3></center>'
  210. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/hallway.jpg"></center>'
  211. 'It is week number <<weekNum>>.'
  212. if weekNum < rentWeekNum:
  213. if rentLeft > 0:
  214. 'You have left <<rentLeft>> <b>₽</b> of rent to pay for the next week.'
  215. if servitudeLvl >= 1:
  216. 'You may still pay it in <a href="exec:gt ''pavSharedApt'', ''payCash''">cash</a>, if you want.'
  217. else
  218. 'Pay it in <a href="exec:gt ''pavSharedApt'', ''payCash''">cash</a>.'
  219. end
  220. else
  221. 'You have already paid the whole rent for the next week.'
  222. end
  223. elseif weekNum >= rentWeekNum:
  224. if rentLeft = 0:
  225. !rent was forepaid, everything OK, proceed to next week
  226. rentLeft += 2000
  227. cashPaid = 0
  228. rentWeekNum = weekNum + 1
  229. elseif rentLeft > 0:
  230. !rent was not fully paid
  231. 'You did not pay the whole rent for this week. You still have to pay <<rentLeft>> <b>₽</b>.'
  232. if money >= rentLeft:
  233. !not enough cash to pay it manually
  234. 'You still can pay it in <a href="exec:gt ''pavSharedApt'', ''payCash''">cash</a>, otwerwise you''ll be kicked out!'
  235. else
  236. !in future add some way to serve your way out
  237. '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...'
  238. rentPaid = 0
  239. pavSharedAptEnabled = 0
  240. end
  241. end
  242. end
  243. act '<b>Leave and go outside</b>':
  244. if $clothingworntype ! 'nude':
  245. gt 'pavComplex', 'start'
  246. else
  247. msg'<b><font color = red>You need to get dressed.</font></b>'
  248. gt 'pavSharedApt', 'start'
  249. end
  250. end
  251. if rentPaid = 1:
  252. '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>.'
  253. 'You stand in the hallway. '
  254. ''
  255. '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.'
  256. 'The last doors lead to the <a href="exec:gt ''pavSharedApt'', ''pcsRoom''">room</a> you have rented.'
  257. ''
  258. 'There are several <a href="exec:gt ''wardrobe'', ''start''">closets</a>, that you can use to store your clothes</a>, and a large tall <a href="exec:gt ''mirror'', ''start''">mirror</a>.'
  259. ''
  260. if servitudeLvl >= 1:'A computer printed <a href="exec:gt ''pavSharedApt'', ''list''">list</a> hangs on the exit door.'
  261. act 'Go to your room':gt 'pavSharedApt', 'pcsRoom'
  262. act 'Go to the bathroom':gt 'pavSharedApt', 'bathroom'
  263. act 'Go to the kitchen':gt 'pavSharedApt', 'kitchen'
  264. act '<font color=#<<$nd_font>>><<$nd_name>>''s room</font>':gt 'pavSharedApt', 'ndRoom'
  265. act '<font color=#<<$gp_font>>><<$gp_name>>''s room</font>':gt 'pavSharedApt', 'gpRoom'
  266. act '<font color=#<<$sp_font>>><<$sp_name>>''s room</font>':gt 'pavSharedApt', 'spRoom'
  267. end
  268. if home_owned[2] = 0 and kid > 0:
  269. *clr & cla
  270. pavIntroStep = 0
  271. introDone = 0
  272. minut = 5
  273. !Need to have some actual story to this with NPC reactions.
  274. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/dimka/revenge/crying.jpg"></center>'
  275. 'You''ve been kicked out of the apartment due to having children.'
  276. pavSharedAptEnabled = 0
  277. act 'Leave':gt 'pavComplex', 'start'
  278. end
  279. end
  280. if $ARGS[0] = 'payCash':
  281. menu_off = 1
  282. minut += 2
  283. cash = rentLeft
  284. if money >= cash:
  285. 'You have decided to pay the remainder of the weekly rent in cash. It makes '+cash+' <b>₽</b>.'
  286. cashPaid += cash
  287. money -= cash
  288. rentPaid = 1
  289. pavSharedAptEnabled = 1
  290. else
  291. 'You do not have enough money to pay it.'
  292. end
  293. act 'Proceed':gt 'pavSharedApt', 'start'
  294. end
  295. if $ARGS[0] = 'payService':
  296. menu_off = 1
  297. minut += 1
  298. 'The amount '+price+' <b>₽</b> was taken in account of your weekly rent.'
  299. servicePaid += price
  300. act 'Continue':gt 'pavSharedApt', 'start'
  301. end
  302. if $ARGS[0] = 'rentSetup':
  303. menu_off = 1
  304. minut += 2
  305. 'You get a list of paper, saying the weekly rent fee is <<rentWeekly>> rubles.'
  306. rentPaid = 1
  307. introDone = 1
  308. rentWeekNum = (daystart - (daystart mod 7)) / 7 + 1
  309. act 'Continue':gt 'pavSharedApt', 'start'
  310. end
  311. if $ARGS[0] = 'intro':
  312. menu_off = 1
  313. gs 'pavSharedApt', 'update'
  314. if step > 0:
  315. '<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>'
  316. ''
  317. end
  318. if pavIntroStep = 0:
  319. minut += 2
  320. pavIntroStep = 1
  321. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/sp/sp.jpg"></center>'
  322. ''
  323. 'The door are opened by a young, nice looking athletic man.'
  324. '<font color=#<<$sp_font>>>"Hi sweetie! What do you need?"</font>'
  325. '<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>'
  326. '<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>'
  327. act 'Go in':gt 'pavSharedApt', 'intro'
  328. elseif pavIntroStep = 1:
  329. minut += 3
  330. pavIntroStep = 2
  331. '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.'
  332. 'The guy disappears in one of the doors and you can hear talking him to someone.'
  333. 'They seem to be trying to talk quietly, but you can hear a sentence or two..:'
  334. ''
  335. '"..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.."'
  336. ''
  337. 'In a while three young guys appear in the hallway.'
  338. '<font color=#<<$sp_font>>>"So that''s her guys. <<$pcs_firstname>>, could you introduce yourself to guys?"</font>'
  339. '<font color=#<<$pcs_font>>>"Hello, my name is <<$pcs_firstname>> <<$pcs_lastname>>. I would like to rent the empty room in your apartment."</font>'
  340. '<font color=#<<$gp_font>>>"Well now that''s what I like! Finally this won''t be such a gay party!"</font>'
  341. '<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>'
  342. '<font color=#<<$gp_font>>>"Yup, I''m <<$gp_name>>."</font>'
  343. '<font color=#<<$nd_font>>>"So you would like to live here with us?"</font>'
  344. '<font color=#<<$pcs_font>>>"Yes. I need a new place to stay."</font>'
  345. '<font color=#<<$gp_font>>>"How old are you girl?"</font>'
  346. '<font color=#<<$nd_font>>>"<<$gp_name>>! Not this again!"</font>'
  347. '<font color=#<<$pcs_font>>>"It''s OK. I am actually <<age>> years old. Why do you ask?"</font>'
  348. '<font color=#<<$nd_font>>>"He''s just idiot, don''t listen to him."</font>'
  349. if age < 18:
  350. '(You can see <<$gp_name>> rub his crotch just a brief moment after you told him your age. What''s he up to?)'
  351. end
  352. if knowpreg = 1:
  353. act 'Ask about children':
  354. cla
  355. pavIntroStep = 50
  356. '<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>'
  357. act 'continue':gt 'pavSharedApt', 'intro'
  358. end
  359. elseif kid > 0:
  360. act 'Ask about children':
  361. cla
  362. pavIntroStep = 50
  363. '<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>'
  364. act 'continue':gt 'pavSharedApt', 'intro'
  365. end
  366. else
  367. act 'Continue':gt 'pavSharedApt', 'intro'
  368. end
  369. elseif pavIntroStep = 2:
  370. minut += 3
  371. pavIntroStep = 3
  372. '<font color=#<<$pcs_font>>>"So what do you guys say, will you take me in?"</font>'
  373. '<font color=#<<$nd_font>>>"We may. But first, do you have the money to pay the rent?"</font>'
  374. '<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>'
  375. '<font color=#<<$nd_font>>>"It is indeed."</font>'
  376. '<font color=#<<$sp_font>>>"<<rentWeekly>> rubles. Per week."</font>'
  377. '<font color=#<<$pcs_font>>>"Uhm. That''s quite a lot. I''m not sure if I''ll be able to afford this.."</font>'
  378. '<font color=#<<$gp_font>>>"You can pay other ways if you''d like!"</font>'
  379. '<font color=#<<$nd_font>>>"<<$gp_name>>!"</font>'
  380. '<font color=#<<$pcs_font>>>"What do you mean by other ways?"</font>'
  381. '<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>'
  382. '<font color=#<<$pcs_font>>>"Like cooking and cleaning?"</font>'
  383. '<font color=#<<$sp_font>>>"Yes, exactly."</font>'
  384. '<font color=#<<$gp_font>>>"And more."</font>'
  385. '<font color=#<<$nd_font>>>"Oh my... I give up."</font>'
  386. act 'More what?':gt 'pavSharedApt', 'intro'
  387. elseif pavIntroStep = 3:
  388. minut += 3
  389. '<font color=#<<$gp_font>>>"More services."</font>'
  390. '<font color=#<<$pcs_font>>>"What kind of ''more services''?"</font>'
  391. '<font color=#<<$sp_font>>>"Girl to guys kind of services."</font>'
  392. '<font color=#<<$pcs_font>>>"You mean to be a whore for you? Instead of paying the rent???"</font>'
  393. '<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>'
  394. '<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>'
  395. '<font color=#<<$sp_font>>>"So what do you say <<$pcs_firstname>>?"</font>'
  396. act 'Say that you changed your mind about this':pavIntroStep = 40 & gt 'pavSharedApt', 'intro'
  397. act 'Say you will pay the rent the normal way':pavSharedAptEnabled = 1 & pavIntroStep = 10 & gt 'pavSharedApt', 'intro'
  398. act 'Say you don''t mind doing the homekeeping stuff':pavSharedAptEnabled = 1 & pavIntroStep = 20 & gt 'pavSharedApt', 'intro'
  399. act 'Say you don''t mind anything':pavSharedAptEnabled = 1 & pavIntroStep = 30 & gt 'pavSharedApt', 'intro'
  400. elseif pavIntroStep = 10:
  401. minut += 2
  402. '<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>'
  403. '<font color=#<<$pcs_font>>>"Yes, OK, I understand."</font>'
  404. '<font color=#<<$sp_font>>>"So the room is over there.</font>'
  405. '<font color=#<<$pcs_font>>>"Wait, Isn''t that the living room?"</font>'
  406. '<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>'
  407. '<font color=#<<$nd_font>>>"Have a nice day <<$pcs_firstname>>."</font>'
  408. '<font color=#<<$gp_font>>>"See ya later girlie..."</font>'
  409. '<font color=#<<$pcs_font>>>"Later guys!"</font>'
  410. servitudeLvl = 0
  411. act 'Continue':pavIntroStep = 0 & gt 'pavSharedApt', 'rentSetup'
  412. elseif pavIntroStep = 20:
  413. minut += 2
  414. '<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>'
  415. '<font color=#<<$pcs_font>>>"Yes, OK, I understand."</font>'
  416. '<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>'
  417. '<font color=#<<$pcs_font>>>"Cool!"</font>'
  418. '<font color=#<<$sp_font>>>"So the room is over there.</font>'
  419. '<font color=#<<$pcs_font>>>"Wait, Isn''t that the living room?"</font>'
  420. '<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>'
  421. '<font color=#<<$nd_font>>>"Have a nice day <<$pcs_firstname>>."</font>'
  422. '<font color=#<<$gp_font>>>"See ya later girlie..."</font>'
  423. '<font color=#<<$pcs_font>>>"Later guys!"</font>'
  424. servitudeLvl = 1
  425. act 'Continue':pavIntroStep = 0 & gt 'pavSharedApt', 'rentSetup'
  426. elseif pavIntroStep = 30:
  427. minut += 2
  428. '<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>'
  429. '<font color=#<<$pcs_font>>>"Yes, OK, I understand."</font>'
  430. '<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>'
  431. '<font color=#<<$gp_font>>>"The extra stuff services will be there too, girl."</font>'
  432. '<font color=#<<$pcs_font>>>"OK.."</font>'
  433. '<font color=#<<$sp_font>>>"So the room is over there.</font>'
  434. '<font color=#<<$pcs_font>>>"Wait, Isn''t that the living room?"</font>'
  435. '<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>'
  436. '<font color=#<<$nd_font>>>"Have a nice day <<$pcs_firstname>>."</font>'
  437. '<font color=#<<$gp_font>>>"See ya later girlie..."</font>'
  438. '<font color=#<<$pcs_font>>>"Later guys!"</font>'
  439. servitudeLvl = 2
  440. act 'Continue':pavIntroStep = 0 & gt 'pavSharedApt', 'rentSetup'
  441. elseif pavIntroStep = 40:
  442. minut += 2
  443. '<font color=#<<$nd_font>>>"I told you idiot not to scare her away!"</font>'
  444. '<font color=#<<$gp_font>>>"Sorry man! We can still lock her to the radiator like I suggested in the first place.."</font>'
  445. '<font color=#<<$nd_font>>>"Just shut up already!"</font>'
  446. ''
  447. '<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>'
  448. act 'Tell them goodbye and leave':pavIntroStep = 0 & gt 'pavComplex', 'start'
  449. elseif pavIntroStep = 50:
  450. minut += 2
  451. !add dialogue for returning after being previously expelled from apartment
  452. '<font color=#<<$nd_font>>>"I''m sorry <<$pcs_firstname>>, but we don''t want children or pets in the apartment!"</font>'
  453. '<font color=#<<$gp_font>>>"If you get rid of the kid, come back and see us."</font>'
  454. '<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>'
  455. if home_owned[2] = 1:
  456. act 'Suggest a compromise':
  457. cla
  458. pavIntroStep = 2
  459. '<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?'
  460. '<font color=#<<$sp_font>>>"Are you certain you want to do this?"</font>'
  461. '<font color=#<<$gp_font>>>"Sounds good to me!"</font>'
  462. '<font color=#<<$nd_font>>>"hmmmm"</font>'
  463. act 'Continue':gt 'pavSharedApt', 'intro'
  464. end
  465. act 'I wont leave my children':
  466. cla
  467. pavIntroStep = 0
  468. '<font color=#<<$pcs_font>>>"OK, I will make do with my current accomodation.'
  469. '<font color=#<<$sp_font>>>"We understand"</font>'
  470. '<font color=#<<$gp_font>>>"Damn"</font>'
  471. '<font color=#<<$nd_font>>>"No problem <<$pcs_firstname>>"</font>'
  472. act 'Continue':gt 'pavSharedApt', 'intro'
  473. end
  474. else
  475. '<font color=#<<$pcs_font>>>OK, I understand.</font>'
  476. act 'Thank them and leave':pavIntroStep = 0 & gt 'pavComplex', 'start'
  477. end
  478. end
  479. end
  480. ! the pricelist
  481. if $ARGS[0] = 'list':
  482. menu_off = 1
  483. $metka = 'list'
  484. minut += 2
  485. $goBack = $metka
  486. '<center><h3><<$pcs_firstname>>''s pricelist</h3></center>'
  487. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/list.jpg"></center>'
  488. ''
  489. 'The basic weekly rent is <<rentWeekly>> rubles.'
  490. 'It is possible to pay it in cash, or offer services instead. The prices are folllowing:'
  491. ''
  492. '---------------'
  493. ''
  494. 'Cooking a warm meal: '+price_cook
  495. 'Cleaning the apartment: '+price_clean
  496. if servitudeLvl >= 2:
  497. ''
  498. 'Handjob: '+price_handjob
  499. 'Blowjob: '+price_blowjob
  500. 'Sex: '+price_vaginal
  501. 'Anal sex: '+price_anal
  502. 'Special treats: '+price_special
  503. end
  504. ''
  505. '---------------'
  506. ''
  507. 'Not having paid the full weekly rent at the beginning of a new week will lead to termination of the accommodation services.'
  508. '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>>.'
  509. ''
  510. '---------------'
  511. act 'Continue':gt 'pavSharedApt', 'start'
  512. end
  513. ! paying with money
  514. if $ARGS[0] = 'payRent':
  515. menu_off = 1
  516. minut += 1
  517. 'You decided to give the guys money, instead of serving them.'
  518. 'You just spent <<paid_rent>> cash.'
  519. money -= paid_rent
  520. gs 'stat'
  521. act 'Continue': gs 'pavSharedApt', 'start'
  522. end
  523. if $ARGS[0] = 'bathroom':
  524. $menu_loc = 'pavSharedApt'
  525. $menu_arg = 'bathroom'
  526. menu_off = 0
  527. minut += 1
  528. $location_type = 'bathroom'
  529. $loc = 'pavSharedApt'
  530. $metka = 'bathroom'
  531. $metkaM = 'bathroom'
  532. $locM = 'pavSharedApt'
  533. '<center><h3>Bathroom</h3></center>'
  534. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/vanrpar.jpg"></center>'
  535. *nl
  536. 'Modest bathroom, containing all that young people need for their daily life, such as:'
  537. '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.'
  538. *nl
  539. gs 'din_van', 'private'
  540. gs 'stat'
  541. act 'Leave':gt 'pavSharedApt', 'start'
  542. end
  543. if $ARGS[0] = 'kitchen':
  544. $menu_loc = 'pavSharedApt'
  545. $menu_arg = 'kitchen'
  546. menu_off = 0
  547. *clr & cla
  548. minut += 2
  549. $loc = 'pavSharedApt'
  550. $metka = 'kitchen'
  551. $locclass = 'kitr'
  552. gs 'stat'
  553. gs 'kit_din'
  554. '<center><h3>Kitchen</h3></center>'
  555. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/kuhrpar.jpg"></center>'
  556. 'It''s a modest kitchen, but has all that is needed.'
  557. ! dishes
  558. if cltarelka > 0:
  559. 'Above the sink are <b><<cltarelka>></b> the clean plates'
  560. else
  561. '<b><font color = red>You have no clean dishes left.</font></b>'
  562. end
  563. if dirttarelka > 0:'The sink has <b><<dirttarelka>></b> dirty dishes. <a href="exec: dynamic $dirtarm">that need to be washed</a>.'
  564. if fairy > 0:
  565. 'Above the sink is some detergent to wash the dishes with. There is enough for <b><<fairy>></b> uses.'
  566. else
  567. '<b><font color = red>You do not have enough detergent, you should buy some from the supermarket.</font></b>'
  568. end
  569. ! food
  570. if eda > 0:
  571. if cltarelka = 0 or edahot > 0:$edagot = ''
  572. if cltarelka > 0 and edahot = 0:
  573. $edagot = '<a href="exec:dynamic $edagotd">Cook a meal for yourself (0:30)</a>'
  574. end
  575. 'In the refrigerator there''s enough (your own) food for <b><<eda>></b> servings. <<$edagot>>'
  576. end
  577. if edahot > 0:'<a href="exec: dynamic $edahotd ">On the table is ready meal (0:30).</a>'
  578. if edaD = 0 and eda = 0:'<b><font color="red">You have nothing to eat, the refrigerator is empty!</font></b>'
  579. if eda >= 3:
  580. '<a href="exec: gt ''pavSharedApt'', ''cookForGuys''">Cook meal (1:30) for the guys</a>'
  581. end
  582. dynamic $edasnack
  583. dynamic $driwater
  584. dynamic $dritea
  585. dynamic $pranik
  586. dynamic $edaD
  587. dynamic $fatdel
  588. dynamic $lekarstvo
  589. act 'Leave':gt 'pavSharedApt', 'start'
  590. end
  591. if $ARGS[0] = 'cookForGuys':
  592. menu_off = 1
  593. cla
  594. *clr
  595. $loc = 'pavSharedApt'
  596. $metka = 'kitchen'
  597. minut += 90
  598. eda -= 3
  599. kuhdrova = 0
  600. pcs_mood -= 10
  601. gs 'stat'
  602. '<center><img <<$set_imgh>> src="images/shared/home/kitchen/cook.jpg"></center>'
  603. 'You prepare three meals.'
  604. price = price_cook
  605. act 'Leave the meal':gt 'pavSharedApt', 'payService'
  606. end
  607. if $ARGS[0] = 'cleanForGuys':
  608. menu_off = 1
  609. cla
  610. *clr
  611. minut += 60
  612. poroshok -= 3
  613. pcs_mood -= 10
  614. gs 'stat'
  615. '<center><img <<$set_imgh>> src="images/locations/city/residential/apartment/stir.jpg"></center>'
  616. price = price_clean
  617. *nl
  618. 'You collect piles 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.'
  619. cumStainCh = rand (0, 100)
  620. 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>'
  621. act 'Hang them to dry out and leave':gt 'pavSharedApt', 'payService'
  622. end
  623. ! living room & pc bedroom
  624. if $ARGS[0] = 'pcsRoom':
  625. $menu_loc = 'pavSharedApt'
  626. $menu_arg = 'pcsRoom'
  627. menu_off = 0
  628. $loc = 'pavSharedApt'
  629. $metka = 'pcsRoom'
  630. $location_type = 'private'
  631. $locclass = 'bedr'
  632. minut += 2
  633. gs 'stat'
  634. gs 'pavSharedApt', 'update'
  635. '<center><b><font color="maroon">Living Room</font></b></center>'
  636. '<center><img <<$set_imgh>> src="images/shared/sharedapt/bedroom/sofabed.jpg"></center>'
  637. *nl
  638. '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.'
  639. *nl
  640. 'Beside the sofa bed, is an old cabinet, with your <a href="exec:gt ''budilnik'', ''start''">alarm clock</a> on top.'
  641. if budilnikOn = 0:
  642. '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>.'
  643. else
  644. '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>.'
  645. end
  646. *nl
  647. if TV = 0:$TV = 'a great place for a TV, if you had one.'
  648. if TV = 1:$TV = 'an old CRT <a href="exec:gt ''TV'', ''start''">TV</a> sits on the shelf'
  649. '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.'
  650. *nl
  651. '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.'
  652. *nl
  653. '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'
  654. act '<b>Leave the room</b>':gt 'pavSharedApt', 'start'
  655. act 'Sit on the sofa bed':gt 'pavSharedApt', 'sofabed'
  656. if obruch > 0: '<br>A hula hoop stands in corner of the room. '
  657. if skak > 0: 'A jump rope is on a shelf. '
  658. if bookYog > 0: 'A yoga mat is rolled up in a corner. '
  659. gs 'exercise', 'start'
  660. *nl
  661. if komp = 1:'Your <a href="exec:gorodokKomp = 1 & gt ''Komp'',''start''">laptop</a> is sitting on small table.'
  662. if student > 0 and kursovik < 100:
  663. act 'Do coursework (1:00)':
  664. cla
  665. *clr
  666. minut += 60
  667. kursovik += rand(pcs_intel / 20, pcs_intel / 10)
  668. if kursovik > 100:kursovik = 100
  669. pcs_mood -= 10
  670. '<center><img <<$set_imgh>> src="images/pc/activities/study.jpg"></center>'
  671. 'You sit down on the sofa bed and do your coursework, you''ve finished <<kursovik>> percent of it.'
  672. act 'Stand up':gt 'pavSharedApt', 'pcsRoom'
  673. end
  674. end
  675. if vcard > 0: act 'View your vintage porn cards':card_deck = 0 & gt 'card'
  676. if card > 0: act 'View your new porn cards':card_deck = 1 & gt 'card'
  677. if dur > 0:'You have <<dur>> doses of Pale Lady, hidden from the other housemates.'
  678. if dur > 0 and narkday ! daystart:
  679. act 'Use some Pale Lady (0:05)':
  680. cla
  681. *clr
  682. minut += 5
  683. narkday = daystart
  684. pcs_health = pcs_vital * 10 + pcs_stren * 5
  685. pcs_willpwr = pcs_intel * 5 + pcs_sprt * 5
  686. pcs_mood = 100
  687. pcs_horny = 100
  688. nark += 10
  689. dur -= 1
  690. gs 'stat'
  691. '<center><img <<$set_imgh>> src="images/shared/drugs/dur.jpg"></center>'
  692. 'You snort some Pale Lady, feeling dizzy for just a moment. After that you feel fantastic, and incredibly horny.'
  693. act 'Continue':gt 'pavSharedApt', 'pcsRoom'
  694. end
  695. end
  696. if gobelen>0:'You have <<gobelen>> completed tapestries.'
  697. if pcs_sewng >= 40 and tkan > 0:'You have enough fabric for <<tkan>> lessons.'
  698. if pcs_sewng >= 40 and tkan <= 0:'You do not have any fabric.'
  699. if pcs_sewng >= 80:
  700. if newgobelen = 0 and tkan > 0:
  701. act'Start a new tapestry':
  702. cls
  703. tkan -= 1
  704. newgobelen = 1
  705. minut += 15
  706. gs'stat'
  707. 'You spend 15 minutes at the embroidery frame, preparing the fabric and outlining the pattern for the tapestry.'
  708. act'Set the tapestry aside':gt 'pavSharedApt', 'pcsRoom'
  709. end
  710. end
  711. if newgobelen>=1:
  712. 'Your tapestry is <<newgobelen/10>> percent finished.'
  713. act'Work on the tapestry for an hour':
  714. cls
  715. minut+=60
  716. sewng_exp += rand(pcs_intel/10, pcs_intel/5)
  717. gobramax = (pcs_sewng - 70) * 6
  718. gobramin = (pcs_sewng - 70) * 2
  719. newgobelen += rand(gobramin,gobramax)
  720. gs'stat'
  721. if newgobelen < 1000:'You spent an hour working on your tapestry, which is now <<newgobelen/10>> percent finished.'
  722. if newgobelen >= 1000:
  723. newgobelen = 0
  724. gobelen += 1
  725. 'Your work on the tapestry is done.'
  726. end
  727. act'Set the tapestry aside':gt 'pavSharedApt', 'pcsRoom'
  728. end
  729. end
  730. end
  731. if tabletki > 0 and prezik + prezikcount + preziksabo > 0:
  732. '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>.'
  733. elseif tabletki > 0:
  734. 'Your <a href="exec:gt ''stol'', ''bc''">birth control</a> tablets are in the cabinet next to your bed.'
  735. elseif prezik + prezikcount + preziksabo > 0:
  736. 'Your <a href="exec:gt ''stol'', ''bc''">condoms</a> are in the cabinet next to your bed.'
  737. end
  738. ''
  739. if sewing_kit = 1:
  740. 'Your <a href="exec:gt ''sewing'',''start''">sewing kit</a> is stored on a shelf.'
  741. end
  742. if tovarL > 0:'You currently have <<tovarL>> trinkets to sell at the station. The maximum you can carry with you is 30.'
  743. dynamic $wearpan
  744. dynamic $removepan
  745. !gs 'subkid'
  746. act 'Relax on your bed': gt 'bed', 'start'
  747. end
  748. if $ARGS[0] = 'sofabed':
  749. $menu_loc = 'pavSharedApt'
  750. $menu_arg = 'sofabed'
  751. menu_off = 0
  752. $loc = 'pavSharedApt'
  753. $metka = 'sofabed'
  754. *clr & cla
  755. gs 'stat'
  756. '<center><img <<$set_imgh>> src="images/shared/sharedapt/bedroom/sofabed.jpg"></center>'
  757. '<center>A small sofa bed, when not unfolded, is just big enough for you to curl up on and take a nap.</center>'
  758. if TV = 1:
  759. act 'Watch some TV':gt 'TV', 'start'
  760. end
  761. if pornMagazine > 0:'<br>There is a porn magazine under the sofa cushions'
  762. gs 'events', 'read_porn'
  763. gs 'events', 'read'
  764. if pcs_horny >= 50:
  765. act 'Masturbate':gt 'selfplay', 'start'
  766. end
  767. act 'Take a nap (1:00)':
  768. if pcs_sleep < 90:
  769. pcs_sleep += 10
  770. pcs_health += 5
  771. minut += 60
  772. gs 'stat'
  773. 'You sleep about an hour.'
  774. else
  775. minut += 5
  776. gs 'stat'
  777. 'You are not tired enough to sleep, even for a short nap.'
  778. end
  779. end
  780. act 'Get up':gt 'pavSharedApt', 'pcsRoom'
  781. end
  782. if $ARGS[0] = 'ndRoom':
  783. $menu_loc = 'pavSharedApt'
  784. $menu_arg = 'ndRoom'
  785. menu_off = 0
  786. $loc = 'pavSharedApt'
  787. $metka = 'ndRoom'
  788. minut += 2
  789. '<center><h3><font color=#<<$nd_font>>><<$nd_name>>''s room</font></h3></center>'
  790. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/nd/room.jpg"></center>'
  791. ''
  792. 'The room is surprisingly not as messy as one would expect, given that <<$nd_name>> is an IT guy.'
  793. 'There is one large window with bed bellow it, but the whole room is dominated by a large table with several computers and monitors.'
  794. 'Looking at it one would say that this must be a den of a hacker.'
  795. if hour >= nd_sleeps and hour < nd_wakes:
  796. '<<$nd_name>> is sleeping in his bed.'
  797. elseif hour >= nd_wakes and hour < nd_leaves:
  798. '<<$nd_name>> is already awake, getting ready to leave.'
  799. act 'Approach him': gt 'pavShared_nd', 'nd'
  800. elseif hour >= nd_leaves and hour < nd_comes:
  801. '<<$nd_name>> is not here.'
  802. elseif hour >= nd_comes and hour < nd_sleeps:
  803. '<<$nd_name>> is currently behind his desk, doing some clever IT stuff.'
  804. act 'Approach him': gt 'pavShared_nd', 'nd'
  805. end
  806. if servitudeLvl >= 1 and nd_cleaned = 0:
  807. if poroshok >= 1:
  808. act 'Clean the room':nd_cleaned = 1 & gt 'pavSharedApt', 'cleanForGuys'
  809. else
  810. 'You don''t have enough laundry detergent to clean the room'
  811. end
  812. end
  813. act 'Leave':gt 'pavSharedApt', 'start'
  814. end
  815. if $ARGS[0] = 'gpRoom':
  816. $menu_loc = 'pavSharedApt'
  817. $menu_arg = 'gpRoom'
  818. menu_off = 0
  819. $loc = 'pavSharedApt'
  820. $metka = 'gpRoom'
  821. minut += 2
  822. '<center><h3><font color=#<<$gp_font>>><<$gp_name>>''s room</font></h3></center>'
  823. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/gp/room.jpg"></center>'
  824. ''
  825. 'Messy room. Clothes everywhere.'
  826. if hour >= gp_wakes and hour < gp_leaves:
  827. '<<$gp_name>> is already awake, getting ready to leave.'
  828. act 'Approach him': gt 'pavShared_gp', 'gp'
  829. elseif hour >= gp_leaves and hour < gp_comes:
  830. '<<$gp_name>> is not here.'
  831. elseif hour >= gp_comes and hour < gp_sleeps:
  832. '<<$gp_name>> is currently on his bed, listing through some magazines.'
  833. act 'Approach him': gt 'pavShared_gp', 'gp'
  834. elseif hour >= gp_sleeps or hour < gp_wakes:
  835. '<<$gp_name>> is sleeping in his bed.'
  836. end
  837. if servitudeLvl >= 1 and gp_cleaned = 0:
  838. if poroshok >= 1:
  839. act 'Clean the room':gp_cleaned = 1 & gt 'pavSharedApt', 'cleanForGuys'
  840. else
  841. 'You don''t have enough laundry detergent to clean the room'
  842. end
  843. end
  844. act 'Leave':gt 'pavSharedApt', 'start'
  845. end
  846. if $ARGS[0] = 'spRoom':
  847. $menu_loc = 'pavSharedApt'
  848. $menu_arg = 'spRoom'
  849. menu_off = 0
  850. $loc = 'pavSharedApt'
  851. $metka = 'spRoom'
  852. minut += 2
  853. '<center><h3><font color=#<<$sp_font>>><<$sp_name>>''s room</font></h3></center>'
  854. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/sp/room.jpg"></center>'
  855. ''
  856. 'Tidy room full of sporting stuff like dresses, equipment and trophys. On the walls hang several posters of famous sport guys.'
  857. if hour >= sp_wakes and hour < sp_leaves:
  858. '<<$sp_name>> is already awake, packing his bags to leave.'
  859. act 'Approach him': gt 'pavShared_sp', 'sp'
  860. elseif hour >= sp_leaves and hour < sp_comes:
  861. '<<$sp_name>> is not here.'
  862. elseif hour >= sp_comes and hour < sp_sleeps:
  863. doesStuff = rand (0, 100)
  864. if doesStuff < 50:'<<$sp_name>> is currently on his bed, listing through sport magazines.'
  865. if doesStuff >= 50:'<<$sp_name>> is working out on the floor.'
  866. act 'Approach him': gt 'pavShared_sp', 'sp'
  867. elseif hour >= sp_sleeps or hour < sp_wakes:
  868. '<<$sp_name>> is sleeping in his bed.'
  869. end
  870. if servitudeLvl >= 1 and sp_cleaned = 0:
  871. if poroshok >= 1:
  872. act 'Clean the room':sp_cleaned = 1 & gt 'pavSharedApt', 'cleanForGuys'
  873. else
  874. 'You don''t have enough laundry detergent to clean the room'
  875. end
  876. end
  877. act 'Leave':gt 'pavSharedApt', 'start'
  878. end
  879. --- pavSharedApt ---------------------------------