pavComplexb3.qsrc 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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 'Go outside': minut += 1 & gt 'pavcomplex', 'start'
  46. !! if rolanblockhome ! 1 and storyline = 1:
  47. !! act 'Knock Mr. Matveev''s door': gt 'rolanapt','home'
  48. !! end
  49. act 'Go up to the second floor': minut +=1 & gt 'pavComplexb3','etaj_2'
  50. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_1'
  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. if seenAd = 0:
  88. gt 'pavSharedApt', 'advertNo30'
  89. else:
  90. act 'Go to door number 30': gt 'pavSharedApt', 'doorNo30'
  91. end
  92. act 'Go down to the third floor': minut +=1 & gt 'pavComplexb3','etaj_3'
  93. act 'Go up to the fifth floor': minut +=1 & gt 'pavComplexb3','etaj_5'
  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 'Take the elevator': gt 'pavComplexb3','lift','etaj_5'
  107. act 'Go to the roof': minut +=1 & gt 'pavComplexb3', 'roof'
  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': minut +=1 & gt 'pavComplexb3','etaj_5'
  132. end
  133. !================================================================================================!
  134. !ELEVATOR: ------------------------------------------------------------------------------------ ELEVATOR:!
  135. !================================================================================================!
  136. !the lift
  137. if $ARGS[0] = 'lift':
  138. menu_off = 1
  139. *clr & cla
  140. minut +=1
  141. gs 'stat'
  142. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator.jpg"></center>'
  143. '<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>'
  144. act 'Push button: floor 1': gt 'pavComplexb3','etaj_1'
  145. act 'Push button: floor 2': gt 'pavComplexb3','etaj_2'
  146. act 'Push button: floor 3': gt 'pavComplexb3','etaj_3'
  147. act 'Push button: floor 4': gt 'pavComplexb3','etaj_4'
  148. act 'Push button: floor 5': gt 'pavComplexb3','etaj_5'
  149. pod_lift_ev = RAND(0,100)
  150. if pod_lift_ev <=5:
  151. *clr & cla
  152. minut +=1
  153. gs 'stat'
  154. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/elevator'+rand(1,2)+'.jpg"></center>'
  155. '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.'
  156. act 'Leave': gt 'pavComplexb3',$ARGS[1]
  157. elseif pod_lift_ev <=10 or liftnotwork_count <=0:
  158. *clr & cla
  159. minut +=1
  160. liftnotwork_day = daystart
  161. liftnotwork_count -= 1
  162. gs 'stat'
  163. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/liftnotwork.jpg"></center>'
  164. '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!"'
  165. act 'Leave': gt 'pavComplexb3',$ARGS[1]
  166. end
  167. killvar 'pod_lift_ev'
  168. end
  169. !elevator ads
  170. if $ARGS[0] = 'elev_objava':
  171. *clr & cla
  172. minut +=1
  173. gs 'stat'
  174. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator_ob'+rand(1,2)+'.jpg"></center>'
  175. act 'Continue': gt 'pavComplexb3','lift'
  176. end
  177. !locked ads
  178. if $ARGS[0] = 'pod_objava':
  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/pod_ob'+rand(1,2)+'.jpg"></center>'
  184. act 'Continue': gt 'pavComplexb3','etaj_1'
  185. end
  186. --- pavComplexb3 ---------------------------------