1
0

pavComplexb3 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  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'
  32. 'Floor 2 - Apartment number'
  33. 'Floor 3 - Apartment number'
  34. 'Floor 4 - Apartment number'
  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. act 'Go up to the second floor': CLOSE ALL & gt 'pavComplexb3','etaj_2'
  52. act 'Take the elevator': CLOSE ALL & gt 'pavComplexb3','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 'pavComplexb3','etaj_1'
  62. act 'Go up to the third floor': gt 'pavComplexb3','etaj_3'
  63. act 'Take the elevator': gt 'pavComplexb3','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 'pavComplexb3','etaj_2'
  73. act 'Go up to the fourth floor': gt 'pavComplexb3','etaj_4'
  74. act 'Take the elevator': gt 'pavComplexb3','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. act 'Go down to the third floor': gt 'pavComplexb3','etaj_3'
  84. act 'Go up to the fifth floor': gt 'pavComplexb3','etaj_5'
  85. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_4'
  86. end
  87. !floor 5
  88. if $ARGS[0] = 'etaj_5':
  89. minut +=1
  90. gs 'stat'
  91. '<center>Floor #5</center>'
  92. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj5.jpg"></center>'
  93. '<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>'
  94. act 'Go down to the fourth floor': gt 'pavComplexb3','etaj_4'
  95. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_5'
  96. act 'Go to the roof': gt 'pavComplexb3', 'roof'
  97. end
  98. !!roof
  99. if $ARGS[0] = 'roof':
  100. minut +=1
  101. gs 'stat'
  102. '<center>Roof</center>'
  103. if month >= 11 or month <= 3:
  104. !!if hour >= 8 and hour <= 21:
  105. !!'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  106. !!else
  107. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  108. !!end
  109. else
  110. if hour >= 8 and hour <= 21:
  111. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roof.jpg"></center>'
  112. else
  113. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofn.jpg"></center>'
  114. end
  115. end
  116. '<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>'
  117. act 'Go down to the fifth floor': gt 'pavComplexb3','etaj_5'
  118. end
  119. !================================================================================================!
  120. !ELEVATOR: ------------------------------------------------------------------------------------ ELEVATOR:!
  121. !================================================================================================!
  122. !the lift
  123. if $ARGS[0] = 'lift':
  124. *clr & cla
  125. minut +=1
  126. gs 'stat'
  127. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator.jpg"></center>'
  128. '<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>'
  129. act 'Push button: floor 1': gt 'pavComplexb3','etaj_1'
  130. act 'Push button: floor 2': gt 'pavComplexb3','etaj_2'
  131. act 'Push button: floor 3': gt 'pavComplexb3','etaj_3'
  132. act 'Push button: floor 4': gt 'pavComplexb3','etaj_4'
  133. act 'Push button: floor 5': gt 'pavComplexb3','etaj_5'
  134. pod_lift_ev = RAND(0,100)
  135. if pod_lift_ev <=5:
  136. *clr & cla
  137. minut +=1
  138. gs 'stat'
  139. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/elevator'+rand(1,2)+'.jpg"></center>'
  140. '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.'
  141. act 'Leave': gt 'pavComplexb3',$ARGS[1]
  142. elseif pod_lift_ev <=10 or liftnotwork_count <=0:
  143. *clr & cla
  144. minut +=1
  145. liftnotwork_day = daystart
  146. liftnotwork_count -= 1
  147. gs 'stat'
  148. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/liftnotwork.jpg"></center>'
  149. '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!"'
  150. act 'Leave': gt 'pavComplexb3',$ARGS[1]
  151. end
  152. killvar 'pod_lift_ev'
  153. end
  154. !elevator ads
  155. if $ARGS[0] = 'elev_objava':
  156. *clr & cla
  157. minut +=1
  158. gs 'stat'
  159. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator_ob'+rand(1,2)+'.jpg"></center>'
  160. act 'Continue': gt 'pavComplexb3','lift'
  161. end
  162. !locked ads
  163. if $ARGS[0] = 'pod_objava':
  164. *clr & cla
  165. minut +=1
  166. gs 'stat'
  167. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/pod_ob'+rand(1,2)+'.jpg"></center>'
  168. act 'Continue': gt 'pavComplexb3','etaj_1'
  169. end
  170. --- pavComplexb3 ---------------------------------