pavSharedApt.qsrc 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962
  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. !! Wardrobe is here, because Sveta''s bedroom is actually the unused living room, with no wardrobe, so she is using the hall cupboard.
  259. '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.'
  260. ''
  261. if servitudeLvl >= 1:'A computer printed <a href="exec:gt ''pavSharedApt'', ''list''">list</a> hangs on the exit door.'
  262. act 'Go to your room':gt 'pavSharedApt', 'pcsRoom'
  263. act 'Go to the bathroom':gt 'pavSharedApt', 'bathroom'
  264. act 'Go to the kitchen':gt 'pavSharedApt', 'kitchen'
  265. act '<font color=#<<$nd_font>>><<$nd_name>>''s room</font>':gt 'pavSharedApt', 'ndRoom'
  266. act '<font color=#<<$gp_font>>><<$gp_name>>''s room</font>':gt 'pavSharedApt', 'gpRoom'
  267. act '<font color=#<<$sp_font>>><<$sp_name>>''s room</font>':gt 'pavSharedApt', 'spRoom'
  268. end
  269. if home_owned[2] = 0 and kid > 0:
  270. *clr & cla
  271. pavIntroStep = 0
  272. introDone = 0
  273. minut = 5
  274. !Need to have some actual story to this with NPC reactions.
  275. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/dimka/revenge/crying.jpg"></center>'
  276. 'You''ve been kicked out of the apartment due to having children.'
  277. pavSharedAptEnabled = 0
  278. act 'Leave':gt 'pavComplex', 'start'
  279. end
  280. end
  281. if $ARGS[0] = 'payCash':
  282. menu_off = 1
  283. minut += 2
  284. cash = rentLeft
  285. if money >= cash:
  286. 'You have decided to pay the remainder of the weekly rent in cash. It makes '+cash+' <b>₽</b>.'
  287. cashPaid += cash
  288. money -= cash
  289. rentPaid = 1
  290. pavSharedAptEnabled = 1
  291. else
  292. 'You do not have enough money to pay it.'
  293. end
  294. act 'Proceed':gt 'pavSharedApt', 'start'
  295. end
  296. if $ARGS[0] = 'payService':
  297. menu_off = 1
  298. minut += 1
  299. 'The amount '+price+' <b>₽</b> was taken in account of your weekly rent.'
  300. servicePaid += price
  301. act 'Continue':gt 'pavSharedApt', 'start'
  302. end
  303. if $ARGS[0] = 'rentSetup':
  304. menu_off = 1
  305. minut += 2
  306. 'You get a list of paper, saying the weekly rent fee is <<rentWeekly>> rubles.'
  307. rentPaid = 1
  308. introDone = 1
  309. rentWeekNum = (daystart - (daystart mod 7)) / 7 + 1
  310. act 'Continue':gt 'pavSharedApt', 'start'
  311. end
  312. if $ARGS[0] = 'intro':
  313. menu_off = 1
  314. gs 'pavSharedApt', 'update'
  315. if step > 0:
  316. '<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>'
  317. ''
  318. end
  319. if pavIntroStep = 0:
  320. minut += 2
  321. pavIntroStep = 1
  322. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/sp/sp.jpg"></center>'
  323. ''
  324. 'The door are opened by a young, nice looking athletic man.'
  325. '<font color=#<<$sp_font>>>"Hi sweetie! What do you need?"</font>'
  326. '<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>'
  327. '<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>'
  328. act 'Go in':gt 'pavSharedApt', 'intro'
  329. elseif pavIntroStep = 1:
  330. minut += 3
  331. pavIntroStep = 2
  332. '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.'
  333. 'The guy disappears in one of the doors and you can hear talking him to someone.'
  334. 'They seem to be trying to talk quietly, but you can hear a sentence or two..:'
  335. ''
  336. '"..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.."'
  337. ''
  338. 'In a while three young guys appear in the hallway.'
  339. '<font color=#<<$sp_font>>>"So that''s her guys. <<$pcs_firstname>>, could you introduce yourself to guys?"</font>'
  340. '<font color=#<<$pcs_font>>>"Hello, my name is <<$pcs_firstname>> <<$pcs_lastname>>. I would like to rent the empty room in your apartment."</font>'
  341. '<font color=#<<$gp_font>>>"Well now that''s what I like! Finally this won''t be such a gay party!"</font>'
  342. '<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>'
  343. '<font color=#<<$gp_font>>>"Yup, I''m <<$gp_name>>."</font>'
  344. '<font color=#<<$nd_font>>>"So you would like to live here with us?"</font>'
  345. '<font color=#<<$pcs_font>>>"Yes. I need a new place to stay."</font>'
  346. '<font color=#<<$gp_font>>>"How old are you girl?"</font>'
  347. '<font color=#<<$nd_font>>>"<<$gp_name>>! Not this again!"</font>'
  348. '<font color=#<<$pcs_font>>>"It''s OK. I am actually <<age>> years old. Why do you ask?"</font>'
  349. '<font color=#<<$nd_font>>>"He''s just idiot, don''t listen to him."</font>'
  350. if age < 18:
  351. '(You can see <<$gp_name>> rub his crotch just a brief moment after you told him your age. What''s he up to?)'
  352. end
  353. if knowpreg = 1:
  354. act 'Ask about children':
  355. cla
  356. pavIntroStep = 50
  357. '<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>'
  358. act 'continue':gt 'pavSharedApt', 'intro'
  359. end
  360. elseif kid > 0:
  361. act 'Ask about children':
  362. cla
  363. pavIntroStep = 50
  364. '<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>'
  365. act 'continue':gt 'pavSharedApt', 'intro'
  366. end
  367. else
  368. act 'Continue':gt 'pavSharedApt', 'intro'
  369. end
  370. elseif pavIntroStep = 2:
  371. minut += 3
  372. pavIntroStep = 3
  373. '<font color=#<<$pcs_font>>>"So what do you guys say, will you take me in?"</font>'
  374. '<font color=#<<$nd_font>>>"We may. But first, do you have the money to pay the rent?"</font>'
  375. '<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>'
  376. '<font color=#<<$nd_font>>>"It is indeed."</font>'
  377. '<font color=#<<$sp_font>>>"<<rentWeekly>> rubles. Per week."</font>'
  378. '<font color=#<<$pcs_font>>>"Uhm. That''s quite a lot. I''m not sure if I''ll be able to afford this.."</font>'
  379. '<font color=#<<$gp_font>>>"You can pay other ways if you''d like!"</font>'
  380. '<font color=#<<$nd_font>>>"<<$gp_name>>!"</font>'
  381. '<font color=#<<$pcs_font>>>"What do you mean by other ways?"</font>'
  382. '<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>'
  383. '<font color=#<<$pcs_font>>>"Like cooking and cleaning?"</font>'
  384. '<font color=#<<$sp_font>>>"Yes, exactly."</font>'
  385. '<font color=#<<$gp_font>>>"And more."</font>'
  386. '<font color=#<<$nd_font>>>"Oh my... I give up."</font>'
  387. act 'More what?':gt 'pavSharedApt', 'intro'
  388. elseif pavIntroStep = 3:
  389. minut += 3
  390. '<font color=#<<$gp_font>>>"More services."</font>'
  391. '<font color=#<<$pcs_font>>>"What kind of ''more services''?"</font>'
  392. '<font color=#<<$sp_font>>>"Girl to guys kind of services."</font>'
  393. '<font color=#<<$pcs_font>>>"You mean to be a whore for you? Instead of paying the rent???"</font>'
  394. '<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>'
  395. '<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>'
  396. '<font color=#<<$sp_font>>>"So what do you say <<$pcs_firstname>>?"</font>'
  397. act 'Say that you changed your mind about this':pavIntroStep = 40 & gt 'pavSharedApt', 'intro'
  398. act 'Say you will pay the rent the normal way':pavSharedAptEnabled = 1 & pavIntroStep = 10 & gt 'pavSharedApt', 'intro'
  399. act 'Say you don''t mind doing the homekeeping stuff':pavSharedAptEnabled = 1 & pavIntroStep = 20 & gt 'pavSharedApt', 'intro'
  400. act 'Say you don''t mind anything':pavSharedAptEnabled = 1 & pavIntroStep = 30 & gt 'pavSharedApt', 'intro'
  401. elseif pavIntroStep = 10:
  402. minut += 2
  403. '<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>'
  404. '<font color=#<<$pcs_font>>>"Yes, OK, I understand."</font>'
  405. '<font color=#<<$sp_font>>>"So the room is over there.</font>'
  406. '<font color=#<<$pcs_font>>>"Wait, Isn''t that the living room?"</font>'
  407. '<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>'
  408. '<font color=#<<$nd_font>>>"Have a nice day <<$pcs_firstname>>."</font>'
  409. '<font color=#<<$gp_font>>>"See ya later girlie..."</font>'
  410. '<font color=#<<$pcs_font>>>"Later guys!"</font>'
  411. servitudeLvl = 0
  412. act 'Continue':pavIntroStep = 0 & gt 'pavSharedApt', 'rentSetup'
  413. elseif pavIntroStep = 20:
  414. minut += 2
  415. '<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>'
  416. '<font color=#<<$pcs_font>>>"Yes, OK, I understand."</font>'
  417. '<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>'
  418. '<font color=#<<$pcs_font>>>"Cool!"</font>'
  419. '<font color=#<<$sp_font>>>"So the room is over there.</font>'
  420. '<font color=#<<$pcs_font>>>"Wait, Isn''t that the living room?"</font>'
  421. '<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>'
  422. '<font color=#<<$nd_font>>>"Have a nice day <<$pcs_firstname>>."</font>'
  423. '<font color=#<<$gp_font>>>"See ya later girlie..."</font>'
  424. '<font color=#<<$pcs_font>>>"Later guys!"</font>'
  425. servitudeLvl = 1
  426. act 'Continue':pavIntroStep = 0 & gt 'pavSharedApt', 'rentSetup'
  427. elseif pavIntroStep = 30:
  428. minut += 2
  429. '<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>'
  430. '<font color=#<<$pcs_font>>>"Yes, OK, I understand."</font>'
  431. '<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>'
  432. '<font color=#<<$gp_font>>>"The extra stuff services will be there too, girl."</font>'
  433. '<font color=#<<$pcs_font>>>"OK.."</font>'
  434. '<font color=#<<$sp_font>>>"So the room is over there.</font>'
  435. '<font color=#<<$pcs_font>>>"Wait, Isn''t that the living room?"</font>'
  436. '<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>'
  437. '<font color=#<<$nd_font>>>"Have a nice day <<$pcs_firstname>>."</font>'
  438. '<font color=#<<$gp_font>>>"See ya later girlie..."</font>'
  439. '<font color=#<<$pcs_font>>>"Later guys!"</font>'
  440. servitudeLvl = 2
  441. act 'Continue':pavIntroStep = 0 & gt 'pavSharedApt', 'rentSetup'
  442. elseif pavIntroStep = 40:
  443. minut += 2
  444. '<font color=#<<$nd_font>>>"I told you idiot not to scare her away!"</font>'
  445. '<font color=#<<$gp_font>>>"Sorry man! We can still lock her to the radiator like I suggested in the first place.."</font>'
  446. '<font color=#<<$nd_font>>>"Just shut up already!"</font>'
  447. ''
  448. '<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>'
  449. act 'Tell them goodbye and leave':pavIntroStep = 0 & gt 'pavComplex', 'start'
  450. elseif pavIntroStep = 50:
  451. minut += 2
  452. !add dialogue for returning after being previously expelled from apartment
  453. '<font color=#<<$nd_font>>>"I''m sorry <<$pcs_firstname>>, but we don''t want children or pets in the apartment!"</font>'
  454. '<font color=#<<$gp_font>>>"If you get rid of the kid, come back and see us."</font>'
  455. '<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>'
  456. if home_owned[2] = 1:
  457. act 'Suggest a compromise':
  458. cla
  459. pavIntroStep = 2
  460. '<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?'
  461. '<font color=#<<$sp_font>>>"Are you certain you want to do this?"</font>'
  462. '<font color=#<<$gp_font>>>"Sounds good to me!"</font>'
  463. '<font color=#<<$nd_font>>>"hmmmm"</font>'
  464. act 'Continue':gt 'pavSharedApt', 'intro'
  465. end
  466. act 'I wont leave my children':
  467. cla
  468. pavIntroStep = 0
  469. '<font color=#<<$pcs_font>>>"OK, I will make do with my current accomodation.'
  470. '<font color=#<<$sp_font>>>"We understand"</font>'
  471. '<font color=#<<$gp_font>>>"Damn"</font>'
  472. '<font color=#<<$nd_font>>>"No problem <<$pcs_firstname>>"</font>'
  473. act 'Continue':gt 'pavSharedApt', 'intro'
  474. end
  475. else
  476. '<font color=#<<$pcs_font>>>OK, I understand.</font>'
  477. act 'Thank them and leave':pavIntroStep = 0 & gt 'pavComplex', 'start'
  478. end
  479. end
  480. end
  481. ! the pricelist
  482. if $ARGS[0] = 'list':
  483. menu_off = 1
  484. $metka = 'list'
  485. minut += 2
  486. $goBack = $metka
  487. '<center><h3><<$pcs_firstname>>''s pricelist</h3></center>'
  488. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/list.jpg"></center>'
  489. ''
  490. 'The basic weekly rent is <<rentWeekly>> rubles.'
  491. 'It is possible to pay it in cash, or offer services instead. The prices are folllowing:'
  492. ''
  493. '---------------'
  494. ''
  495. 'Cooking a warm meal: '+price_cook
  496. 'Cleaning the apartment: '+price_clean
  497. if servitudeLvl >= 2:
  498. ''
  499. 'Handjob: '+price_handjob
  500. 'Blowjob: '+price_blowjob
  501. 'Sex: '+price_vaginal
  502. 'Anal sex: '+price_anal
  503. 'Special treats: '+price_special
  504. end
  505. ''
  506. '---------------'
  507. ''
  508. 'Not having paid the full weekly rent at the beginning of a new week will lead to termination of the accommodation services.'
  509. '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>>.'
  510. ''
  511. '---------------'
  512. act 'Continue':gt 'pavSharedApt', 'start'
  513. end
  514. ! paying with money
  515. if $ARGS[0] = 'payRent':
  516. menu_off = 1
  517. minut += 1
  518. 'You decided to give the guys money, instead of serving them.'
  519. 'You just spent <<paid_rent>> cash.'
  520. money -= paid_rent
  521. gs 'stat'
  522. act 'Continue': gs 'pavSharedApt', 'start'
  523. end
  524. if $ARGS[0] = 'bathroom':
  525. $menu_loc = 'pavSharedApt'
  526. $menu_arg = 'bathroom'
  527. menu_off = 0
  528. minut += 1
  529. $location_type = 'bathroom'
  530. $loc = 'pavSharedApt'
  531. $metka = 'bathroom'
  532. $metkaM = 'bathroom'
  533. $locM = 'pavSharedApt'
  534. '<center><h3>Bathroom</h3></center>'
  535. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/vanrpar.jpg"></center>'
  536. *nl
  537. 'Modest bathroom, containing all that young people need for their daily life, such as:'
  538. '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.'
  539. *nl
  540. gs 'din_van', 'private'
  541. gs 'stat'
  542. act 'Leave':gt 'pavSharedApt', 'start'
  543. end
  544. if $ARGS[0] = 'kitchen':
  545. $menu_loc = 'pavSharedApt'
  546. $menu_arg = 'kitchen'
  547. menu_off = 0
  548. *clr & cla
  549. minut += 2
  550. $loc = 'pavSharedApt'
  551. $metka = 'kitchen'
  552. $locclass = 'kitr'
  553. gs 'stat'
  554. gs 'kit_din'
  555. '<center><h3>Kitchen</h3></center>'
  556. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/kuhrpar.jpg"></center>'
  557. 'It''s a modest kitchen, but has all that is needed.'
  558. ! dishes
  559. if cltarelka > 0:
  560. 'Above the sink are <b><<cltarelka>></b> the clean plates'
  561. else
  562. '<b><font color = red>You have no clean dishes left.</font></b>'
  563. end
  564. if dirttarelka > 0:'The sink has <b><<dirttarelka>></b> dirty dishes. <a href="exec: dynamic $dirtarm">that need to be washed</a>.'
  565. if fairy > 0:
  566. 'Above the sink is some detergent to wash the dishes with. There is enough for <b><<fairy>></b> uses.'
  567. else
  568. '<b><font color = red>You do not have enough detergent, you should buy some from the supermarket.</font></b>'
  569. end
  570. ! food
  571. if eda > 0:
  572. if cltarelka = 0 or edahot > 0:$edagot = ''
  573. if cltarelka > 0 and edahot = 0:
  574. $edagot = '<a href="exec:dynamic $edagotd">Cook a meal for yourself (0:30)</a>'
  575. end
  576. 'In the refrigerator there''s enough (your own) food for <b><<eda>></b> servings. <<$edagot>>'
  577. end
  578. if edahot > 0:'<a href="exec: dynamic $edahotd ">On the table is ready meal (0:30).</a>'
  579. if edaD = 0 and eda = 0:'<b><font color="red">You have nothing to eat, the refrigerator is empty!</font></b>'
  580. if eda >= 3:
  581. '<a href="exec: gt ''pavSharedApt'', ''cookForGuys''">Cook meal (1:30) for the guys</a>'
  582. end
  583. dynamic $edasnack
  584. dynamic $driwater
  585. dynamic $dritea
  586. dynamic $pranik
  587. dynamic $edaD
  588. dynamic $fatdel
  589. dynamic $lekarstvo
  590. act 'Leave':gt 'pavSharedApt', 'start'
  591. end
  592. if $ARGS[0] = 'cookForGuys':
  593. menu_off = 1
  594. cla
  595. *clr
  596. $loc = 'pavSharedApt'
  597. $metka = 'kitchen'
  598. minut += 90
  599. eda -= 3
  600. kuhdrova = 0
  601. pcs_mood -= 10
  602. gs 'stat'
  603. '<center><img <<$set_imgh>> src="images/shared/home/kitchen/cook.jpg"></center>'
  604. 'You prepare three meals.'
  605. price = price_cook
  606. act 'Leave the meal':gt 'pavSharedApt', 'payService'
  607. end
  608. if $ARGS[0] = 'cleanForGuys':
  609. menu_off = 1
  610. cla
  611. *clr
  612. minut += 60
  613. poroshok -= 3
  614. pcs_mood -= 10
  615. gs 'stat'
  616. '<center><img <<$set_imgh>> src="images/locations/city/residential/apartment/stir.jpg"></center>'
  617. price = price_clean
  618. *nl
  619. '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.'
  620. cumStainCh = rand (0, 100)
  621. 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>'
  622. act 'Hang them to dry out and leave':gt 'pavSharedApt', 'payService'
  623. end
  624. ! living room & pc bedroom
  625. if $ARGS[0] = 'pcsRoom':
  626. $menu_loc = 'pavSharedApt'
  627. $menu_arg = 'pcsRoom'
  628. menu_off = 0
  629. $loc = 'pavSharedApt'
  630. $metka = 'pcsRoom'
  631. $location_type = 'private'
  632. $locclass = 'bedr'
  633. minut += 2
  634. gs 'stat'
  635. gs 'pavSharedApt', 'update'
  636. '<center><b><font color="maroon">Living Room</font></b></center>'
  637. '<center><img <<$set_imgh>> src="images/shared/sharedapt/bedroom/sofabed.jpg"></center>'
  638. *nl
  639. '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.'
  640. *nl
  641. 'Beside the sofa bed, is an old cabinet, with your <a href="exec:gt ''budilnik'', ''start''">alarm clock</a> on top.'
  642. if budilnikOn = 0:
  643. '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>.'
  644. else
  645. '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>.'
  646. end
  647. *nl
  648. if TV = 0:$TV = 'a great place for a TV, if you had one.'
  649. if TV = 1:$TV = 'an old CRT <a href="exec:gt ''TV'', ''start''">TV</a> sits on the shelf'
  650. '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.'
  651. *nl
  652. '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.'
  653. *nl
  654. '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'
  655. act '<b>Leave the room</b>':gt 'pavSharedApt', 'start'
  656. act 'Sit on the sofa bed':gt 'pavSharedApt', 'sofabed'
  657. if obruch > 0: '<br>A hula hoop stands in corner of the room. '
  658. if skak > 0: 'A jump rope is on a shelf. '
  659. if bookYog > 0: 'A yoga mat is rolled up in a corner. '
  660. gs 'exercise', 'start'
  661. *nl
  662. if komp = 1:'Your <a href="exec:gorodokKomp = 1 & gt ''Komp'',''start''">laptop</a> is sitting on small table.'
  663. if student > 0 and kursovik < 100:
  664. act 'Do coursework (1:00)':
  665. cla
  666. *clr
  667. minut += 60
  668. kursovik += rand(pcs_intel / 20, pcs_intel / 10)
  669. if kursovik > 100:kursovik = 100
  670. pcs_mood -= 10
  671. '<center><img <<$set_imgh>> src="images/pc/activities/study.jpg"></center>'
  672. 'You sit down on the sofa bed and do your coursework, you''ve finished <<kursovik>> percent of it.'
  673. act 'Stand up':gt 'pavSharedApt', 'pcsRoom'
  674. end
  675. end
  676. if vcard > 0: act 'View your vintage porn cards':card_deck = 0 & gt 'card'
  677. if card > 0: act 'View your new porn cards':card_deck = 1 & gt 'card'
  678. if dur > 0:'You have <<dur>> doses of Pale Lady, hidden from the other housemates.'
  679. if dur > 0 and narkday ! daystart:
  680. act 'Use some Pale Lady (0:05)':
  681. cla
  682. *clr
  683. minut += 5
  684. narkday = daystart
  685. pcs_health = pcs_vital * 10 + pcs_stren * 5
  686. pcs_willpwr = pcs_intel * 5 + pcs_sprt * 5
  687. pcs_mood = 100
  688. pcs_horny = 100
  689. nark += 10
  690. dur -= 1
  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 ---------------------------------