pavComplexb2.qsrc 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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. *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'
  32. 'Floor 2 - Apartment number'
  33. 'Floor 3 - Apartment number'
  34. 'Floor 4 - Apartment number 17: Anushka Konstantinov'
  35. 'Floor 5 - Apartment number'
  36. act 'Leave': gt 'pavComplexb2', 'etaj_1'
  37. end
  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: gt ''pavComplexb2'', ''housemates''">list</a> of the people who live here on the wall.'
  49. 'Someone put up some <a href="exec:GT ''pavComplexb2'',''pod_objava''">advertisements</a> on the wall, near the entrance.'
  50. act '<font color = maroon><b>Go outside</b></font>': gt 'pavcomplex', 'start'
  51. act 'Go up to the second floor': CLOSE ALL & gt 'pavComplexb2','etaj_2'
  52. act 'Take the elevator': CLOSE ALL & gt 'pavComplexb2','lift','etaj_1'
  53. end
  54. !floor 2
  55. if $ARGS[0] = 'etaj_2':
  56. minut +=1
  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': gt 'pavComplexb2','etaj_1'
  62. act 'Go up to the third floor': gt 'pavComplexb2','etaj_3'
  63. act 'Take the elevator': gt 'pavComplexb2','lift','etaj_2'
  64. end
  65. !floor 3
  66. if $ARGS[0] = 'etaj_3':
  67. minut +=1
  68. gs 'stat'
  69. '<center>3rd floor of the apartment building</center>'
  70. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj3.jpg"></center>'
  71. '<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>'
  72. act 'Go down to the second floor': gt 'pavComplexb2','etaj_2'
  73. act 'Go up to the fourth floor': gt 'pavComplexb2','etaj_4'
  74. act 'Take the elevator': gt 'pavComplexb2','lift','etaj_3'
  75. end
  76. !floor 4
  77. if $ARGS[0] = 'etaj_4':
  78. minut +=1
  79. gs 'stat'
  80. '<center>4th floor of the apartment building</center>'
  81. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj4.jpg"></center>'
  82. '<center>The fourth floor stairwell was renovated not long ago, but some hoodlums already sprayed graffiti on the walls.</center>'
  83. if anushkaFirstvisit ! 0:
  84. act 'Apartment number 17: Anushka Konstantinov': gt 'anushapt', 'home'
  85. end
  86. act 'Go down to the third floor': gt 'pavComplexb2','etaj_3'
  87. act 'Go up to the fifth floor': gt 'pavComplexb2','etaj_5'
  88. act 'Take the elevator': gt 'pavComplexb2','lift','etaj_4'
  89. end
  90. !floor 5
  91. if $ARGS[0] = 'etaj_5':
  92. minut +=1
  93. gs 'stat'
  94. '<center>Floor #5</center>'
  95. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj5.jpg"></center>'
  96. '<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>'
  97. act 'Go down to the fourth floor': gt 'pavComplexb2','etaj_4'
  98. act 'Take the elevator': gt 'pavComplexb2','lift','etaj_5'
  99. act 'Go to the roof': gt 'pavComplexb2', 'roof'
  100. end
  101. !!roof
  102. if $ARGS[0] = 'roof':
  103. minut +=1
  104. gs 'stat'
  105. '<center>Roof</center>'
  106. if month >= 11 or month <= 3:
  107. !!if hour >= 8 and hour <= 21:
  108. !!'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  109. !!else
  110. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  111. !!end
  112. else
  113. if hour >= 8 and hour <= 21:
  114. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roof.jpg"></center>'
  115. else
  116. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofn.jpg"></center>'
  117. end
  118. end
  119. '<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>'
  120. act 'Go down to the fifth floor': gt 'pavComplexb2','etaj_5'
  121. end
  122. !================================================================================================!
  123. !ELEVATOR: ------------------------------------------------------------------------------------ ELEVATOR:!
  124. !================================================================================================!
  125. !the lift
  126. if $ARGS[0] = 'lift':
  127. *clr & cla
  128. minut +=1
  129. gs 'stat'
  130. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator.jpg"></center>'
  131. '<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>'
  132. act 'Push button: floor 1': gt 'pavComplexb2','etaj_1'
  133. act 'Push button: floor 2': gt 'pavComplexb2','etaj_2'
  134. act 'Push button: floor 3': gt 'pavComplexb2','etaj_3'
  135. act 'Push button: floor 4': gt 'pavComplexb2','etaj_4'
  136. act 'Push button: floor 5': gt 'pavComplexb2','etaj_5'
  137. pod_lift_ev = RAND(0,100)
  138. if pod_lift_ev <=5:
  139. *clr & cla
  140. minut +=1
  141. gs 'stat'
  142. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/elevator'+rand(1,2)+'.jpg"></center>'
  143. '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.'
  144. act 'Leave': gt 'pavComplexb2',$ARGS[1]
  145. elseif pod_lift_ev <=10 or liftnotwork_count <=0:
  146. *clr & cla
  147. minut +=1
  148. liftnotwork_day = daystart
  149. liftnotwork_count -= 1
  150. gs 'stat'
  151. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/liftnotwork.jpg"></center>'
  152. '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!"'
  153. act 'Leave': gt 'pavComplexb2',$ARGS[1]
  154. end
  155. killvar 'pod_lift_ev'
  156. end
  157. !elevator ads
  158. if $ARGS[0] = 'elev_objava':
  159. *clr & cla
  160. minut +=1
  161. gs 'stat'
  162. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator_ob'+rand(1,2)+'.jpg"></center>'
  163. act 'Continue': gt 'pavComplexb2','lift'
  164. end
  165. !locked ads
  166. if $ARGS[0] = 'pod_objava':
  167. *clr & cla
  168. minut +=1
  169. gs 'stat'
  170. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/pod_ob'+rand(1,2)+'.jpg"></center>'
  171. act 'Continue': gt 'pavComplexb2','etaj_1'
  172. end
  173. !!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.
  174. if $ARGS[0] = 'anushkaFirst':
  175. '<center><img src="images\locations\pavlovsk\school\head\45.jpg"></center>'
  176. 'As you walk into the building you nearly run into Anushka. "Hey <<$pcs_nickname>> whats up?"'
  177. '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?"'
  178. '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?"'
  179. act 'Can''t, got to go.': gt 'pavcomplex', 'start'
  180. act 'Sure': gt 'anushapt', 'firstvisit'
  181. end
  182. --- pavComplexb2 ---------------------------------