1
0

pavComplexb3.qsrc 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. # pavComplexb3
  2. !SETTINGS:
  3. CLOSE ALL
  4. gs 'themes', 'indoors'
  5. $metka = $ARGS[0]
  6. $loc = $CURLOC
  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. rnd_money_sex = $rnd_money_sex
  14. !================================================================================================!
  15. !FLOORS: ---------------------------Entrance to the town-------------------------------------- FLOORS:!
  16. !================================================================================================!
  17. !housemates
  18. $housemates = {
  19. menu_off = 1
  20. *clr & cla
  21. minut +=1
  22. gs 'stat'
  23. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/housemates.jpg"></center>'
  24. 'Floor 1 - Apartment number 1: Rolan Matveev'
  25. 'Floor 2 - Apartment number'
  26. 'Floor 3 - Apartment number'
  27. 'Floor 4 - Apartment number 30: Shared'
  28. 'Floor 5 - Apartment number'
  29. act 'Leave': gt 'pavComplexb3', 'etaj_1'
  30. }
  31. !!locked in Pavlovsk, floor 1
  32. if $ARGS[0] = 'etaj_1':
  33. $menu_loc = 'pavComplexb3'
  34. $menu_arg = 'etaj_1'
  35. menu_off = 0
  36. CLOSE ALL
  37. if sound = 0:PLAY 'sound/podezd.mp3',30
  38. gs 'stat'
  39. '<center><b><font color = maroon>Ground floor of the apartment building</font></b></center>'
  40. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/podezd2.jpg"></center>'
  41. '<center>A dirty and poorly maintained stairwell, the same as any other in your town.</center>'
  42. '<<$pod_ev_rnd>>'
  43. 'There''s a <a href="exec: dynamic $housemates">list</a> of the people who live here on the wall.'
  44. 'Someone put up some <a href="exec:gt ''pavComplexb3'',''pod_objava''">advertisements</a> on the wall, near the entrance.'
  45. act 'Leave the building': minut += 1 & gt 'pavcomplex', 'start'
  46. act 'Go up to the second floor': minut +=1 & gt 'pavComplexb3','etaj_2'
  47. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_1'
  48. !! if rolanblockhome ! 1 and storyline = 1:
  49. !! act 'Apartment 1: Mr. Matveev''s': gt 'rolanapt','home'
  50. !! end
  51. end
  52. !floor 2
  53. if $ARGS[0] = 'etaj_2':
  54. $menu_loc = 'pavComplexb3'
  55. $menu_arg = 'etaj_2'
  56. menu_off = 0
  57. gs 'stat'
  58. '<center>2nd floor of the apartment building</center>'
  59. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj2.jpg"></center>'
  60. '<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>'
  61. act 'Go down to the first floor': minut +=1 & gt 'pavComplexb3','etaj_1'
  62. act 'Go up to the third floor': minut +=1 & gt 'pavComplexb3','etaj_3'
  63. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_2'
  64. end
  65. !floor 3
  66. if $ARGS[0] = 'etaj_3':
  67. $menu_loc = 'pavComplexb3'
  68. $menu_arg = 'etaj_3'
  69. menu_off = 0
  70. gs 'stat'
  71. '<center>3rd floor of the apartment building</center>'
  72. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj3.jpg"></center>'
  73. '<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>'
  74. act 'Go down to the second floor': minut +=1 & gt 'pavComplexb3','etaj_2'
  75. act 'Go up to the fourth floor': minut +=1 & gt 'pavComplexb3','etaj_4'
  76. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_3'
  77. end
  78. !floor 4
  79. if $ARGS[0] = 'etaj_4':
  80. $menu_loc = 'pavComplexb3'
  81. $menu_arg = 'etaj_4'
  82. menu_off = 0
  83. gs 'stat'
  84. '<center>4th floor of the apartment building</center>'
  85. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj4.jpg"></center>'
  86. '<center>The fourth floor stairwell was renovated not long ago, but some hoodlums already sprayed graffiti on the walls.</center>'
  87. act 'Go down to the third floor': minut +=1 & gt 'pavComplexb3','etaj_3'
  88. act 'Go up to the fifth floor': minut +=1 & gt 'pavComplexb3','etaj_5'
  89. if seenAd = 0:
  90. gt 'pavSharedApt', 'advertNo30'
  91. else:
  92. act 'Apartment 30: Shared apartment': gt 'pavSharedApt', 'doorNo30'
  93. end
  94. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_4'
  95. end
  96. !floor 5
  97. if $ARGS[0] = 'etaj_5':
  98. $menu_loc = 'pavComplexb3'
  99. $menu_arg = 'etaj_5'
  100. menu_off = 0
  101. gs 'stat'
  102. '<center>Floor #5</center>'
  103. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj5.jpg"></center>'
  104. '<center>The fifth floor stairwell looks much like most of the other floors, though it has a final set of stairs at the other end of the hall that go up to the roof.</center>'
  105. act 'Go down to the fourth floor': minut +=1 & gt 'pavComplexb3','etaj_4'
  106. act 'Go up to the roof': minut +=1 & gt 'pavComplexb3', 'roof'
  107. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_5'
  108. end
  109. !!roof
  110. if $ARGS[0] = 'roof':
  111. $menu_loc = 'pavComplexb3'
  112. $menu_arg = 'roof'
  113. menu_off = 0
  114. minut +=1
  115. gs 'stat'
  116. '<center>Roof</center>'
  117. if month >= 11 or month <= 3:
  118. !!if hour >= 8 and hour <= 21:
  119. !!'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  120. !!else
  121. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  122. !!end
  123. else
  124. if hour >= 8 and hour <= 21:
  125. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roof.jpg"></center>'
  126. else
  127. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofn.jpg"></center>'
  128. end
  129. end
  130. '<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>'
  131. act 'Go down to the fifth floor':
  132. if $clothingworntype = 'swimwear' or $clothingworntype = 'nude':
  133. msg '<center><font color = red>You need to get dressed first</font></center>'
  134. gt 'pavComplexb3','roof'
  135. else
  136. minut += 1
  137. gt 'pavComplexb3','etaj_5'
  138. end
  139. end
  140. if $clothingworntype = 'swimwear' or $clothingworntype = 'nude':
  141. act 'Change back into clothes':
  142. minut += 5
  143. gs 'underwear', 'wear'
  144. gs 'clothing', 'wear_last_worn'
  145. gt 'pavComplexb3','roof'
  146. end
  147. end
  148. if temper >= 15 and hour >= 8 and hour <= 20:
  149. if ARRSIZE('swimwear') > 0 and $clothingworntype ! 'swimwear':
  150. act 'Change into a bikini':gt 'changingroom', 'view_swim_list'
  151. end
  152. if $clothingworntype = 'swimwear':
  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: pcs_sweat += 5
  160. pcs_mood += 5
  161. gs 'stat'
  162. '<center><img <<$set_imgh>> src="images/locations/city/residential/apartment/zagar1.jpg"></center>'
  163. if krem = 0:
  164. pcs_tan += 1
  165. 'You lie down to sunbathe.'
  166. elseif krem > 0:
  167. krem -= 1
  168. pcs_tan += 3
  169. 'You put the sunblock on your body and lied down on the roof to sunbathe.'
  170. end
  171. act 'Get Up':gt 'pavComplexb3', '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 ''pavComplexb3'',''elev_objava''">notification</a> in the elevator.</center>'
  187. act 'Push button: floor 1': gt 'pavComplexb3','etaj_1'
  188. act 'Push button: floor 2': gt 'pavComplexb3','etaj_2'
  189. act 'Push button: floor 3': gt 'pavComplexb3','etaj_3'
  190. act 'Push button: floor 4': gt 'pavComplexb3','etaj_4'
  191. act 'Push button: floor 5': gt 'pavComplexb3','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 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 is already closed again, and the elevator is moving away from you.'
  199. act 'Leave': gt 'pavComplexb3',$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 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 'pavComplexb3',$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 'pavComplexb3','lift'
  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 'pavComplexb3','etaj_1'
  228. end
  229. --- pavComplexb3 ---------------------------------