pav_complexb3.qsrc 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. # pav_complexb3
  2. !SETTINGS:
  3. CLOSE ALL
  4. gs 'themes', 'indoors'
  5. $loc_arg = $ARGS[0]
  6. $loc = 'pav_complexb3'
  7. !elevator does not work
  8. if liftnotwork_day ! daystart: liftnotwork_count = 1
  9. !Apartment Uncle Misha
  10. if mishahouse_day ! daystart: mishahouse_count = 1
  11. !how much money for sex give boys
  12. rnd_money_sex = rand(50,350)
  13. !================================================================================================!
  14. !FLOORS: ---------------------------Entrance to the town-------------------------------------- FLOORS:!
  15. !================================================================================================!
  16. !housemates
  17. $housemates = {
  18. menu_off = 1
  19. *clr & cla
  20. minut +=1
  21. gs 'stat'
  22. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/housemates.jpg"></center>'
  23. 'Floor 1 - Apartment number 1: Rolan Matveev'
  24. 'Floor 2 - Apartment number'
  25. 'Floor 3 - Apartment number'
  26. 'Floor 4 - Apartment number 30: Shared'
  27. 'Floor 5 - Apartment number'
  28. act 'Leave': gt 'pav_complexb3', 'etaj_1'
  29. }
  30. !!locked in Pavlovsk, floor 1
  31. if $ARGS[0] = 'etaj_1':
  32. $menu_loc = 'pav_complexb3'
  33. $menu_arg = 'etaj_1'
  34. menu_off = 0
  35. CLOSE ALL
  36. if sound = 0:PLAY 'sound/podezd.mp3',30
  37. gs 'stat'
  38. '<center><b><font color = maroon>Ground floor of the apartment building</font></b></center>'
  39. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/podezd2.jpg"></center>'
  40. '<center>A dirty and poorly maintained stairwell, the same as any other in your town.</center>'
  41. 'There''s a <a href="exec: dynamic $housemates">list</a> of the people who live here on the wall.'
  42. 'Someone put up some <a href="exec:gt ''pav_complexb3'',''pod_objava''">advertisements</a> on the wall near the entrance.'
  43. act 'Leave the building': minut += 1 & gt 'pav_complex', 'start'
  44. act 'Go up to the second floor': minut +=1 & gt 'pav_complexb3','etaj_2'
  45. act 'Take the elevator': gt 'pav_complexb3','lift','etaj_1'
  46. !! if rolanblockhome ! 1 and mid($start_type,1,2) = 'sg':
  47. !! act 'Apartment 1: Mr. Matveev''s': gt 'rolanapt','home'
  48. !! end
  49. end
  50. !floor 2
  51. if $ARGS[0] = 'etaj_2':
  52. $menu_loc = 'pav_complexb3'
  53. $menu_arg = 'etaj_2'
  54. menu_off = 0
  55. gs 'stat'
  56. '<center>2nd floor of the apartment building</center>'
  57. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj2.jpg"></center>'
  58. '<center>The second floor stairwell is clean and well maintained. It was renovated not long ago, and the inhabitants do their best to keep it clean.</center>'
  59. act 'Go down to the first floor': minut +=1 & gt 'pav_complexb3','etaj_1'
  60. act 'Go up to the third floor': minut +=1 & gt 'pav_complexb3','etaj_3'
  61. act 'Take the elevator': gt 'pav_complexb3','lift','etaj_2'
  62. end
  63. !floor 3
  64. if $ARGS[0] = 'etaj_3':
  65. $menu_loc = 'pav_complexb3'
  66. $menu_arg = 'etaj_3'
  67. menu_off = 0
  68. gs 'stat'
  69. '<center>3rd floor of the apartment building</center>'
  70. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj3.jpg"></center>'
  71. '<center>The third floor stairwell is clean and well maintained. It was renovated not long ago, and the inhabitants do their best to keep it clean.</center>'
  72. act 'Go down to the second floor': minut +=1 & gt 'pav_complexb3','etaj_2'
  73. act 'Go up to the fourth floor': minut +=1 & gt 'pav_complexb3','etaj_4'
  74. act 'Take the elevator': gt 'pav_complexb3','lift','etaj_3'
  75. end
  76. !floor 4
  77. if $ARGS[0] = 'etaj_4':
  78. $menu_loc = 'pav_complexb3'
  79. $menu_arg = 'etaj_4'
  80. menu_off = 0
  81. gs 'stat'
  82. '<center>4th floor of the apartment building</center>'
  83. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj4.jpg"></center>'
  84. '<center>The fourth floor stairwell was renovated not long ago, but some hoodlums have already sprayed graffiti on the walls.</center>'
  85. act 'Go down to the third floor': minut +=1 & gt 'pav_complexb3','etaj_3'
  86. act 'Go up to the fifth floor': minut +=1 & gt 'pav_complexb3','etaj_5'
  87. if shared_apt['seenAd'] = 0:
  88. gt 'pav_shared_apt', 'advertNo30'
  89. else
  90. act 'Apartment 30: Shared apartment': gt 'pav_shared_apt', 'doorNo30'
  91. end
  92. act 'Take the elevator': gt 'pav_complexb3','lift','etaj_4'
  93. end
  94. !floor 5
  95. if $ARGS[0] = 'etaj_5':
  96. $menu_loc = 'pav_complexb3'
  97. $menu_arg = 'etaj_5'
  98. menu_off = 0
  99. gs 'stat'
  100. '<center>Floor #5</center>'
  101. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj5.jpg"></center>'
  102. '<center>The fifth floor stairwell looks like most of the other floors, but it has a final set of stairs at the other end of the hall that go up to the roof.</center>'
  103. act 'Go down to the fourth floor': minut +=1 & gt 'pav_complexb3','etaj_4'
  104. act 'Go up to the roof': minut +=1 & gt 'pav_complexb3', 'roof'
  105. act 'Take the elevator': gt 'pav_complexb3','lift','etaj_5'
  106. end
  107. !!roof
  108. if $ARGS[0] = 'roof':
  109. $menu_loc = 'pav_complexb3'
  110. $menu_arg = 'roof'
  111. killvar '$locclass'
  112. menu_off = 0
  113. minut +=1
  114. gs 'stat'
  115. '<center>Roof</center>'
  116. if month >= 11 or month <= 3:
  117. !!if hour >= 8 and hour <= 21:
  118. !!'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  119. !!else
  120. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  121. !!end
  122. else
  123. if hour >= 8 and hour <= 21:
  124. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roof.jpg"></center>'
  125. else
  126. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofn.jpg"></center>'
  127. end
  128. end
  129. '<center>The roof is fairly flat, with the roof access door in a raised part in the middle of the roof. Along one of the walls is another door to some type of storage or maintenances access. There is several ventilation stacks on the roof as well.</center>'
  130. act 'Go down to the fifth floor':
  131. if PCloswimwear = 1 or $clothingworntype = 'nude':
  132. msg '<center><font color = red>You need to get dressed first</font></center>'
  133. gt 'pav_complexb3','roof'
  134. else
  135. minut += 1
  136. gt 'pav_complexb3','etaj_5'
  137. end
  138. end
  139. if PCloswimwear = 1 or $clothingworntype = 'nude':
  140. act 'Change back into your clothes':
  141. minut += 5
  142. gs 'clothing', 'wear', $lastwornclothingtype['swim'], lastwornclothingnumber['swim']
  143. gs 'panties', 'wear', $lastwornpantytype['swim'], lastwornpantynumber['swim']
  144. gs 'bras', 'wear', $lastwornbratype['swim'], lastwornbranumber['swim']
  145. gt 'pav_complexb3','roof'
  146. end
  147. end
  148. if temper >= 15 and hour >= 8 and hour <= 20:
  149. if func('changingroom','count_swim_item') > 0 and PCloswimwear = 0:
  150. act 'Change into a bikini':gt 'changingroom', 'view_swim_list'
  151. end
  152. if PCloswimwear = 1:
  153. act 'Sunbathe (1:00)':
  154. cla
  155. *clr
  156. menu_off = 1
  157. minut += 60
  158. inhib_exp += rand(1,3)
  159. if pcs_sweat < 35: gs 'sweat', 'add', 5
  160. pcs_mood += 5
  161. gs 'stat'
  162. '<center><img <<$set_imgh>> src="images/locations/city/residential/apartment/zagar1.jpg"></center>'
  163. if mc_inventory['suncream'] = 0:
  164. pcs_tan += 1
  165. 'You lie down to sunbathe.'
  166. elseif mc_inventory['suncream'] > 0:
  167. mc_inventory['suncream'] -= 1
  168. pcs_tan += 3
  169. 'You put the sunblock on your body and lie down on the roof to sunbathe.'
  170. end
  171. act 'Get Up':gt 'pav_complexb3', 'roof'
  172. end
  173. end
  174. end
  175. end
  176. !================================================================================================!
  177. !ELEVATOR: ------------------------------------------------------------------------------------ ELEVATOR:!
  178. !================================================================================================!
  179. !the lift
  180. if $ARGS[0] = 'lift':
  181. menu_off = 1
  182. *clr & cla
  183. minut +=1
  184. gs 'stat'
  185. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator.jpg"></center>'
  186. '<center>The elevator in the apartment building is quite old. The building supervisor does his best to keep it running, but it breaks down a lot. Someone put up a <a href="exec:gt ''pav_complexb3'',''elev_objava'',$ARGS[1]">notification</a> in the elevator.</center>'
  187. act 'Push button: Floor 1': gt 'pav_complexb3','etaj_1'
  188. act 'Push button: Floor 2': gt 'pav_complexb3','etaj_2'
  189. act 'Push button: Floor 3': gt 'pav_complexb3','etaj_3'
  190. act 'Push button: Floor 4': gt 'pav_complexb3','etaj_4'
  191. act 'Push button: Floor 5': gt 'pav_complexb3','etaj_5'
  192. pod_lift_ev = RAND(0,100)
  193. if pod_lift_ev <=5:
  194. *clr & cla
  195. minut +=1
  196. gs 'stat'
  197. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/elevator'+rand(1,2)+'.jpg"></center>'
  198. 'When the elevator door opens, you are surprised to see a naked woman standing in it. She looks at you in panic and is frantically pressing all the elevator buttons. You''re too baffled to do anything until it''s too late. The door has already closed, and the elevator is moving away from you.'
  199. act 'Leave': gt 'pav_complexb3',$ARGS[1]
  200. elseif pod_lift_ev <=10 or liftnotwork_count <=0:
  201. *clr & cla
  202. minut +=1
  203. liftnotwork_day = daystart
  204. liftnotwork_count -= 1
  205. gs 'stat'
  206. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/liftnotwork.jpg"></center>'
  207. 'The building supervisor has put a sign on the elevator: "Dear tenants, the elevator is out of order for today. Don''t worry, I should have it working again by tomorrow!"'
  208. act 'Leave': gt 'pav_complexb3',$ARGS[1]
  209. end
  210. killvar 'pod_lift_ev'
  211. end
  212. !elevator ads
  213. if $ARGS[0] = 'elev_objava':
  214. *clr & cla
  215. minut +=1
  216. gs 'stat'
  217. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator_ob'+rand(1,2)+'.jpg"></center>'
  218. act 'Continue': gt 'pav_complexb3','lift',$ARGS[1]
  219. end
  220. !locked ads
  221. if $ARGS[0] = 'pod_objava':
  222. menu_off = 1
  223. *clr & cla
  224. minut +=1
  225. gs 'stat'
  226. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/pod_ob'+rand(1,2)+'.jpg"></center>'
  227. act 'Continue': gt 'pav_complexb3','etaj_1'
  228. end
  229. --- pav_complexb3 ---------------------------------