pavSharedApt.qsrc 38 KB

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