1
0

pav_complexb2.qsrc 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. # pav_complexb2
  2. !SETTINGS:
  3. CLOSE ALL
  4. gs 'themes', 'indoors'
  5. $metka = ''
  6. $loc = 'pav_complexb2'
  7. !elevator does not work
  8. if liftnotwork_day ! daystart: liftnotwork_count = 1
  9. !Apartment Uncle Misha
  10. if mishahouse_day ! daystart: mishahouse_count = 1
  11. !how much money for sex give boys
  12. $rnd_money_sex = ''+rand(50,350)+''
  13. rnd_money_sex = $rnd_money_sex
  14. !================================================================================================!
  15. !FLOORS: ---------------------------Entrance to the town-------------------------------------- FLOORS:!
  16. !================================================================================================!
  17. !housemates
  18. if $ARGS[0] = 'housemates':
  19. menu_off = 1
  20. *clr & cla
  21. minut +=1
  22. gs 'stat'
  23. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/housemates.jpg"></center>'
  24. 'Floor 1 - Apartment number'
  25. 'Floor 2 - Apartment number'
  26. 'Floor 3 - Apartment number'
  27. 'Floor 4 - Apartment number 17: Anushka Konstantinov'
  28. 'Floor 5 - Apartment number'
  29. act 'Leave': gt 'pav_complexb2', 'etaj_1'
  30. end
  31. !!locked in Pavlovsk, floor 1
  32. if $ARGS[0] = 'etaj_1':
  33. $menu_loc = 'pav_complexb2'
  34. $menu_arg = 'etaj_1'
  35. menu_off = 0
  36. CLOSE ALL
  37. if sound = 0:PLAY 'sound/podezd.mp3',30
  38. gs 'stat'
  39. '<center><b><font color = maroon>Ground floor of the apartment building</font></b></center>'
  40. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/podezd2.jpg"></center>'
  41. '<center>A dirty and poorly maintained stairwell, the same as any other in your town.</center>'
  42. 'There''s a <a href="exec: gt ''pav_complexb2'', ''housemates''">list</a> of the people who live here on the wall.'
  43. 'Someone put up some <a href="exec:gt ''pav_complexb2'',''pod_objava''">advertisements</a> on the wall, near the entrance.'
  44. act 'Leave the building': minut += 1 & gt 'pav_complex', 'start'
  45. act 'Go up to the second floor': minut +=1 & gt 'pav_complexb2','etaj_2'
  46. act 'Take the elevator': gt 'pav_complexb2','lift','etaj_1'
  47. end
  48. !floor 2
  49. if $ARGS[0] = 'etaj_2':
  50. $menu_loc = 'pav_complexb2'
  51. $menu_arg = 'etaj_2'
  52. menu_off = 0
  53. gs 'stat'
  54. '<center>2nd floor of the apartment building</center>'
  55. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj2.jpg"></center>'
  56. '<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>'
  57. act 'Go down to the first floor': minut +=1 & gt 'pav_complexb2','etaj_1'
  58. act 'Go up to the third floor': minut +=1 & gt 'pav_complexb2','etaj_3'
  59. act 'Take the elevator': gt 'pav_complexb2','lift','etaj_2'
  60. end
  61. !floor 3
  62. if $ARGS[0] = 'etaj_3':
  63. $menu_loc = 'pav_complexb2'
  64. $menu_arg = 'etaj_3'
  65. menu_off = 0
  66. gs 'stat'
  67. '<center>3rd floor of the apartment building</center>'
  68. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj3.jpg"></center>'
  69. '<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>'
  70. act 'Go down to the second floor': minut +=1 & gt 'pav_complexb2','etaj_2'
  71. act 'Go up to the fourth floor': minut +=1 & gt 'pav_complexb2','etaj_4'
  72. act 'Take the elevator': gt 'pav_complexb2','lift','etaj_3'
  73. end
  74. !floor 4
  75. if $ARGS[0] = 'etaj_4':
  76. $menu_loc = 'pav_complexb2'
  77. $menu_arg = 'etaj_4'
  78. menu_off = 0
  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': minut +=1 & gt 'pav_complexb2','etaj_3'
  84. act 'Go up to the fifth floor': minut +=1 & gt 'pav_complexb2','etaj_5'
  85. if anushkaFirstvisit ! 0:
  86. act 'Apartment 17: Anushka Konstantinov': gt 'anushapt', 'home'
  87. end
  88. act 'Take the elevator': gt 'pav_complexb2','lift','etaj_4'
  89. end
  90. !floor 5
  91. if $ARGS[0] = 'etaj_5':
  92. $menu_loc = 'pav_complexb2'
  93. $menu_arg = 'etaj_5'
  94. menu_off = 0
  95. gs 'stat'
  96. '<center>Floor #5</center>'
  97. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj5.jpg"></center>'
  98. '<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>'
  99. act 'Go down to the fourth floor': minut +=1 & gt 'pav_complexb2','etaj_4'
  100. act 'Go up to the roof': minut +=1 & gt 'pav_complexb2', 'roof'
  101. act 'Take the elevator': gt 'pav_complexb2','lift','etaj_5'
  102. end
  103. !!roof
  104. if $ARGS[0] = 'roof':
  105. $menu_loc = 'pav_complexb2'
  106. $menu_arg = 'roof'
  107. menu_off = 0
  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':
  126. if $clothingworntype = 'swimwear' or $clothingworntype = 'nude':
  127. msg '<center><font color = red>You need to get dressed first</font></center>'
  128. gt 'pav_complexb2','roof'
  129. else
  130. minut += 1
  131. gt 'pav_complexb2','etaj_5'
  132. end
  133. end
  134. if $clothingworntype = 'swimwear' or $clothingworntype = 'nude':
  135. act 'Change back into clothes':
  136. minut += 5
  137. gs 'underwear', 'wear'
  138. gs 'clothing', 'wear_last_worn'
  139. gt 'pav_complexb2','roof'
  140. end
  141. end
  142. if temper >= 15 and hour >= 8 and hour <= 20:
  143. if ARRSIZE('swimwear') > 0 and $clothingworntype ! 'swimwear':
  144. act 'Change into a bikini':gt 'changingroom', 'view_swim_list'
  145. end
  146. if $clothingworntype = 'swimwear':
  147. act 'Sunbathe (1:00)':
  148. cla
  149. *clr
  150. minut += 60
  151. inhib_exp += rand(1,3)
  152. if pcs_sweat < 35: gs 'sweat', 'add', 5
  153. menu_off = 1
  154. pcs_mood += 5
  155. gs 'stat'
  156. '<center><img <<$set_imgh>> src="images/locations/city/residential/apartment/zagar1.jpg"></center>'
  157. if krem = 0:
  158. pcs_tan += 1
  159. 'You lie down to sunbathe.'
  160. elseif krem > 0:
  161. krem -= 1
  162. pcs_tan += 3
  163. 'You put the sunblock on your body and lied down on the roof to sunbathe.'
  164. end
  165. act 'Get Up':gt 'pav_complexb2', 'roof'
  166. end
  167. end
  168. end
  169. end
  170. !================================================================================================!
  171. !ELEVATOR: ------------------------------------------------------------------------------------ ELEVATOR:!
  172. !================================================================================================!
  173. !the lift
  174. if $ARGS[0] = 'lift':
  175. menu_off = 1
  176. *clr & cla
  177. minut +=1
  178. gs 'stat'
  179. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator.jpg"></center>'
  180. '<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 ''pav_complexb2'',''elev_objava''">notification</a> in the elevator.</center>'
  181. act 'Push button: floor 1': gt 'pav_complexb2','etaj_1'
  182. act 'Push button: floor 2': gt 'pav_complexb2','etaj_2'
  183. act 'Push button: floor 3': gt 'pav_complexb2','etaj_3'
  184. act 'Push button: floor 4': gt 'pav_complexb2','etaj_4'
  185. act 'Push button: floor 5': gt 'pav_complexb2','etaj_5'
  186. pod_lift_ev = RAND(0,100)
  187. if pod_lift_ev <=5:
  188. *clr & cla
  189. minut +=1
  190. gs 'stat'
  191. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/elevator'+rand(1,2)+'.jpg"></center>'
  192. '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.'
  193. act 'Leave': gt 'pav_complexb2',$ARGS[1]
  194. elseif pod_lift_ev <=10 or liftnotwork_count <=0:
  195. *clr & cla
  196. minut +=1
  197. liftnotwork_day = daystart
  198. liftnotwork_count -= 1
  199. gs 'stat'
  200. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/liftnotwork.jpg"></center>'
  201. '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!"'
  202. act 'Leave': gt 'pav_complexb2',$ARGS[1]
  203. end
  204. killvar 'pod_lift_ev'
  205. end
  206. !elevator ads
  207. if $ARGS[0] = 'elev_objava':
  208. *clr & cla
  209. minut +=1
  210. gs 'stat'
  211. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator_ob'+rand(1,2)+'.jpg"></center>'
  212. act 'Continue': gt 'pav_complexb2','lift'
  213. end
  214. !locked ads
  215. if $ARGS[0] = 'pod_objava':
  216. *clr & cla
  217. minut +=1
  218. gs 'stat'
  219. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/pod_ob'+rand(1,2)+'.jpg"></center>'
  220. act 'Continue': gt 'pav_complexb2','etaj_1'
  221. end
  222. !!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.
  223. if $ARGS[0] = 'anushkaFirst':
  224. menu_off = 1
  225. '<center><img src="images\pc\npc_headshots\big144.jpg"></center>'
  226. 'As you walk into the building you nearly run into Anushka. "Hey <<$pcs_nickname>> whats up?"'
  227. 'A bit surprised to see her but not disappointed, you were just wandering around for the hell of it. "Just killing time, kinda bored you know?"'
  228. '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?"'
  229. act 'Can''t, got to go.': minut += 1 & gt 'pav_complex', 'start'
  230. act 'Sure': minut += 2 & gt 'anushapt', 'firstvisit'
  231. end
  232. --- pav_complexb2 ---------------------------------