pavComplexb3.qsrc 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. # pavComplexb3
  2. !SETTINGS:
  3. CLOSE ALL
  4. if night_mode = 1:
  5. fcolor = rgb(255, 255, 255)
  6. bcolor = rgb(0, 0, 0)
  7. lcolor = rgb(106, 90, 205)
  8. else
  9. fcolor = rgb(0, 0, 0)
  10. bcolor = rgb(255, 255, 255)
  11. lcolor = rgb(106, 90, 205)
  12. end
  13. $metka = $ARGS[0]
  14. $loc = $CURLOC
  15. !elevator does not work
  16. if liftnotwork_day ! daystart: liftnotwork_count = 1
  17. !Apartment Uncle Misha
  18. if mishahouse_day ! daystart: mishahouse_count = 1
  19. !how much money for sex give boys
  20. $rnd_money_sex = ''+rand(50,350)+''
  21. rnd_money_sex = $rnd_money_sex
  22. !================================================================================================!
  23. !FLOORS: ---------------------------Entrance to the town-------------------------------------- FLOORS:!
  24. !================================================================================================!
  25. !housemates
  26. $housemates = {
  27. menu_off = 1
  28. *clr & cla
  29. minut +=1
  30. gs 'stat'
  31. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/housemates.jpg"></center>'
  32. 'Floor 1 - Apartment number 1: Rolan Matveev'
  33. 'Floor 2 - Apartment number'
  34. 'Floor 3 - Apartment number'
  35. 'Floor 4 - Apartment number 30: Shared'
  36. 'Floor 5 - Apartment number'
  37. act 'Leave': gt 'pavComplexb3', 'etaj_1'
  38. }
  39. !!locked in Pavlovsk, floor 1
  40. if $ARGS[0] = 'etaj_1':
  41. $menu_loc = 'pavComplexb3'
  42. $menu_arg = 'etaj1'
  43. menu_off = 0
  44. CLOSE ALL
  45. if sound = 0:PLAY 'sound/podezd.mp3',30
  46. minut +=1
  47. gs 'stat'
  48. '<center><b><font color = maroon>Ground floor of the apartment building</font></b></center>'
  49. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/podezd2.jpg"></center>'
  50. '<center>A dirty and poorly maintained stairwell, the same as any other in your town.</center>'
  51. '<<$pod_ev_rnd>>'
  52. 'There''s a <a href="exec: dynamic $housemates">list</a> of the people who live here on the wall.'
  53. 'Someone put up some <a href="exec:GT ''pavComplexb3'',''pod_objava''">advertisements</a> on the wall, near the entrance.'
  54. act '<font color = maroon><b>Go outside</b></font>': gt 'pavcomplex', 'start'
  55. !! if rolanblockhome ! 1 and storyline = 1:
  56. !! act 'Knock Mr. Matveev''s door': gt 'rolanapt','home'
  57. !! end
  58. act 'Go up to the second floor': CLOSE ALL & gt 'pavComplexb3','etaj_2'
  59. act 'Take the elevator': CLOSE ALL & gt 'pavComplexb3','lift','etaj_1'
  60. end
  61. !floor 2
  62. if $ARGS[0] = 'etaj_2':
  63. $menu_loc = 'pavComplexb3'
  64. $menu_arg = 'etaj_2'
  65. menu_off = 0
  66. minut +=1
  67. gs 'stat'
  68. '<center>2nd floor of the apartment building</center>'
  69. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj2.jpg"></center>'
  70. '<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>'
  71. act 'Go down to the first floor': gt 'pavComplexb3','etaj_1'
  72. act 'Go up to the third floor': gt 'pavComplexb3','etaj_3'
  73. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_2'
  74. end
  75. !floor 3
  76. if $ARGS[0] = 'etaj_3':
  77. $menu_loc = 'pavComplexb3'
  78. $menu_arg = 'etaj_3'
  79. menu_off = 0
  80. minut +=1
  81. gs 'stat'
  82. '<center>3rd floor of the apartment building</center>'
  83. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj3.jpg"></center>'
  84. '<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>'
  85. act 'Go down to the second floor': gt 'pavComplexb3','etaj_2'
  86. act 'Go up to the fourth floor': gt 'pavComplexb3','etaj_4'
  87. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_3'
  88. end
  89. !floor 4
  90. if $ARGS[0] = 'etaj_4':
  91. $menu_loc = 'pavComplexb3'
  92. $menu_arg = 'etaj_4'
  93. menu_off = 0
  94. minut +=1
  95. gs 'stat'
  96. '<center>4th floor of the apartment building</center>'
  97. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj4.jpg"></center>'
  98. '<center>The fourth floor stairwell was renovated not long ago, but some hoodlums already sprayed graffiti on the walls.</center>'
  99. if seenAd = 0:
  100. gt 'pavSharedApt', 'advertNo30'
  101. else:
  102. act 'Go to door number 30': gt 'pavSharedApt', 'doorNo30'
  103. end
  104. act 'Go down to the third floor': gt 'pavComplexb3','etaj_3'
  105. act 'Go up to the fifth floor': gt 'pavComplexb3','etaj_5'
  106. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_4'
  107. end
  108. !floor 5
  109. if $ARGS[0] = 'etaj_5':
  110. $menu_loc = 'pavComplexb3'
  111. $menu_arg = 'etaj_5'
  112. menu_off = 0
  113. minut +=1
  114. gs 'stat'
  115. '<center>Floor #5</center>'
  116. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj5.jpg"></center>'
  117. '<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>'
  118. act 'Go down to the fourth floor': gt 'pavComplexb3','etaj_4'
  119. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_5'
  120. act 'Go to the roof': gt 'pavComplexb3', 'roof'
  121. end
  122. !!roof
  123. if $ARGS[0] = 'roof':
  124. $menu_loc = 'pavComplexb3'
  125. $menu_arg = 'roof'
  126. menu_off = 0
  127. minut +=1
  128. gs 'stat'
  129. '<center>Roof</center>'
  130. if month >= 11 or month <= 3:
  131. !!if hour >= 8 and hour <= 21:
  132. !!'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  133. !!else
  134. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  135. !!end
  136. else
  137. if hour >= 8 and hour <= 21:
  138. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roof.jpg"></center>'
  139. else
  140. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofn.jpg"></center>'
  141. end
  142. end
  143. '<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>'
  144. act 'Go down to the fifth floor': gt 'pavComplexb3','etaj_5'
  145. end
  146. !================================================================================================!
  147. !ELEVATOR: ------------------------------------------------------------------------------------ ELEVATOR:!
  148. !================================================================================================!
  149. !the lift
  150. if $ARGS[0] = 'lift':
  151. menu_off = 1
  152. *clr & cla
  153. minut +=1
  154. gs 'stat'
  155. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator.jpg"></center>'
  156. '<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>'
  157. act 'Push button: floor 1': gt 'pavComplexb3','etaj_1'
  158. act 'Push button: floor 2': gt 'pavComplexb3','etaj_2'
  159. act 'Push button: floor 3': gt 'pavComplexb3','etaj_3'
  160. act 'Push button: floor 4': gt 'pavComplexb3','etaj_4'
  161. act 'Push button: floor 5': gt 'pavComplexb3','etaj_5'
  162. pod_lift_ev = RAND(0,100)
  163. if pod_lift_ev <=5:
  164. *clr & cla
  165. minut +=1
  166. gs 'stat'
  167. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/elevator'+rand(1,2)+'.jpg"></center>'
  168. '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.'
  169. act 'Leave': gt 'pavComplexb3',$ARGS[1]
  170. elseif pod_lift_ev <=10 or liftnotwork_count <=0:
  171. *clr & cla
  172. minut +=1
  173. liftnotwork_day = daystart
  174. liftnotwork_count -= 1
  175. gs 'stat'
  176. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/liftnotwork.jpg"></center>'
  177. '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!"'
  178. act 'Leave': gt 'pavComplexb3',$ARGS[1]
  179. end
  180. killvar 'pod_lift_ev'
  181. end
  182. !elevator ads
  183. if $ARGS[0] = 'elev_objava':
  184. *clr & cla
  185. minut +=1
  186. gs 'stat'
  187. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator_ob'+rand(1,2)+'.jpg"></center>'
  188. act 'Continue': gt 'pavComplexb3','lift'
  189. end
  190. !locked ads
  191. if $ARGS[0] = 'pod_objava':
  192. menu_off = 1
  193. *clr & cla
  194. minut +=1
  195. gs 'stat'
  196. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/pod_ob'+rand(1,2)+'.jpg"></center>'
  197. act 'Continue': gt 'pavComplexb3','etaj_1'
  198. end
  199. --- pavComplexb3 ---------------------------------