pavComplexb3.qsrc 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. # pavComplexb3
  2. !SETTINGS:
  3. CLOSE ALL
  4. gs 'themes', 'indoors'
  5. $metka = $ARGS[0]
  6. $loc = $CURLOC
  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. $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 1: Rolan Matveev'
  25. 'Floor 2 - Apartment number'
  26. 'Floor 3 - Apartment number'
  27. 'Floor 4 - Apartment number 30: Shared'
  28. 'Floor 5 - Apartment number'
  29. act 'Leave': gt 'pavComplexb3', 'etaj_1'
  30. }
  31. !!locked in Pavlovsk, floor 1
  32. if $ARGS[0] = 'etaj_1':
  33. $menu_loc = 'pavComplexb3'
  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: dynamic $housemates">list</a> of the people who live here on the wall.'
  43. 'Someone put up some <a href="exec:gt ''pavComplexb3'',''pod_objava''">advertisements</a> on the wall, near the entrance.'
  44. act 'Leave the building': minut += 1 & gt 'pavcomplex', 'start'
  45. act 'Go up to the second floor': minut +=1 & gt 'pavComplexb3','etaj_2'
  46. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_1'
  47. !! if rolanblockhome ! 1 and storyline = 1:
  48. !! act 'Apartment 1: Mr. Matveev''s': gt 'rolanapt','home'
  49. !! end
  50. end
  51. !floor 2
  52. if $ARGS[0] = 'etaj_2':
  53. $menu_loc = 'pavComplexb3'
  54. $menu_arg = 'etaj_2'
  55. menu_off = 0
  56. gs 'stat'
  57. '<center>2nd floor of the apartment building</center>'
  58. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj2.jpg"></center>'
  59. '<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>'
  60. act 'Go down to the first floor': minut +=1 & gt 'pavComplexb3','etaj_1'
  61. act 'Go up to the third floor': minut +=1 & gt 'pavComplexb3','etaj_3'
  62. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_2'
  63. end
  64. !floor 3
  65. if $ARGS[0] = 'etaj_3':
  66. $menu_loc = 'pavComplexb3'
  67. $menu_arg = 'etaj_3'
  68. menu_off = 0
  69. gs 'stat'
  70. '<center>3rd floor of the apartment building</center>'
  71. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj3.jpg"></center>'
  72. '<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>'
  73. act 'Go down to the second floor': minut +=1 & gt 'pavComplexb3','etaj_2'
  74. act 'Go up to the fourth floor': minut +=1 & gt 'pavComplexb3','etaj_4'
  75. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_3'
  76. end
  77. !floor 4
  78. if $ARGS[0] = 'etaj_4':
  79. $menu_loc = 'pavComplexb3'
  80. $menu_arg = 'etaj_4'
  81. menu_off = 0
  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. act 'Go down to the third floor': minut +=1 & gt 'pavComplexb3','etaj_3'
  87. act 'Go up to the fifth floor': minut +=1 & gt 'pavComplexb3','etaj_5'
  88. if seenAd = 0:
  89. gt 'pavSharedApt', 'advertNo30'
  90. else
  91. act 'Apartment 30: Shared apartment': gt 'pavSharedApt', 'doorNo30'
  92. end
  93. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_4'
  94. end
  95. !floor 5
  96. if $ARGS[0] = 'etaj_5':
  97. $menu_loc = 'pavComplexb3'
  98. $menu_arg = 'etaj_5'
  99. menu_off = 0
  100. gs 'stat'
  101. '<center>Floor #5</center>'
  102. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/etaj5.jpg"></center>'
  103. '<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>'
  104. act 'Go down to the fourth floor': minut +=1 & gt 'pavComplexb3','etaj_4'
  105. act 'Go up to the roof': minut +=1 & gt 'pavComplexb3', 'roof'
  106. act 'Take the elevator': gt 'pavComplexb3','lift','etaj_5'
  107. end
  108. !!roof
  109. if $ARGS[0] = 'roof':
  110. $menu_loc = 'pavComplexb3'
  111. $menu_arg = 'roof'
  112. menu_off = 0
  113. minut +=1
  114. gs 'stat'
  115. '<center>Roof</center>'
  116. if month >= 11 or month <= 3:
  117. !!if hour >= 8 and hour <= 21:
  118. !!'<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  119. !!else
  120. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofw.jpg"></center>'
  121. !!end
  122. else
  123. if hour >= 8 and hour <= 21:
  124. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roof.jpg"></center>'
  125. else
  126. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/roof/roofn.jpg"></center>'
  127. end
  128. end
  129. '<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>'
  130. act 'Go down to the fifth floor':
  131. if $clothingworntype = 'swimwear' or $clothingworntype = 'nude':
  132. msg '<center><font color = red>You need to get dressed first</font></center>'
  133. gt 'pavComplexb3','roof'
  134. else
  135. minut += 1
  136. gt 'pavComplexb3','etaj_5'
  137. end
  138. end
  139. if $clothingworntype = 'swimwear' or $clothingworntype = 'nude':
  140. act 'Change back into clothes':
  141. minut += 5
  142. gs 'underwear', 'wear'
  143. gs 'clothing', 'wear_last_worn'
  144. gt 'pavComplexb3','roof'
  145. end
  146. end
  147. if temper >= 15 and hour >= 8 and hour <= 20:
  148. if ARRSIZE('swimwear') > 0 and $clothingworntype ! 'swimwear':
  149. act 'Change into a bikini':gt 'changingroom', 'view_swim_list'
  150. end
  151. if $clothingworntype = 'swimwear':
  152. act 'Sunbathe (1:00)':
  153. cla
  154. *clr
  155. menu_off = 1
  156. minut += 60
  157. inhib_exp += rand(1,3)
  158. if pcs_sweat < 35: pcs_sweat += 5
  159. pcs_mood += 5
  160. gs 'stat'
  161. '<center><img <<$set_imgh>> src="images/locations/city/residential/apartment/zagar1.jpg"></center>'
  162. if krem = 0:
  163. pcs_tan += 1
  164. 'You lie down to sunbathe.'
  165. elseif krem > 0:
  166. krem -= 1
  167. pcs_tan += 3
  168. 'You put the sunblock on your body and lied down on the roof to sunbathe.'
  169. end
  170. act 'Get Up':gt 'pavComplexb3', 'roof'
  171. end
  172. end
  173. end
  174. end
  175. !================================================================================================!
  176. !ELEVATOR: ------------------------------------------------------------------------------------ ELEVATOR:!
  177. !================================================================================================!
  178. !the lift
  179. if $ARGS[0] = 'lift':
  180. menu_off = 1
  181. *clr & cla
  182. minut +=1
  183. gs 'stat'
  184. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator.jpg"></center>'
  185. '<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>'
  186. act 'Push button: floor 1': gt 'pavComplexb3','etaj_1'
  187. act 'Push button: floor 2': gt 'pavComplexb3','etaj_2'
  188. act 'Push button: floor 3': gt 'pavComplexb3','etaj_3'
  189. act 'Push button: floor 4': gt 'pavComplexb3','etaj_4'
  190. act 'Push button: floor 5': gt 'pavComplexb3','etaj_5'
  191. pod_lift_ev = RAND(0,100)
  192. if pod_lift_ev <=5:
  193. *clr & cla
  194. minut +=1
  195. gs 'stat'
  196. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/event/elevator'+rand(1,2)+'.jpg"></center>'
  197. '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.'
  198. act 'Leave': gt 'pavComplexb3',$ARGS[1]
  199. elseif pod_lift_ev <=10 or liftnotwork_count <=0:
  200. *clr & cla
  201. minut +=1
  202. liftnotwork_day = daystart
  203. liftnotwork_count -= 1
  204. gs 'stat'
  205. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/liftnotwork.jpg"></center>'
  206. '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!"'
  207. act 'Leave': gt 'pavComplexb3',$ARGS[1]
  208. end
  209. killvar 'pod_lift_ev'
  210. end
  211. !elevator ads
  212. if $ARGS[0] = 'elev_objava':
  213. *clr & cla
  214. minut +=1
  215. gs 'stat'
  216. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/elevator_ob'+rand(1,2)+'.jpg"></center>'
  217. act 'Continue': gt 'pavComplexb3','lift'
  218. end
  219. !locked ads
  220. if $ARGS[0] = 'pod_objava':
  221. menu_off = 1
  222. *clr & cla
  223. minut +=1
  224. gs 'stat'
  225. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/resident/apartment/stairs/pod_ob'+rand(1,2)+'.jpg"></center>'
  226. act 'Continue': gt 'pavComplexb3','etaj_1'
  227. end
  228. --- pavComplexb3 ---------------------------------