1
0

pavComplexb3.qsrc 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  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 = 'etaj1'
  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. minut += 60
  157. inhib_exp += rand(1,3)
  158. if pcs_sweat < 35: pcs_sweat += 5
  159. pcs_mood += 5
  160. '<center><img <<$set_imgh>> src="images/locations/city/residential/apartment/zagar1.jpg"></center>'
  161. if krem = 0:
  162. pcs_tan += 1
  163. 'You lie down to sunbathe.'
  164. elseif krem > 0:
  165. krem -= 1
  166. pcs_tan += 3
  167. 'You put the sunblock on your body and lied down on the roof to sunbathe.'
  168. end
  169. act 'Get Up':gt 'pavComplexb3', 'roof'
  170. end
  171. end
  172. end
  173. end
  174. !================================================================================================!
  175. !ELEVATOR: ------------------------------------------------------------------------------------ ELEVATOR:!
  176. !================================================================================================!
  177. !the lift
  178. if $ARGS[0] = 'lift':
  179. menu_off = 1
  180. *clr & cla
  181. minut +=1
  182. gs 'stat'
  183. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator.jpg"></center>'
  184. '<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>'
  185. act 'Push button: floor 1': gt 'pavComplexb3','etaj_1'
  186. act 'Push button: floor 2': gt 'pavComplexb3','etaj_2'
  187. act 'Push button: floor 3': gt 'pavComplexb3','etaj_3'
  188. act 'Push button: floor 4': gt 'pavComplexb3','etaj_4'
  189. act 'Push button: floor 5': gt 'pavComplexb3','etaj_5'
  190. pod_lift_ev = RAND(0,100)
  191. if pod_lift_ev <=5:
  192. *clr & cla
  193. minut +=1
  194. gs 'stat'
  195. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/elevator'+rand(1,2)+'.jpg"></center>'
  196. '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.'
  197. act 'Leave': gt 'pavComplexb3',$ARGS[1]
  198. elseif pod_lift_ev <=10 or liftnotwork_count <=0:
  199. *clr & cla
  200. minut +=1
  201. liftnotwork_day = daystart
  202. liftnotwork_count -= 1
  203. gs 'stat'
  204. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/liftnotwork.jpg"></center>'
  205. '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!"'
  206. act 'Leave': gt 'pavComplexb3',$ARGS[1]
  207. end
  208. killvar 'pod_lift_ev'
  209. end
  210. !elevator ads
  211. if $ARGS[0] = 'elev_objava':
  212. *clr & cla
  213. minut +=1
  214. gs 'stat'
  215. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator_ob'+rand(1,2)+'.jpg"></center>'
  216. act 'Continue': gt 'pavComplexb3','lift'
  217. end
  218. !locked ads
  219. if $ARGS[0] = 'pod_objava':
  220. menu_off = 1
  221. *clr & cla
  222. minut +=1
  223. gs 'stat'
  224. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/pod_ob'+rand(1,2)+'.jpg"></center>'
  225. act 'Continue': gt 'pavComplexb3','etaj_1'
  226. end
  227. --- pavComplexb3 ---------------------------------