pavComplexb2.qsrc 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. # pavComplexb2
  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 = ''
  14. $loc = 'pavComplexb2'
  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. if $ARGS[0] = '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'
  33. 'Floor 2 - Apartment number'
  34. 'Floor 3 - Apartment number'
  35. 'Floor 4 - Apartment number 17: Anushka Konstantinov'
  36. 'Floor 5 - Apartment number'
  37. act 'Leave': gt 'pavComplexb2', 'etaj_1'
  38. end
  39. !!locked in Pavlovsk, floor 1
  40. if $ARGS[0] = 'etaj_1':
  41. $menu_loc = 'pavComplexb2'
  42. $menu_arg = 'etaj_1'
  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: gt ''pavComplexb2'', ''housemates''">list</a> of the people who live here on the wall.'
  53. 'Someone put up some <a href="exec:GT ''pavComplexb2'',''pod_objava''">advertisements</a> on the wall, near the entrance.'
  54. act '<font color = maroon><b>Go outside</b></font>': gt 'pavcomplex', 'start'
  55. act 'Go up to the second floor': CLOSE ALL & gt 'pavComplexb2','etaj_2'
  56. act 'Take the elevator': CLOSE ALL & gt 'pavComplexb2','lift','etaj_1'
  57. end
  58. !floor 2
  59. if $ARGS[0] = 'etaj_2':
  60. $menu_loc = 'pavComplexb2'
  61. $menu_arg = 'etaj_2'
  62. menu_off = 0
  63. minut +=1
  64. gs 'stat'
  65. '<center>2nd floor of the apartment building</center>'
  66. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj2.jpg"></center>'
  67. '<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>'
  68. act 'Go down to the first floor': gt 'pavComplexb2','etaj_1'
  69. act 'Go up to the third floor': gt 'pavComplexb2','etaj_3'
  70. act 'Take the elevator': gt 'pavComplexb2','lift','etaj_2'
  71. end
  72. !floor 3
  73. if $ARGS[0] = 'etaj_3':
  74. $menu_loc = 'pavComplexb2'
  75. $menu_arg = 'etaj_3'
  76. menu_off = 0
  77. minut +=1
  78. gs 'stat'
  79. '<center>3rd floor of the apartment building</center>'
  80. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj3.jpg"></center>'
  81. '<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>'
  82. act 'Go down to the second floor': gt 'pavComplexb2','etaj_2'
  83. act 'Go up to the fourth floor': gt 'pavComplexb2','etaj_4'
  84. act 'Take the elevator': gt 'pavComplexb2','lift','etaj_3'
  85. end
  86. !floor 4
  87. if $ARGS[0] = 'etaj_4':
  88. $menu_loc = 'pavComplexb2'
  89. $menu_arg = 'etaj_4'
  90. menu_off = 0
  91. minut +=1
  92. gs 'stat'
  93. '<center>4th floor of the apartment building</center>'
  94. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj4.jpg"></center>'
  95. '<center>The fourth floor stairwell was renovated not long ago, but some hoodlums already sprayed graffiti on the walls.</center>'
  96. if anushkaFirstvisit ! 0:
  97. act 'Apartment number 17: Anushka Konstantinov': gt 'anushapt', 'home'
  98. end
  99. act 'Go down to the third floor': gt 'pavComplexb2','etaj_3'
  100. act 'Go up to the fifth floor': gt 'pavComplexb2','etaj_5'
  101. act 'Take the elevator': gt 'pavComplexb2','lift','etaj_4'
  102. end
  103. !floor 5
  104. if $ARGS[0] = 'etaj_5':
  105. $menu_loc = 'pavComplexb2'
  106. $menu_arg = 'etaj_5'
  107. menu_off = 0
  108. minut +=1
  109. gs 'stat'
  110. '<center>Floor #5</center>'
  111. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj5.jpg"></center>'
  112. '<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>'
  113. act 'Go down to the fourth floor': gt 'pavComplexb2','etaj_4'
  114. act 'Take the elevator': gt 'pavComplexb2','lift','etaj_5'
  115. act 'Go to the roof': gt 'pavComplexb2', 'roof'
  116. end
  117. !!roof
  118. if $ARGS[0] = 'roof':
  119. $menu_loc = 'pavComplexb2'
  120. $menu_arg = 'roof'
  121. menu_off = 0
  122. minut +=1
  123. gs 'stat'
  124. '<center>Roof</center>'
  125. if month >= 11 or month <= 3:
  126. !!if hour >= 8 and hour <= 21:
  127. !!'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  128. !!else
  129. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  130. !!end
  131. else
  132. if hour >= 8 and hour <= 21:
  133. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roof.jpg"></center>'
  134. else
  135. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofn.jpg"></center>'
  136. end
  137. end
  138. '<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>'
  139. act 'Go down to the fifth floor': gt 'pavComplexb2','etaj_5'
  140. end
  141. !================================================================================================!
  142. !ELEVATOR: ------------------------------------------------------------------------------------ ELEVATOR:!
  143. !================================================================================================!
  144. !the lift
  145. if $ARGS[0] = 'lift':
  146. menu_off = 1
  147. *clr & cla
  148. minut +=1
  149. gs 'stat'
  150. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator.jpg"></center>'
  151. '<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 ''pavComplexb2'',''elev_objava''">notification</a> in the elevator.</center>'
  152. act 'Push button: floor 1': gt 'pavComplexb2','etaj_1'
  153. act 'Push button: floor 2': gt 'pavComplexb2','etaj_2'
  154. act 'Push button: floor 3': gt 'pavComplexb2','etaj_3'
  155. act 'Push button: floor 4': gt 'pavComplexb2','etaj_4'
  156. act 'Push button: floor 5': gt 'pavComplexb2','etaj_5'
  157. pod_lift_ev = RAND(0,100)
  158. if pod_lift_ev <=5:
  159. *clr & cla
  160. minut +=1
  161. gs 'stat'
  162. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/elevator'+rand(1,2)+'.jpg"></center>'
  163. '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.'
  164. act 'Leave': gt 'pavComplexb2',$ARGS[1]
  165. elseif pod_lift_ev <=10 or liftnotwork_count <=0:
  166. *clr & cla
  167. minut +=1
  168. liftnotwork_day = daystart
  169. liftnotwork_count -= 1
  170. gs 'stat'
  171. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/liftnotwork.jpg"></center>'
  172. '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!"'
  173. act 'Leave': gt 'pavComplexb2',$ARGS[1]
  174. end
  175. killvar 'pod_lift_ev'
  176. end
  177. !elevator ads
  178. if $ARGS[0] = 'elev_objava':
  179. *clr & cla
  180. minut +=1
  181. gs 'stat'
  182. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator_ob'+rand(1,2)+'.jpg"></center>'
  183. act 'Continue': gt 'pavComplexb2','lift'
  184. end
  185. !locked ads
  186. if $ARGS[0] = 'pod_objava':
  187. *clr & cla
  188. minut +=1
  189. gs 'stat'
  190. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/pod_ob'+rand(1,2)+'.jpg"></center>'
  191. act 'Continue': gt 'pavComplexb2','etaj_1'
  192. end
  193. !!new scene for going to this complex if Sveta has a friendship of 50 > and has not been to Anushka''s apartment. Once she has been once this doesn''t show up again. This is a temporary way to start Anushka''s story with out having to go to detention first.
  194. if $ARGS[0] = 'anushkaFirst':
  195. menu_off = 1
  196. '<center><img src="images\locations\pavlovsk\school\head\45.jpg"></center>'
  197. 'As you walk into the building you nearly run into Anushka. "Hey <<$pcs_nickname>> whats up?"'
  198. 'A bit surprised to see her but not disappointed, you was just wandering around for the hell of it. "Just killing time, kinda bored you know?"'
  199. 'She nods a bit and finishes checking the mail. "Yeah I know how that is, hey want to come up to my place and hang out?"'
  200. act 'Can''t, got to go.': gt 'pavcomplex', 'start'
  201. act 'Sure': gt 'anushapt', 'firstvisit'
  202. end
  203. --- pavComplexb2 ---------------------------------