1
0

pavComplexb3.qsrc 8.2 KB

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