1
0

pavComplexb2.qsrc 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  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. act 'Go to the residential street':minut += 1 & gt 'pavResidential'
  54. act 'Go to the apartment courtyard':minut += 3 & gt 'pavComplex', 'courtyard'
  55. act 'Go to the apartment garages':minut += 3 & gt 'pavComplex', 'garages'
  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 'pavComplexb2','etaj_1'
  65. act 'Go up to the third floor': gt 'pavComplexb2','etaj_3'
  66. act 'Take the elevator': gt 'pavComplexb2','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 'pavComplexb2','etaj_2'
  76. act 'Go up to the fourth floor': gt 'pavComplexb2','etaj_4'
  77. act 'Take the elevator': gt 'pavComplexb2','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 anushkaFirstvisit ! 0:
  87. act 'Apartment number 17: Anushka Konstantinov': gt 'anushapt', 'home'
  88. end
  89. act 'Go down to the third floor': gt 'pavComplexb2','etaj_3'
  90. act 'Go up to the fifth floor': gt 'pavComplexb2','etaj_5'
  91. act 'Take the elevator': gt 'pavComplexb2','lift','etaj_4'
  92. end
  93. !floor 5
  94. if $ARGS[0] = 'etaj_5':
  95. minut +=1
  96. gs 'stat'
  97. '<center>Floor #5</center>'
  98. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj5.jpg"></center>'
  99. '<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>'
  100. act 'Go down to the fourth floor': gt 'pavComplexb2','etaj_4'
  101. act 'Take the elevator': gt 'pavComplexb2','lift','etaj_5'
  102. act 'Go to the roof': gt 'pavComplexb2', 'roof'
  103. end
  104. !!roof
  105. if $ARGS[0] = 'roof':
  106. minut +=1
  107. gs 'stat'
  108. '<center>Roof</center>'
  109. if month >= 11 or month <= 3:
  110. !!if hour >= 8 and hour <= 21:
  111. !!'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  112. !!else
  113. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  114. !!end
  115. else
  116. if hour >= 8 and hour <= 21:
  117. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roof.jpg"></center>'
  118. else
  119. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofn.jpg"></center>'
  120. end
  121. end
  122. '<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>'
  123. act 'Go down to the fifth floor': gt 'pavComplexb2','etaj_5'
  124. end
  125. !================================================================================================!
  126. !ELEVATOR: ------------------------------------------------------------------------------------ ELEVATOR:!
  127. !================================================================================================!
  128. !the lift
  129. if $ARGS[0] = 'lift':
  130. *clr & cla
  131. minut +=1
  132. gs 'stat'
  133. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator.jpg"></center>'
  134. '<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>'
  135. act 'Push button: floor 1': gt 'pavComplexb2','etaj_1'
  136. act 'Push button: floor 2': gt 'pavComplexb2','etaj_2'
  137. act 'Push button: floor 3': gt 'pavComplexb2','etaj_3'
  138. act 'Push button: floor 4': gt 'pavComplexb2','etaj_4'
  139. act 'Push button: floor 5': gt 'pavComplexb2','etaj_5'
  140. pod_lift_ev = RAND(0,100)
  141. if pod_lift_ev <=5:
  142. *clr & cla
  143. minut +=1
  144. gs 'stat'
  145. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/elevator'+rand(1,2)+'.jpg"></center>'
  146. '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.'
  147. act 'Leave': gt 'pavComplexb2',$ARGS[1]
  148. elseif pod_lift_ev <=10 or liftnotwork_count <=0:
  149. *clr & cla
  150. minut +=1
  151. liftnotwork_day = daystart
  152. liftnotwork_count -= 1
  153. gs 'stat'
  154. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/liftnotwork.jpg"></center>'
  155. '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!"'
  156. act 'Leave': gt 'pavComplexb2',$ARGS[1]
  157. end
  158. killvar 'pod_lift_ev'
  159. end
  160. !elevator ads
  161. if $ARGS[0] = 'elev_objava':
  162. *clr & cla
  163. minut +=1
  164. gs 'stat'
  165. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator_ob'+rand(1,2)+'.jpg"></center>'
  166. act 'Continue': gt 'pavComplexb2','lift'
  167. end
  168. !locked ads
  169. if $ARGS[0] = 'pod_objava':
  170. *clr & cla
  171. minut +=1
  172. gs 'stat'
  173. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/pod_ob'+rand(1,2)+'.jpg"></center>'
  174. act 'Continue': gt 'pavComplexb2','etaj_1'
  175. end
  176. !!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.
  177. if $ARGS[0] = 'anushkaFirst':
  178. 'As you walk into the building you nearly run into Anushka. "Hey <<$pcs_nickname>> whats up?"'
  179. '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?"'
  180. '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?"'
  181. act 'Can''t, got to go.': gt 'pavcomplex', 'start'
  182. act 'Sure': gt 'anushapt', 'firstvisit'
  183. end
  184. --- pavComplexb2 ---------------------------------