pav_shared_apt.qsrc 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919
  1. # pav_shared_apt
  2. gs 'themes', 'indoors'
  3. close all
  4. if $ARGS[0] = 'update':
  5. rentWeekly = 2000
  6. if rentLeft <= 0:rentLeft = 0
  7. !how much of the unpaid weekly rent is left
  8. if orgB > 100:orgB = 100
  9. price_cook = 50
  10. price_clean = 50
  11. price_handjob = 50
  12. price_blowjob = 100
  13. price_vaginal = 150
  14. price_anal = 200
  15. price_special = 250
  16. ! time calculations
  17. weekNum = (daystart - (daystart mod 7)) / 7
  18. ! pcs setup
  19. $pcs_font = '990099'
  20. !pink
  21. ! servitudeLvl = 0 - no service, pays rent
  22. ! servitudeLvl = 1 - nonsexual service
  23. ! servitudeLvl = 2 - sexual and nonsexual service
  24. $oleg_font = '0096FF'
  25. !blue
  26. oleg_leaves = 9
  27. oleg_comes = 18
  28. oleg_sleeps = 23
  29. oleg_wakes = 8
  30. $nestor_font = 'CC0000'
  31. !red
  32. nestor_leaves = 11
  33. nestor_comes = 19
  34. nestor_sleeps = 23
  35. nestor_wakes = 9
  36. $yakov_font = '009900'
  37. !green
  38. yakov_leaves = 7
  39. yakov_comes = 16
  40. yakov_sleeps = 22
  41. yakov_wakes = 5
  42. !flag if there was already a sex between him and Sveta
  43. !yakov_bj ; yakov_bjDeep ; yakov_swall ; yakov_vag ; yakov_vagCumInside ; yakov_vagCumInsideUnwanted ; yakov_anal ; yakov_analCumInside ; yakov_analCumInsideUnwanted
  44. !mood setup
  45. $oleg_mood = iif(oleg_mood = 1, 'great', '') + iif(oleg_mood = 2, 'good', '') + iif(oleg_mood = 3, 'nice', '') + iif(oleg_mood = 4, 'fine', '') + iif(oleg_mood = 5, 'neutral', '') + iif(oleg_mood = 6, 'okay', '') + iif(oleg_mood = 7, 'bad', '') + iif(oleg_mood = 8, 'terrible', '') + iif(oleg_mood = 9, 'awful', '') + iif(oleg_mood = 10, 'horrible', '')
  46. $nestor_mood = iif(nestor_mood = 1, 'great', '') + iif(nestor_mood = 2, 'good', '') + iif(nestor_mood = 3, 'nice', '') + iif(nestor_mood = 4, 'fine', '') + iif(nestor_mood = 5, 'neutral', '') + iif(nestor_mood = 6, 'okay', '') + iif(nestor_mood = 7, 'bad', '') + iif(nestor_mood = 8, 'terrible', '') + iif(nestor_mood = 9, 'awful', '') + iif(nestor_mood = 10, 'horrible', '')
  47. $yakov_mood = iif(yakov_mood = 1, 'great', '') + iif(yakov_mood = 2, 'good', '') + iif(yakov_mood = 3, 'nice', '') + iif(yakov_mood = 4, 'fine', '') + iif(yakov_mood = 5, 'neutral', '') + iif(yakov_mood = 6, 'okay', '') + iif(yakov_mood = 7, 'bad', '') + iif(yakov_mood = 8, 'terrible', '') + iif(yakov_mood = 9, 'awful', '') + iif(yakov_mood = 10, 'horrible', '')
  48. gs 'stat'
  49. if pavSharedAptDebug = 0:
  50. elseif pavSharedAptDebug = 1:
  51. '<a href="exec:pavSharedAptDebug=2">Debug</a>'
  52. elseif pavSharedAptDebug = 2:
  53. '<a href="exec:pavSharedAptDebug=1">Debug Close</a>'
  54. '<a href="exec:pavSharedAptDebug=0">Debug Disable</a>'
  55. $npc_firstname['A266']+' relationship: '+npc_rel['A266']
  56. $npc_firstname['A265']+' relationship: '+npc_rel['A265']
  57. $npc_firstname['A264']+' relationship: '+npc_rel['A264']
  58. 'rentLeft: ' + rentLeft
  59. 'weekNum: ' + weekNum
  60. 'rentWeekNum: ' + rentWeekNum
  61. 'servitudeLvl: ' + servitudeLvl
  62. 'servicePaid: ' + servicePaid
  63. 'cashPaid: ' + cashPaid
  64. 'step: ' + step
  65. 'subStep: ' + subStep
  66. 'nestor_mood: ' + nestor_mood
  67. 'oleg_mood: ' + oleg_mood
  68. 'yakov_mood: ' + yakov_mood
  69. ''
  70. oleg_served = 0
  71. oleg_mood = 1
  72. nestor_served = 0
  73. nestor_mood = 1
  74. yakov_mood = 1
  75. yakov_served = 0
  76. end
  77. end
  78. ! accomodation advert
  79. if $ARGS[0] = 'advertNo30':
  80. $menu_loc = 'pav_shared_apt'
  81. $menu_arg = 'advertNo30'
  82. menu_off = 1
  83. minut += 2
  84. seenAd = 1
  85. gs 'stat'
  86. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/pod_ob'+rand(1,2)+'.jpg"></center>'
  87. '<br>As you pass by the advertisements, you notice a sign - "сдаeтся в аренду комната" (Room for rent!). Some guys are looking for a roommate. They live in an apartment in one of the other buildings in the apartment complex.'
  88. act 'Continue':gt 'pod_ezd','etaj_1'
  89. end
  90. ! door No 3 - shared
  91. if $ARGS[0] = 'doorNo30':
  92. CLOSE ALL
  93. $menu_loc = 'pav_shared_apt'
  94. $menu_arg = 'doorNo30'
  95. menu_off = 1
  96. act 'Go back outside':gt 'pav_complex', 'start'
  97. if pavSharedAptEnabled = 1:
  98. '<center><img <<$set_imgh>> src="images/locations/shared/apartment/podezdhr.jpg"></center>'
  99. '<br>You stand before the entry door to apartment No 30, the apartment you share with three others'
  100. act 'Go inside':gt 'pav_shared_apt', 'start'
  101. else
  102. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/aptno3door.jpg"></center>'
  103. '<br>You stand before the entry door to apartment No 30. There is a sign on the door saying - "сдаeтся в аренду комната" (Room for rent).'
  104. act 'Knock on the door':gt 'pav_shared_apt', 'intro'
  105. end
  106. end
  107. ! apt hall
  108. if $ARGS[0] = 'start':
  109. $menu_loc = 'pav_shared_apt'
  110. $menu_arg = 'start'
  111. menu_off = 0
  112. $locM = 'pav_shared_apt'
  113. $locM_arg = 'start'
  114. $loc = 'pav_shared_apt'
  115. $loc_arg = 'start'
  116. $goBack = $loc_arg
  117. $location_type = 'private'
  118. killvar '$locclass'
  119. gs 'pav_shared_apt', 'update'
  120. if introDone = 0:gt 'pav_shared_apt', 'intro'
  121. minut += 2
  122. gs 'stat'
  123. gs 'courtletter'
  124. ! do this once a day
  125. if daystart >= tomorrow:
  126. tomorrow = daystart + 1
  127. oleg_mood = rand(1, 10)
  128. oleg_cleaned = 0
  129. nestor_mood = rand(1, 10)
  130. nestor_cleaned = 0
  131. yakov_mood = rand(1, 10)
  132. yakov_cleaned = 0
  133. end
  134. ! do this every time
  135. rentLeft = rentWeekly - servicePaid - cashPaid
  136. '<center><h3>Hallway</h3></center>'
  137. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/hallway.jpg"></center>'
  138. 'It is week number <<weekNum>>.'
  139. if weekNum < rentWeekNum:
  140. if rentLeft > 0:
  141. 'You have <<rentLeft>> <b>₽</b> of rent left to pay for the next week.'
  142. if servitudeLvl >= 1:
  143. 'You may still pay it in <a href="exec:gt ''pav_shared_apt'', ''payCash''">cash</a>, if you want.'
  144. else
  145. 'Pay it in <a href="exec:gt ''pav_shared_apt'', ''payCash''">cash</a>.'
  146. end
  147. else
  148. 'You have already paid the whole rent for the next week.'
  149. 'You can end your rental agreement and leave the apartment if you don''t want to stay here anymore.'
  150. end
  151. elseif weekNum >= rentWeekNum:
  152. if rentLeft = 0:
  153. !rent was forepaid, everything OK, proceed to next week
  154. rentLeft += 2000
  155. cashPaid = 0
  156. servicePaid = 0
  157. rentWeekNum = weekNum + 1
  158. elseif rentLeft > 0:
  159. !rent was not fully paid
  160. 'You did not pay the whole rent for this week. You still have to pay <<rentLeft>> <b>₽</b>.'
  161. if money >= rentLeft:
  162. !not enough cash to pay it manually
  163. 'You still can pay it in <a href="exec:gt ''pav_shared_apt'', ''payCash''">cash</a>, otwerwise you''ll be kicked out!'
  164. else
  165. !in future add some way to serve your way out
  166. '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...'
  167. rentPaid = 0
  168. pavSharedAptEnabled = 0
  169. gs 'homes_properties', 'block_access', 'shared_apartment', 0
  170. end
  171. end
  172. end
  173. act '<b>Leave and go outside</b>':
  174. if $clothingworntype ! 'nude':
  175. gt 'pav_complex', 'start'
  176. else
  177. msg'<b><font color = red>You need to get dressed.</font></b>'
  178. gt 'pav_shared_apt', 'start'
  179. end
  180. end
  181. 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):
  182. act 'Go pick up Natasha before school': gt 'natbelEv', 'carrybooks'
  183. end
  184. if rentPaid = 1:
  185. '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 ''pav_shared_oleg'', ''oleg_dick''"><font color=#<<$oleg_font>>><<$npc_firstname[''A266'']>></font></a>, <a href="exec: gt ''pav_shared_nestor'', ''nestor_Dick''"><font color=#<<$nestor_font>>><<$npc_firstname[''A265'']>></font></a>, <a href="exec: gt ''pav_shared_yakov'', ''yakov_Dick''"><font color=#<<$yakov_font>>><<$npc_firstname[''A264'']>></font></a>.'
  186. 'You stand in the hallway.'
  187. *nl
  188. 'From the hallway, several doors lead to <a href="exec:gt ''pav_shared_apt'', ''oleg_Room''"><<$npc_firstname[''A266'']>>''s</a>, <a href="exec:gt ''pav_shared_apt'', ''nestor_Room''"><<$npc_firstname[''A265'']>>''s</a>, and <a href="exec:gt ''pav_shared_apt'', ''yakov_Room''"><<$npc_firstname[''A264'']>>''s</a> rooms.'
  189. 'The last doors lead to the <a href="exec:gt ''pav_shared_apt'', ''pcsRoom''">room</a> you have rented.'
  190. *nl
  191. !! Wardrobe is here because Sveta''s bedroom is actually the unused living room, with no wardrobe, so she is using the hall cupboard.
  192. 'There are no cupboards in your living room 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.'
  193. *nl
  194. if servitudeLvl >= 1:'A computer-printed <a href="exec:gt ''pav_shared_apt'', ''list''">list</a> hangs on the exit door.' & *nl
  195. act 'Go to your room':gt 'pav_shared_apt', 'pcsRoom'
  196. act 'Go to the bathroom':gt 'pav_shared_apt', 'bathroom'
  197. act 'Go to the kitchen':gt 'pav_shared_apt', 'kitchen'
  198. act '<font color=#<<$oleg_font>>><<$npc_firstname[''A266'']>>''s room</font>':gt 'pav_shared_apt', 'oleg_Room'
  199. act '<font color=#<<$nestor_font>>><<$npc_firstname[''A265'']>>''s room</font>':gt 'pav_shared_apt', 'nestor_Room'
  200. act '<font color=#<<$yakov_font>>><<$npc_firstname[''A264'']>>''s room</font>':gt 'pav_shared_apt', 'yakov_Room'
  201. if rentLeft = 0:
  202. act '<font color=red>End your rental agreement and move out</font>':gt 'pav_shared_apt', 'eoleg_agreement'
  203. end
  204. if func('homes_properties', 'is_current_home') = 0:
  205. act 'Set this apartment as your main home':gs 'homes_properties', 'set_home' & gt 'pav_shared_apt', 'start'
  206. end
  207. end
  208. !! NOTE:If Sveta has access to her parents home then she leaves the kids there
  209. if func('homes_properties', 'has_access', 'parents_home') = 0 and kid > 0:
  210. *clr & cla
  211. pavIntroStep = 0
  212. introDone = 0
  213. minut += 5
  214. !Need to have some actual story to this with NPC reactions.
  215. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/boy/dimka/revenge/crying.jpg"></center>'
  216. 'You''ve been kicked out of the apartment for having children.'
  217. pavSharedAptEnabled = 0
  218. gs 'homes_properties', 'block_access'
  219. act 'Leave':gt 'pav_complex', 'start'
  220. end
  221. if $clothingworntype = 'nude' and pavSharedAptEnabled = 0: gs 'clothing', 'wear_last_worn' & gs 'underwear', 'wear' & gs 'shoes', 'wear', 'last_worn' & gs 'stat'
  222. end
  223. if $ARGS[0] = 'payCash':
  224. menu_off = 1
  225. minut += 2
  226. cash = rentLeft
  227. if money >= cash:
  228. 'You have decided to pay the remainder of the weekly rent ('+cash+'<b>₽</b>) with cash.'
  229. cashPaid += cash
  230. money -= cash
  231. rentPaid = 1
  232. pavSharedAptEnabled = 1
  233. gs 'homes_properties', 'give_access'
  234. else
  235. 'You do not have enough cash to pay for the rest of your rent.'
  236. end
  237. act 'Proceed':gt 'pav_shared_apt', 'start'
  238. end
  239. if $ARGS[0] = 'payService':
  240. menu_off = 1
  241. minut += 1
  242. 'The amount '+price+' <b>₽</b> was taken off of your weekly rent.'
  243. servicePaid += price
  244. act 'Continue':gt 'pav_shared_apt', 'start'
  245. end
  246. if $ARGS[0] = 'rentSetup':
  247. menu_off = 1
  248. minut += 2
  249. 'You get a list of paper, saying the weekly rent is <<rentWeekly>> rubles.'
  250. rentPaid = 1
  251. introDone = 1
  252. rentWeekNum = (daystart - (daystart mod 7)) / 7 + 1
  253. act 'Continue':gt 'pav_shared_apt', 'start'
  254. end
  255. if $ARGS[0] = 'intro':
  256. menu_off = 1
  257. gs 'pav_shared_apt', 'update'
  258. if step > 0:
  259. '<center><img border="5" bordercolor="<<$yakov_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>'
  260. ''
  261. end
  262. if pavIntroStep = 0:
  263. minut += 2
  264. pavIntroStep = 1
  265. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/sp/sp.jpg"></center>'
  266. ''
  267. 'The door is opened by a young, nice-looking athletic man.'
  268. '<font color=#<<$yakov_font>>>"Hi sweetie! What do you need?"</font>'
  269. '<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>'
  270. '<font color=#<<$yakov_font>>>"Yeah, that''s true. Come in, I''ll call the guys and we can talk about it. I''m <<$npc_firstname[''A264'']>> by the way."</font>'
  271. act 'Go in':gt 'pav_shared_apt', 'intro'
  272. elseif pavIntroStep = 1:
  273. minut += 3
  274. pavIntroStep = 2
  275. 'You enter a hallway filled with coats and shoes, indicating that 3 or 4 people live here.'
  276. 'The guy disappears into one of the rooms, and you overhear him talking to someone.'
  277. 'They attempt to speak quietly, but you catch a sentence or two...:'
  278. ''
  279. '"...a girl, I tell you..." "...nice one, really, with nice round features, man..." "...better than another guy, idiot..." "...ok, ok, just be done with it..."'
  280. ''
  281. 'After a while, three young men emerge in the hallway.'
  282. '<font color=#<<$yakov_font>>>"So, that''s her, guys. <<$pcs_firstname>>, could you introduce yourself to these guys?"</font>'
  283. '<font color=#<<$pcs_font>>>"Hello, I''m <<$pcs_firstname>> <<$pcs_lastname>>. I''d like to rent the empty room in your apartment."</font>'
  284. '<font color=#<<$nestor_font>>>"Well, now that''s what I like! Finally, this won''t be such a dull party!"</font>'
  285. '<font color=#<<$oleg_font>>>"<<$pcs_firstname>>, please excuse my friend, <<$npc_firstname[''A265'']>>. He can be quite rude. I''m <<$npc_firstname[''A266'']>>."</font>'
  286. '<font color=#<<$nestor_font>>>"Yup, I''m <<$npc_firstname[''A265'']>>."</font>'
  287. '<font color=#<<$oleg_font>>>"So, you want to live here with us?"</font>'
  288. '<font color=#<<$pcs_font>>>"Yes, I need a new place to stay."</font>'
  289. '<font color=#<<$nestor_font>>>"How old are you, girl?"</font>'
  290. '<font color=#<<$oleg_font>>>"<<$npc_firstname[''A265'']>>, not this again!"</font>'
  291. '<font color=#<<$pcs_font>>>"It''s okay. I''m actually <<age>> years old. Why do you ask?"</font>'
  292. '<font color=#<<$oleg_font>>>"He''s just an idiot; don''t listen to him."</font>'
  293. if age < 18:
  294. '(You can see <<$npc_firstname[''A265'']>> rub his crotch just a brief moment after you told him your age. What''s he up to?)'
  295. end
  296. if knowpreg = 1:
  297. act 'Ask about children':
  298. cla
  299. pavIntroStep = 50
  300. '<font color=#<<$pcs_font>>>"I thought I should tell you, I''m currently pregnant. How do you feel about having children in the apartment, will this be a problem?"</font>'
  301. act 'continue':gt 'pav_shared_apt', 'intro'
  302. end
  303. elseif kid > 0:
  304. act 'Ask about children':
  305. cla
  306. pavIntroStep = 50
  307. '<font color=#<<$pcs_font>>>"I thought I should tell, I''m a mother. How do you feel about having children in the apartment, will this be a problem?"</font>'
  308. act 'continue':gt 'pav_shared_apt', 'intro'
  309. end
  310. else
  311. act 'Continue':gt 'pav_shared_apt', 'intro'
  312. end
  313. elseif pavIntroStep = 2:
  314. minut += 3
  315. pavIntroStep = 3
  316. '<font color=#<<$pcs_font>>>"So what do you guys say, will you take me in?"</font>'
  317. '<font color=#<<$oleg_font>>>"We may. But first, do you have the money to pay the rent?"</font>'
  318. '<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>'
  319. '<font color=#<<$oleg_font>>>"It is indeed."</font>'
  320. '<font color=#<<$yakov_font>>>"<<rentWeekly>> rubles. Per week."</font>'
  321. '<font color=#<<$pcs_font>>>"Uhm. That''s quite a lot. I''m not sure if I''ll be able to afford this..."</font>'
  322. '<font color=#<<$nestor_font>>>"You can pay other ways if you''d like!"</font>'
  323. '<font color=#<<$oleg_font>>>"<<$npc_firstname[''A265'']>>!"</font>'
  324. '<font color=#<<$pcs_font>>>"What do you mean by other ways?"</font>'
  325. '<font color=#<<$yakov_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>'
  326. '<font color=#<<$pcs_font>>>"Like cooking and cleaning?"</font>'
  327. '<font color=#<<$yakov_font>>>"Yes, exactly."</font>'
  328. '<font color=#<<$nestor_font>>>"And more."</font>'
  329. '<font color=#<<$oleg_font>>>"Oh my... I give up."</font>'
  330. act 'More what?':gt 'pav_shared_apt', 'intro'
  331. elseif pavIntroStep = 3:
  332. minut += 3
  333. '<font color=#<<$nestor_font>>>"More services."</font>'
  334. '<font color=#<<$pcs_font>>>"What kind of "services"?"</font>'
  335. '<font color=#<<$yakov_font>>>"the adult kind of services."</font>'
  336. '<font color=#<<$pcs_font>>>"You mean to be a whore for you? Instead of paying the rent???"</font>'
  337. '<font color=#<<$oleg_font>>>"Please <<$pcs_firstname>>, don''t get mad. <<$npc_firstname[''A265'']>> is not just an idiot, he is a rude idiot. We are definitely not asking you to be our whore or something like that."</font>'
  338. '<font color=#<<$oleg_font>>>" As <<$npc_firstname[''A264'']>> told you, we could decrease your rent if you would do some housekeeping stuff we really suck at. But only if you want, of course."</font>'
  339. '<font color=#<<$yakov_font>>>"So what do you say <<$pcs_firstname>>?"</font>'
  340. act 'Say that you changed your mind about this':pavIntroStep = 40 & gt 'pav_shared_apt', 'intro'
  341. act 'Say you will pay the rent the normal way':pavSharedAptEnabled = 1 & gs 'homes_properties', 'give_access' & pavIntroStep = 10 & gt 'pav_shared_apt', 'intro'
  342. act 'Say you don''t mind doing the homekeeping stuff':pavSharedAptEnabled = 1 & gs 'homes_properties', 'give_access' & pavIntroStep = 20 & gt 'pav_shared_apt', 'intro'
  343. act 'Say you don''t mind anything':pavSharedAptEnabled = 1 & gs 'homes_properties', 'give_access' & pavIntroStep = 30 & gt 'pav_shared_apt', 'intro'
  344. elseif pavIntroStep = 10:
  345. minut += 2
  346. '<font color=#<<$yakov_font>>>"Fine. So the rest of this week you have free, but you need to prepay the next week. OK?"</font>'
  347. '<font color=#<<$pcs_font>>>"Yes, OK, I understand."</font>'
  348. '<font color=#<<$yakov_font>>>"So the room is over there.</font>'
  349. '<font color=#<<$pcs_font>>>"Wait, Isn''t that the living room?"</font>'
  350. '<font color=#<<$yakov_font>>>""Yes, it''s available, but we''re not using it, so we''re renting it out. It''s fully furnished with a bed, a table, and a chair. We''ve even added a curtain to separate the space. Feel free to move in whenever you''d like. See you later, <<$pcs_firstname>>!"'
  351. '<font color=#<<$oleg_font>>>"Have a nice day <<$pcs_firstname>>."</font>'
  352. '<font color=#<<$nestor_font>>>"See ya later girlie..."</font>'
  353. '<font color=#<<$pcs_font>>>"Later guys!"</font>'
  354. servitudeLvl = 0
  355. act 'Continue':pavIntroStep = 0 & gt 'pav_shared_apt', 'rentSetup'
  356. elseif pavIntroStep = 20:
  357. minut += 2
  358. '<font color=#<<$yakov_font>>>"Fine. So the rest of this week you have free, but you need to prepay the next week. OK?"</font>'
  359. '<font color=#<<$pcs_font>>>"Yes, OK, I understand."</font>'
  360. '<font color=#<<$oleg_font>>>"We will prepare a list of the charges for the housekeeping services you may want to do, so it''s clear how much will be deducted from your rent."</font>'
  361. '<font color=#<<$pcs_font>>>"Cool!"</font>'
  362. '<font color=#<<$yakov_font>>>"So the room is over there."</font>'
  363. '<font color=#<<$pcs_font>>>"Wait, Isn''t that the living room?"</font>'
  364. '<font color=#<<$yakov_font>>>"Yes, it''s available, but we''re not using it, so we''re renting it out. It''s fully furnished with a bed, a table, and a chair. We''ve even added a curtain to separate the space. Feel free to move in whenever you''d like. See you later, <<$pcs_firstname>>!"</font>'
  365. '<font color=#<<$oleg_font>>>"Have a nice day, <<$pcs_firstname>>."</font>'
  366. '<font color=#<<$nestor_font>>>"See ya later, girlie..."</font>'
  367. '<font color=#<<$pcs_font>>>"Later, guys!"</font>'
  368. servitudeLvl = 1
  369. act 'Continue':pavIntroStep = 0 & gt 'pav_shared_apt', 'rentSetup'
  370. elseif pavIntroStep = 30:
  371. minut += 2
  372. '<font color=#<<$yakov_font>>>"Fine. So, the rest of this week you have free, but you need to prepay the next week. OK?"</font>'
  373. '<font color=#<<$pcs_font>>>"Yes, OK, I understand."</font>'
  374. '<font color=#<<$oleg_font>>>"We will prepare a list of the charges for the housekeeping services you may want to do, so it''s clear how much will be deducted from your rent."</font>'
  375. '<font color=#<<$nestor_font>>>"The extra stuff services will be there too, girl."</font>'
  376. '<font color=#<<$pcs_font>>>"OK..."</font>'
  377. '<font color=#<<$yakov_font>>>"So, the room is over there."</font>'
  378. '<font color=#<<$pcs_font>>>"Wait, isn''t that the living room?"</font>'
  379. '<font color=#<<$yakov_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 a chair, all this stuff. Just move in when you want, we even put a curtain over the doorway. See you later, <<$pcs_firstname>>!"</font>'
  380. '<font color=#<<$oleg_font>>>"Have a nice day, <<$pcs_firstname>>."</font>'
  381. '<font color=#<<$nestor_font>>>"See ya later, girlie..."</font>'
  382. '<font color=#<<$pcs_font>>>"Later, guys!"</font>'
  383. servitudeLvl = 2
  384. act 'Continue':pavIntroStep = 0 & gt 'pav_shared_apt', 'rentSetup'
  385. elseif pavIntroStep = 40:
  386. minut += 2
  387. '<font color=#<<$oleg_font>>>"I told you idiot not to scare her away!"</font>'
  388. '<font color=#<<$nestor_font>>>"Sorry man! We can still lock her to the radiator like I suggested in the first place..."</font>'
  389. '<font color=#<<$oleg_font>>>"Just shut up already!"</font>'
  390. ''
  391. '<font color=#<<$yakov_font>>>"Sorry <<$pcs_firstname>>. We respect your decision. If you change your mind and the room is still empty, let us know and we can talk again. Goodbye!"</font>'
  392. act 'Tell them goodbye and leave':pavIntroStep = 0 & gt 'pav_complex', 'start'
  393. elseif pavIntroStep = 50:
  394. minut += 2
  395. !add dialogue for returning after being previously expelled from apartment
  396. '<font color=#<<$oleg_font>>>"I''m sorry <<$pcs_firstname>>, but we don''t want children or pets in the apartment!"</font>'
  397. '<font color=#<<$nestor_font>>>"If you get rid of the kid, come back and see us."</font>'
  398. '<font color=#<<$yakov_font>>>"Don''t mind him. There''s simply not enough room for 4 people, plus kids or pets. I hope you understand"</font>'
  399. if func('homes_properties', 'has_access', 'parents_home'):
  400. act 'Suggest a compromise':
  401. cla
  402. pavIntroStep = 2
  403. '<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?'
  404. '<font color=#<<$yakov_font>>>"Are you certain you want to do this?"</font>'
  405. '<font color=#<<$nestor_font>>>"Sounds good to me!"</font>'
  406. '<font color=#<<$oleg_font>>>"hmmmm"</font>'
  407. act 'Continue':gt 'pav_shared_apt', 'intro'
  408. end
  409. act 'I won''t leave my children':
  410. cla
  411. pavIntroStep = 0
  412. '<font color=#<<$pcs_font>>>"OK, I will make do with my current accommodation.'
  413. '<font color=#<<$yakov_font>>>"We understand"</font>'
  414. '<font color=#<<$nestor_font>>>"Damn"</font>'
  415. '<font color=#<<$oleg_font>>>"No problem <<$pcs_firstname>>"</font>'
  416. act 'Continue':gt 'pav_shared_apt', 'intro'
  417. end
  418. else
  419. '<font color=#<<$pcs_font>>>OK, I understand.</font>'
  420. act 'Thank them and leave':pavIntroStep = 0 & gt 'pav_complex', 'start'
  421. end
  422. end
  423. end
  424. ! the pricelist
  425. if $ARGS[0] = 'list':
  426. menu_off = 1
  427. $loc_arg = 'list'
  428. minut += 2
  429. $goBack = $loc_arg
  430. '<center><h3><<$pcs_firstname>>''s pricelist</h3></center>'
  431. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/list.jpg"></center>'
  432. ''
  433. 'The basic weekly rent is <<rentWeekly>> rubles.'
  434. 'It is possible to pay it in cash or offer services instead. The prices are following:'
  435. ''
  436. '---------------'
  437. ''
  438. 'Cook a warm meal: '+price_cook
  439. 'Clean the apartment: '+price_clean
  440. if servitudeLvl >= 2:
  441. ''
  442. '---------------'
  443. ''
  444. 'Written in marker on the paper, are sexual favours you can offer as well.'
  445. ''
  446. '---------------'
  447. 'Rent discounts for the slut: '
  448. 'Handjob: '+price_handjob
  449. 'Blowjob: '+price_blowjob
  450. 'Sex: '+price_vaginal
  451. 'Anal sex: '+price_anal
  452. 'Special treats: '+price_special
  453. end
  454. ''
  455. '---------------'
  456. ''
  457. 'Not having paid the full weekly rent at the beginning of a new week will lead to termination of the accommodation services.'
  458. 'Signed: <a href="exec: gt ''pav_shared_oleg'', ''oleg_Dick''"><font color=#<<$oleg_font>>><<$npc_firstname[''A266'']>></font></a>, <a href="exec: gt ''pav_shared_nestor'', ''nestor_Dick''"><font color=#<<$nestor_font>>><<$npc_firstname[''A265'']>></font></a>, <a href="exec: gt ''pav_shared_yakov'', ''yakov_Dick''"><font color=#<<$yakov_font>>><<$npc_firstname[''A264'']>></font></a>, <<$pcs_firstname>>.'
  459. ''
  460. '---------------'
  461. act 'Continue':gt 'pav_shared_apt', 'start'
  462. end
  463. ! paying with money
  464. if $ARGS[0] = 'payRent':
  465. menu_off = 1
  466. minut += 1
  467. 'You decided to give the guys money, instead of serving them.'
  468. 'You paid them <<paid_rent>> cash.'
  469. money -= paid_rent
  470. gs 'stat'
  471. act 'Continue': gs 'pav_shared_apt', 'start'
  472. end
  473. if $ARGS[0] = 'bathroom':
  474. $menu_loc = 'pav_shared_apt'
  475. $menu_arg = 'bathroom'
  476. menu_off = 0
  477. minut += 1
  478. $location_type = 'bathroom'
  479. $loc = 'pav_shared_apt'
  480. $loc_arg = 'bathroom'
  481. $locM_arg = 'bathroom'
  482. $locM = 'pav_shared_apt'
  483. '<center><h3>Bathroom</h3></center>'
  484. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/vanrpar.jpg"></center>'
  485. *nl
  486. 'This is a modest bathroom, containing everything that young people need for their daily life, such as:'
  487. 'A shower, toilet, <a href="exec:gt ''mirror'',''start''">mirror</a>, where you can ' + iif(pcs_hairbsh < 1, '<a href="exec:gt ''mirror'',''brush''">brush</a>', 'brush') + ' your hair, a sink and even a bath tub.'
  488. *nl
  489. gs 'din_van', 'private'
  490. gs 'stat'
  491. act 'Leave':gt 'pav_shared_apt', 'start'
  492. end
  493. if $ARGS[0] = 'kitchen':
  494. $menu_loc = 'pav_shared_apt'
  495. $menu_arg = 'kitchen'
  496. menu_off = 0
  497. *clr & cla
  498. minut += 2
  499. $loc = 'pav_shared_apt'
  500. $loc_arg = 'kitchen'
  501. $locclass = 'kitr'
  502. gs 'stat'
  503. gs 'kit_din'
  504. '<center><h3>Kitchen</h3></center>'
  505. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/home/kuhrpar.jpg"></center>'
  506. 'It''s a modest kitchen, but has all that is needed.'
  507. 'You can cook breakfast for the guys between 6:00 and 7:00 and dinner for them between 18:00 and 19:00'
  508. ! dishes
  509. if mc_inventory['dish_plates'] > 0:
  510. 'Above the sink are <b><<mc_inventory[''dish_plates'']>></b> the clean plates'
  511. else
  512. '<b><font color = red>You have no clean dishes left.</font></b>'
  513. end
  514. if dirttarelka > 0:'The sink has <b><<dirttarelka>></b> dirty dishes. <a href="exec: dynamic $dirtarm">that need to be washed</a>.'
  515. if mc_inventory['dish_soap'] > 0:
  516. 'Above the sink is some detergent to wash the dishes with. There is enough for <b><<mc_inventory[''dish_soap'']>></b> uses.'
  517. else
  518. '<b><font color = red>You do not have enough detergent, you should buy some from the supermarket.</font></b>'
  519. end
  520. ! food
  521. if mc_inventory['food_basic'] > 0:
  522. if mc_inventory['dish_plates'] = 0 or edahot > 0:$edagot = ''
  523. if mc_inventory['dish_plates'] > 0 and edahot = 0:
  524. $edagot = '<a href="exec:dynamic $edagotd">Cook a meal for yourself (0:30)</a>'
  525. end
  526. 'In the refrigerator there''s enough (your own) food for <b><<mc_inventory[''food_basic'']>></b> servings. <<$edagot>>'
  527. end
  528. if edahot > 0:'<a href="exec: dynamic $edahotd ">On the table is ready meal (0:30).</a>'
  529. if mc_inventory['food_diet'] = 0 and mc_inventory['food_basic'] = 0:'<b><font color="red">You have nothing to eat, the refrigerator is empty!</font></b>'
  530. if hour = 6 or hour = 18:'<a href="exec: gt ''pav_shared_apt'', ''cookForGuys''">Cook meals for the guys (1:30)</a>'
  531. dynamic $edasnack
  532. dynamic $sandwich
  533. dynamic $driwater
  534. dynamic $dritea
  535. dynamic $fill_bottle
  536. dynamic $edaD
  537. dynamic $pranik
  538. dynamic $fatdel
  539. dynamic $lekarstvo
  540. dynamic $vitamin
  541. act 'Leave':gt 'pav_shared_apt', 'start'
  542. end
  543. if $ARGS[0] = 'cookForGuys':
  544. menu_off = 1
  545. cla
  546. *clr
  547. $loc = 'pav_shared_apt'
  548. $loc_arg = 'kitchen'
  549. minut += 90
  550. kuhdrova = 0
  551. pcs_mood -= 10
  552. gs 'stat'
  553. '<center><img <<$set_imgh>> src="images/shared/home/kitchen/cook.jpg"></center>'
  554. 'You prepare three meals, using what you can from the guys'' food. It''s not very healthy but you''re not planning to offer to do their shopping too.'
  555. price = price_cook
  556. act 'Leave the meal':gt 'pav_shared_apt', 'payService'
  557. end
  558. if $ARGS[0] = 'cleanForGuys':
  559. menu_off = 1
  560. cla
  561. *clr
  562. minut += 60
  563. mc_inventory['laundry_soap'] -= 3
  564. pcs_mood -= 10
  565. gs 'stat'
  566. '<center><img <<$set_imgh>> src="images/locations/city/residential/apartment/stir.jpg"></center>'
  567. price = price_clean
  568. *nl
  569. '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.'
  570. cumStainCh = rand(0, 100)
  571. if servitudeLvl = 2 and cumStainCh <= 50:'<i>You notice bedsheets with what seems as dried out cum. Probably remainder of one of your "servings". Maybe it really is better to swallow every time...</i>'
  572. act 'Hang them to dry out and leave':gt 'pav_shared_apt', 'payService'
  573. end
  574. ! living room & pc bedroom
  575. if $ARGS[0] = 'pcsRoom':
  576. $menu_loc = 'pav_shared_apt'
  577. $menu_arg = 'pcsRoom'
  578. menu_off = 0
  579. $loc = 'pav_shared_apt'
  580. $loc_arg = 'pcsRoom'
  581. $location_type = 'private'
  582. $locclass = 'bedr'
  583. minut += 2
  584. gs 'stat'
  585. gs 'pav_shared_apt', 'update'
  586. '<center><b><font color="maroon">Living Room</font></b></center>'
  587. '<center><img <<$set_imgh>> src="images/shared/home/bedroom/sofabed.jpg"></center>'
  588. *nl
  589. 'The living room was never used by the other apartment occupants, so it''s now rented out as a bedroom. It''s sparsely decorated, with, a <a href="exec:gt ''bed'', ''start''">sofa bed</a>, against the back wall.'
  590. *nl
  591. 'Beside the sofa bed is an old cabinet, with your <a href="exec:gt ''alarmclock'', ''start''">alarm clock</a> on top.'
  592. *nl
  593. 'Your <a href="exec:gt ''alarmclock'', ''start''">alarm clock</a> is set to <<func(''alarmclock'', ''alarm_display'', alarmVars[''timerH''], alarmVars[''timerM''])>> during the week and <<func(''alarmclock'', ''alarm_display'', alarmVars[''timerEndH''], alarmVars[''timerEndM''])>> during the weekend. It is currently turned ' + iif(alarmVars['alarmOn'] = 0, '<a href="exec: alarmVars[''alarmOn''] = 1 & gt $loc, $loc_arg">OFF</a>.', '<a href="exec: alarmVars[''alarmOn''] = 0 & gt $loc, $loc_arg">ON</a>.')
  594. *nl
  595. if $ml_guitar['location'] = $loc: 'Your guitar rests on its stand next to your bed.'
  596. *nl
  597. if mc_inventory['tech_tv'] = 0 and mc_inventory['plasma_tv'] = 0: $TV = 'a great place for a TV, if you had one'
  598. if mc_inventory['tech_tv'] >= 1:$TV = 'an old CRT <a href="exec:gt ''TV'', ''start''">TV</a> sits on the shelf'
  599. '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.'
  600. *nl
  601. if stol = 0:$stol = 'an old scratched <a href="exec:gt ''stol'', ''start''">table</a>'
  602. 'In the corner there is <<$stol>>.'
  603. *nl
  604. 'There is no door to the living room, instead there''s <a href="exec:view''images/shared/home/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-existent window curtains.'
  605. act '<b>Leave the room</b>':gt 'pav_shared_apt', 'start'
  606. act 'Sit on the sofa bed':gt 'pav_shared_apt', 'sofabed'
  607. if mc_inventory['hula_hoop'] > 0: '<br>A hula hoop stands in corner of the room. '
  608. if mc_inventory['skipping_rope'] > 0: 'A jump rope lies on a shelf. '
  609. if mc_inventory['book_yoga'] > 0: 'A yoga mat is rolled up in a corner. '
  610. gs 'exercise', 'start'
  611. *nl
  612. if mc_inventory['tech_computer'] = 1:
  613. !! Sveta can''t do camshows unless she is blowing the guys for rent.
  614. gs 'internet_mobile', 'get_access', 'free', 'nocamshow'
  615. if servitudeLvl = 2: access['nocamshow'] = 0
  616. 'Your <a href="exec:gorodokKomp = 1 & gt ''Komp'',''start''">computer</a> is sitting on small table.'
  617. end
  618. if vcard > 0: act 'View your vintage porn cards':card_deck = 0 & gt 'card'
  619. if card > 0: act 'View your new porn cards':card_deck = 1 & gt 'card'
  620. if mc_inventory['cocaine'] > 0:'You have <<mc_inventory[''cocaine'']>> doses of Pale Lady, hidden from the other housemates.'
  621. if mc_inventory['cocaine'] > 0 and drugVars['cocaine_day'] ! daystart:
  622. act 'Use some Pale Lady (0:05)':
  623. *clr & cla
  624. minut += 5
  625. gs 'drugs', 'cocaine'
  626. '<center><img <<$set_imgh>> src="images/shared/drugs/dur.jpg"></center>'
  627. 'You snort some Pale Lady, feeling dizzy for just a moment. After that, you feel fantastic and incredibly horny.'
  628. act 'Continue':gt 'pav_shared_apt', 'pcsRoom'
  629. end
  630. end
  631. if gobelen>0:'You have <<gobelen>> completed tapestries.'
  632. if pcs_sewng >= 40 and mc_inventory['sewing_fabric'] > 0:'You have enough fabric for <<mc_inventory[''sewing_fabric'']>> lessons.'
  633. if pcs_sewng >= 40 and mc_inventory['sewing_fabric'] <= 0:'You do not have any fabric.'
  634. if pcs_sewng >= 80:
  635. if newgobelen = 0 and mc_inventory['sewing_fabric'] > 0:
  636. act'Start a new tapestry':
  637. cls
  638. mc_inventory['sewing_fabric'] -= 1
  639. newgobelen = 1
  640. minut += 15
  641. gs'stat'
  642. 'You spend 15 minutes working on the embroidery frame, preparing the fabric and outlining the pattern for the tapestry.'
  643. act'Set the tapestry aside':gt 'pav_shared_apt', 'pcsRoom'
  644. end
  645. end
  646. if newgobelen>=1:
  647. 'Your tapestry is <<newgobelen/10>> percent finished.'
  648. act'Work on the tapestry for an hour':
  649. cls
  650. minut+=60
  651. gs 'exp_gain', 'sewng', rand(pcs_intel/10, pcs_intel/5)
  652. gobramax = (pcs_sewng - 70) * 6
  653. gobramin = (pcs_sewng - 70) * 2
  654. newgobelen += rand(gobramin,gobramax)
  655. gs'stat'
  656. if newgobelen < 1000:'You spent an hour working on your tapestry, which is now <<newgobelen/10>> percent finished.'
  657. if newgobelen >= 1000:
  658. newgobelen = 0
  659. gobelen += 1
  660. 'Your work on the tapestry is done.'
  661. end
  662. act'Set the tapestry aside':gt 'pav_shared_apt', 'pcsRoom'
  663. end
  664. end
  665. end
  666. if mc_inventory['contraceptive_pill'] > 0 and mc_inventory['equipped_condoms'] + mc_inventory['normal_condoms'] + mc_inventory['sabotaged_condoms'] > 0:
  667. '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>.'
  668. elseif mc_inventory['contraceptive_pill'] > 0:
  669. 'Your <a href="exec:gt ''stol'', ''bc''">birth control</a> tablets are in the cabinet next to your bed.'
  670. elseif mc_inventory['equipped_condoms'] + mc_inventory['normal_condoms'] + mc_inventory['sabotaged_condoms'] > 0:
  671. 'Your <a href="exec:gt ''stol'', ''bc''">condoms</a> are in the cabinet next to your bed.'
  672. end
  673. ''
  674. if mc_inventory['sewing_kit'] = 1:
  675. 'Your <a href="exec:gt ''sewing'',''start''">sewing kit</a> is stored on a shelf.'
  676. end
  677. if tovarL > 0:'You currently have <<tovarL>> trinkets to sell at the station. The maximum you can carry with you is 30.'
  678. dynamic $wearpan
  679. dynamic $removepan
  680. !gs 'subkid'
  681. act 'Relax on your bed': gt 'bed', 'start'
  682. gs 'prostitution_functions', 'prostitute_outfit_at_home'
  683. gs 'music_actions', 'music_icon'
  684. end
  685. if $ARGS[0] = 'sofabed':
  686. $menu_loc = 'pav_shared_apt'
  687. $menu_arg = 'sofabed'
  688. menu_off = 0
  689. $loc = 'pav_shared_apt'
  690. $loc_arg = 'sofabed'
  691. *clr & cla
  692. gs 'stat'
  693. '<center><img <<$set_imgh>> src="images/shared/home/bedroom/sofabed.jpg"></center>'
  694. '<center>A small sofa bed, when not unfolded, is just big enough for you to curl up on and take a nap.</center>'
  695. if mc_inventory['tech_tv'] = 1:
  696. act 'Watch some TV':gt 'TV', 'start'
  697. end
  698. if mc_inventory['mag_porn'] > 0:
  699. '<br>There is a porn magazine under the sofa cushions'
  700. gs 'events', 'read_porn'
  701. end
  702. gs 'events', 'read'
  703. if pcs_horny >= 50:
  704. act 'Masturbate':gt 'selfplay', 'start'
  705. end
  706. act 'Take a nap (1:00)':
  707. if pcs_sleep < 90:
  708. pcs_sleep += 10
  709. pcs_health += 5
  710. minut += 60
  711. gs 'stat'
  712. 'You sleep about an hour.'
  713. else
  714. minut += 5
  715. gs 'stat'
  716. 'You are not tired enough to sleep, even for a short nap.'
  717. end
  718. end
  719. act 'Get up':gt 'pav_shared_apt', 'pcsRoom'
  720. end
  721. if $ARGS[0] = 'oleg_Room':
  722. $menu_loc = 'pav_shared_apt'
  723. $menu_arg = 'oleg_Room'
  724. menu_off = 0
  725. $loc = 'pav_shared_apt'
  726. $loc_arg = 'oleg_Room'
  727. minut += 2
  728. '<center><h3><font color=#<<$oleg_font>>><<$npc_firstname[''A266'']>>''s room</font></h3></center>'
  729. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/nd/room.jpg"></center>'
  730. ''
  731. 'The room isn''t as messy as one might expect, given that <<$npc_firstname[''A266'']>> is an IT guy.'
  732. 'There is one large window with a bed below it, but the entire room is dominated by a large table with several computers and monitors.'
  733. 'At first glance, one might mistake this room for a hacker''s den.'
  734. if hour >= oleg_sleeps and hour < oleg_wakes:
  735. '<<$npc_firstname[''A266'']>> is sound asleep in his bed.'
  736. elseif hour >= oleg_wakes and hour < oleg_leaves:
  737. '<<$npc_firstname[''A266'']>> is already awake and getting ready to leave.'
  738. act 'Approach him': gt 'pav_shared_oleg', 'oleg'
  739. elseif hour >= oleg_leaves and hour < oleg_comes:
  740. '<<$npc_firstname[''A266'']>> is currently not here.'
  741. elseif hour >= oleg_comes and hour < oleg_sleeps:
  742. '<<$npc_firstname[''A266'']>> is behind his desk, engrossed in programming using an esoteric language.'
  743. act 'Approach him': gt 'pav_shared_oleg', 'oleg'
  744. end
  745. if servitudeLvl >= 1 and oleg_cleaned = 0:
  746. if mc_inventory['laundry_soap'] >= 1:
  747. act 'Clean the room':oleg_cleaned = 1 & gt 'pav_shared_apt', 'cleanForGuys'
  748. else
  749. 'You don''t have enough laundry detergent to clean the room'
  750. end
  751. end
  752. act 'Leave':gt 'pav_shared_apt', 'start'
  753. end
  754. if $ARGS[0] = 'nestor_Room':
  755. $menu_loc = 'pav_shared_apt'
  756. $menu_arg = 'nestor_Room'
  757. menu_off = 0
  758. $loc = 'pav_shared_apt'
  759. $loc_arg = 'nestor_Room'
  760. minut += 2
  761. '<center><h3><font color=#<<$nestor_font>>><<$npc_firstname[''A265'']>>''s room</font></h3></center>'
  762. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/gp/room.jpg"></center>'
  763. ''
  764. 'This room is a messy disaster, with clothes scattered all over the floor.'
  765. if hour >= nestor_wakes and hour < nestor_leaves:
  766. '<<$npc_firstname[''A265'']>> is already awake, getting ready to leave.'
  767. act 'Approach him': gt 'pav_shared_nestor', 'nestor'
  768. elseif hour >= nestor_leaves and hour < nestor_comes:
  769. '<<$npc_firstname[''A265'']>> is not here.'
  770. elseif hour >= nestor_comes and hour < nestor_sleeps:
  771. '<<$npc_firstname[''A265'']>> is currently on his bed, listing through some magazines.'
  772. act 'Approach him': gt 'pav_shared_nestor', 'nestor'
  773. elseif hour >= nestor_sleeps or hour < nestor_wakes:
  774. '<<$npc_firstname[''A265'']>> is sleeping in his bed.'
  775. end
  776. if servitudeLvl >= 1 and nestor_cleaned = 0:
  777. if mc_inventory['laundry_soap'] >= 1:
  778. act 'Clean the room':nestor_cleaned = 1 & gt 'pav_shared_apt', 'cleanForGuys'
  779. else
  780. 'You don''t have enough laundry detergent to clean the room'
  781. end
  782. end
  783. act 'Leave':gt 'pav_shared_apt', 'start'
  784. end
  785. if $ARGS[0] = 'yakov_Room':
  786. $menu_loc = 'pav_shared_apt'
  787. $menu_arg = 'yakov_Room'
  788. menu_off = 0
  789. $loc = 'pav_shared_apt'
  790. $loc_arg = 'yakov_Room'
  791. minut += 2
  792. '<center><h3><font color=#<<$yakov_font>>><<$npc_firstname[''A264'']>>''s room</font></h3></center>'
  793. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/sharedapt/sp/room.jpg"></center>'
  794. ''
  795. 'This room is very neat and organized, filled with sporting gear such as dresses, equipment, and trophies. The walls are adorned with several posters of famous athletes and sports teams.'
  796. if hour >= yakov_wakes and hour < yakov_leaves:
  797. '<<$npc_firstname[''A264'']>> is already awake, packing his gym bags to leave.'
  798. act 'Approach him': gt 'pav_shared_yakov', 'yakov'
  799. elseif hour >= yakov_leaves and hour < yakov_comes:
  800. '<<$npc_firstname[''A264'']>> is not here.'
  801. elseif hour >= yakov_comes and hour < yakov_sleeps:
  802. doesStuff = rand(0, 100)
  803. if doesStuff < 50:'<<$npc_firstname[''A264'']>> is currently on his bed, listing through football magazines.'
  804. if doesStuff >= 50:'<<$npc_firstname[''A264'']>> is working out on the floor.'
  805. act 'Approach him': gt 'pav_shared_yakov', 'yakov'
  806. elseif hour >= yakov_sleeps or hour < yakov_wakes:
  807. '<<$npc_firstname[''A264'']>> is sleeping in his bed.'
  808. end
  809. if servitudeLvl >= 1 and yakov_cleaned = 0:
  810. if mc_inventory['laundry_soap'] >= 1:
  811. act 'Clean the room':yakov_cleaned = 1 & gt 'pav_shared_apt', 'cleanForGuys'
  812. else
  813. 'You don''t have enough laundry detergent to clean the room'
  814. end
  815. end
  816. act 'Leave':gt 'pav_shared_apt', 'start'
  817. end
  818. if $ARGS[0] = 'eoleg_agreement':
  819. menu_off = 1
  820. '<center><img border="5" bordercolor="<<$yakov_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>'
  821. ''
  822. 'You gather the guys around and explain to them that you wish to move out.'
  823. '<font color=#<<$pcs_font>>><<$npc_firstname[''A264'']>> Looks disappointed as he addresses you. "That is a shame <<$pcs_firstname>> we''ve very much enjoyed having you stay here we us. Are you sure this is what you want?"</font>'
  824. act '"Yes." End agreement':
  825. pavSharedAptEnabled = 0
  826. gs 'homes_properties', 'block_access', 'shared_apartment', 0
  827. gt 'pav_complex', 'start'
  828. end
  829. act '"Maybe you are right, I''ll stay here with you guys"':gt 'pav_shared_apt', 'start'
  830. end
  831. --- pav_shared_apt ---------------------------------