pavComplexb3.qsrc 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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. end
  57. !floor 2
  58. if $ARGS[0] = 'etaj_2':
  59. minut +=1
  60. gs 'stat'
  61. '<center>2nd floor of the apartment building</center>'
  62. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj2.jpg"></center>'
  63. '<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>'
  64. act 'Go down to the first floor': gt 'pavComplexb3','etaj_1'
  65. act 'Go up to the third floor': gt 'pavComplexb3','etaj_3'
  66. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_2'
  67. end
  68. !floor 3
  69. if $ARGS[0] = 'etaj_3':
  70. minut +=1
  71. gs 'stat'
  72. '<center>3rd floor of the apartment building</center>'
  73. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj3.jpg"></center>'
  74. '<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>'
  75. act 'Go down to the second floor': gt 'pavComplexb3','etaj_2'
  76. act 'Go up to the fourth floor': gt 'pavComplexb3','etaj_4'
  77. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_3'
  78. end
  79. !floor 4
  80. if $ARGS[0] = 'etaj_4':
  81. minut +=1
  82. gs 'stat'
  83. '<center>4th floor of the apartment building</center>'
  84. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj4.jpg"></center>'
  85. '<center>The fourth floor stairwell was renovated not long ago, but some hoodlums already sprayed graffiti on the walls.</center>'
  86. if seenAd = 0:
  87. gt 'pavSharedApt', 'advertNo30'
  88. else:
  89. act 'Go to door number 30': gt 'pavSharedApt', 'doorNo30'
  90. end
  91. act 'Go down to the third floor': gt 'pavComplexb3','etaj_3'
  92. act 'Go up to the fifth floor': gt 'pavComplexb3','etaj_5'
  93. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_4'
  94. end
  95. !floor 5
  96. if $ARGS[0] = 'etaj_5':
  97. minut +=1
  98. gs 'stat'
  99. '<center>Floor #5</center>'
  100. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj5.jpg"></center>'
  101. '<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>'
  102. act 'Go down to the fourth floor': gt 'pavComplexb3','etaj_4'
  103. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_5'
  104. act 'Go to the roof': gt 'pavComplexb3', 'roof'
  105. end
  106. !!roof
  107. if $ARGS[0] = 'roof':
  108. minut +=1
  109. gs 'stat'
  110. '<center>Roof</center>'
  111. if month >= 11 or month <= 3:
  112. !!if hour >= 8 and hour <= 21:
  113. !!'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  114. !!else
  115. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  116. !!end
  117. else
  118. if hour >= 8 and hour <= 21:
  119. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roof.jpg"></center>'
  120. else
  121. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofn.jpg"></center>'
  122. end
  123. end
  124. '<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>'
  125. act 'Go down to the fifth floor': gt 'pavComplexb3','etaj_5'
  126. end
  127. !================================================================================================!
  128. !ELEVATOR: ------------------------------------------------------------------------------------ ELEVATOR:!
  129. !================================================================================================!
  130. !the lift
  131. if $ARGS[0] = 'lift':
  132. *clr & cla
  133. minut +=1
  134. gs 'stat'
  135. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator.jpg"></center>'
  136. '<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>'
  137. act 'Push button: floor 1': gt 'pavComplexb3','etaj_1'
  138. act 'Push button: floor 2': gt 'pavComplexb3','etaj_2'
  139. act 'Push button: floor 3': gt 'pavComplexb3','etaj_3'
  140. act 'Push button: floor 4': gt 'pavComplexb3','etaj_4'
  141. act 'Push button: floor 5': gt 'pavComplexb3','etaj_5'
  142. pod_lift_ev = RAND(0,100)
  143. if pod_lift_ev <=5:
  144. *clr & cla
  145. minut +=1
  146. gs 'stat'
  147. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/elevator'+rand(1,2)+'.jpg"></center>'
  148. '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.'
  149. act 'Leave': gt 'pavComplexb3',$ARGS[1]
  150. elseif pod_lift_ev <=10 or liftnotwork_count <=0:
  151. *clr & cla
  152. minut +=1
  153. liftnotwork_day = daystart
  154. liftnotwork_count -= 1
  155. gs 'stat'
  156. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/liftnotwork.jpg"></center>'
  157. '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!"'
  158. act 'Leave': gt 'pavComplexb3',$ARGS[1]
  159. end
  160. killvar 'pod_lift_ev'
  161. end
  162. !elevator ads
  163. if $ARGS[0] = 'elev_objava':
  164. *clr & cla
  165. minut +=1
  166. gs 'stat'
  167. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator_ob'+rand(1,2)+'.jpg"></center>'
  168. act 'Continue': gt 'pavComplexb3','lift'
  169. end
  170. !locked ads
  171. if $ARGS[0] = 'pod_objava':
  172. *clr & cla
  173. minut +=1
  174. gs 'stat'
  175. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/pod_ob'+rand(1,2)+'.jpg"></center>'
  176. act 'Continue': gt 'pavComplexb3','etaj_1'
  177. end
  178. --- pavComplexb3 ---------------------------------