3
0

pav_complexb3.tw 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. :: pav_complexb3
  2. <<set $here = 'pav_complexb3'>>
  3. <<set $ARGS = $location_var[$here]>>
  4. <!-- !SETTINGS:-->
  5. <<set $loc_arg = $location_var[$here][0]>>
  6. <<set $loc = 'pav_complexb3'>>
  7. <!-- !elevator does not work-->
  8. <<if $liftnotwork_day != $time.daystart>>
  9. <<set $liftnotwork_count = 1>>
  10. <</if>>
  11. <!-- !Apartment Uncle Misha-->
  12. <<if $mishahouse_day != $time.daystart>>
  13. <<set $mishahouse_count = 1>>
  14. <</if>>
  15. <!-- !how much money for sex give boys-->
  16. <<set $rnd_money_sex = '+rand(50,350)+'>>
  17. <<set $rnd_money_sex = $rnd_money_sex>>
  18. <!-- !================================================================================================!-->
  19. <!-- !FLOORS: ---------------------------Entrance to the town-------------------------------------- FLOORS:!-->
  20. <!-- !================================================================================================!-->
  21. <!-- !housemates-->
  22. <!-- !!locked in Pavlovsk, floor 1-->
  23. <<if $location_var[$here][0] == 'etaj_1'>>
  24. <<set $menu_loc = 'pav_complexb3'>>
  25. <<set $menu_arg = 'etaj_1'>>
  26. <<set $menu_off = 0>>
  27. <<if getvar("$sound") == 0>>
  28. <</if>>
  29. <h2>Ground floor of the apartment building</h2>
  30. <<image "locations/pavlovsk/resident/apartment/podezd2.jpg">>
  31. <center>A dirty and poorly maintained stairwell, the same as any other in your town.</center>
  32. <!-- FAILED TO CONVERT
  33. 'There''s a <a href="exec: dynamic $housemates">list</a> of the people who live here on the wall.'
  34. -----
  35. <<set ERROR: FAILED TO CONVERT LITERAL: """'There''s a <a href""" = ERROR: FAILED TO CONVERT LITERAL: """"exec: dynamic $housemates">list<""" / ERROR: FAILED TO CONVERT LITERAL: """a> of the people who live here on the wall.'""">>
  36. -->
  37. <<warn "CONVERSION ERROR f20a560c8ec902fb019273d67dc66584">>
  38. Someone put up some <<link "advertisements">><<gt 'pav_complexb3' 'pod_objava'>><</link>> on the wall near the entrance.
  39. <<actCLA 'Leave the building'>>
  40. <<set $time.minutes += 1>> <<gt 'pav_complex' 'start'>>
  41. <</actCLA>>
  42. <<actCLA 'Go up to the second floor'>>
  43. <<set $time.minutes += 1>> <<gt 'pav_complexb3' 'etaj_2'>>
  44. <</actCLA>>
  45. <<act 'Take the elevator'>>
  46. <<gt 'pav_complexb3' 'lift' 'etaj_1'>>
  47. <</act>>
  48. <!-- !! if rolanblockhome ! 1 and mid($start_type,1,2) = 'sg':-->
  49. <!-- !! act 'Apartment 1: Mr. Matveev''s': gt 'rolanapt','home'-->
  50. <!-- !! end-->
  51. <</if>>
  52. <!-- !floor 2-->
  53. <<if $location_var[$here][0] == 'etaj_2'>>
  54. <<set $menu_loc = 'pav_complexb3'>>
  55. <<set $menu_arg = 'etaj_2'>>
  56. <<set $menu_off = 0>>
  57. <center>2nd floor of the apartment building</center>
  58. <<image "locations/pavlovsk/resident/apartment/stairs/etaj2.jpg">>
  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. <<actCLA 'Go down to the first floor'>>
  61. <<set $time.minutes += 1>> <<gt 'pav_complexb3' 'etaj_1'>>
  62. <</actCLA>>
  63. <<actCLA 'Go up to the third floor'>>
  64. <<set $time.minutes += 1>> <<gt 'pav_complexb3' 'etaj_3'>>
  65. <</actCLA>>
  66. <<act 'Take the elevator'>>
  67. <<gt 'pav_complexb3' 'lift' 'etaj_2'>>
  68. <</act>>
  69. <</if>>
  70. <!-- !floor 3-->
  71. <<if $location_var[$here][0] == 'etaj_3'>>
  72. <<set $menu_loc = 'pav_complexb3'>>
  73. <<set $menu_arg = 'etaj_3'>>
  74. <<set $menu_off = 0>>
  75. <center>3rd floor of the apartment building</center>
  76. <<image "locations/pavlovsk/resident/apartment/stairs/etaj3.jpg">>
  77. <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>
  78. <<actCLA 'Go down to the second floor'>>
  79. <<set $time.minutes += 1>> <<gt 'pav_complexb3' 'etaj_2'>>
  80. <</actCLA>>
  81. <<actCLA 'Go up to the fourth floor'>>
  82. <<set $time.minutes += 1>> <<gt 'pav_complexb3' 'etaj_4'>>
  83. <</actCLA>>
  84. <<act 'Take the elevator'>>
  85. <<gt 'pav_complexb3' 'lift' 'etaj_3'>>
  86. <</act>>
  87. <</if>>
  88. <!-- !floor 4-->
  89. <<if $location_var[$here][0] == 'etaj_4'>>
  90. <<set $menu_loc = 'pav_complexb3'>>
  91. <<set $menu_arg = 'etaj_4'>>
  92. <<set $menu_off = 0>>
  93. <center>4th floor of the apartment building</center>
  94. <<image "locations/pavlovsk/resident/apartment/stairs/etaj4.jpg">>
  95. <center>The fourth floor stairwell was renovated not long ago, but some hoodlums have already sprayed graffiti on the walls.</center>
  96. <<actCLA 'Go down to the third floor'>>
  97. <<set $time.minutes += 1>> <<gt 'pav_complexb3' 'etaj_3'>>
  98. <</actCLA>>
  99. <<actCLA 'Go up to the fifth floor'>>
  100. <<set $time.minutes += 1>> <<gt 'pav_complexb3' 'etaj_5'>>
  101. <</actCLA>>
  102. <<if getvar("$seenAd") == 0>>
  103. <<gt 'pav_shared_apt_advertNo30'>>
  104. <<else>>
  105. <<act 'Apartment 30: Shared apartment'>>
  106. <<gt 'pav_shared_apt' 'doorNo30'>>
  107. <</act>>
  108. <</if>>
  109. <<act 'Take the elevator'>>
  110. <<gt 'pav_complexb3' 'lift' 'etaj_4'>>
  111. <</act>>
  112. <</if>>
  113. <!-- !floor 5-->
  114. <<if $location_var[$here][0] == 'etaj_5'>>
  115. <<set $menu_loc = 'pav_complexb3'>>
  116. <<set $menu_arg = 'etaj_5'>>
  117. <<set $menu_off = 0>>
  118. <center>Floor #5</center>
  119. <<image "locations/pavlovsk/resident/apartment/stairs/etaj5.jpg">>
  120. <center>The fifth floor stairwell looks like most of the other floors, but it has a final set of stairs at the other end of the hall that go up to the roof.</center>
  121. <<actCLA 'Go down to the fourth floor'>>
  122. <<set $time.minutes += 1>> <<gt 'pav_complexb3' 'etaj_4'>>
  123. <</actCLA>>
  124. <<actCLA 'Go up to the roof'>>
  125. <<set $time.minutes += 1>> <<gt 'pav_complexb3' 'roof'>>
  126. <</actCLA>>
  127. <<act 'Take the elevator'>>
  128. <<gt 'pav_complexb3' 'lift' 'etaj_5'>>
  129. <</act>>
  130. <</if>>
  131. <!-- !!roof-->
  132. <<if $location_var[$here][0] == 'roof'>>
  133. <<set $menu_loc = 'pav_complexb3'>>
  134. <<set $menu_arg = 'roof'>>
  135. <<set $locclass to null>>
  136. <<set $menu_off = 0>>
  137. <<set $time.minutes += 1>>
  138. <center>Roof</center>
  139. <<if $time.isWinter>>
  140. <!-- !!if hour >= 8 and hour <= 21:-->
  141. <!-- !!'<<image 'locations/pavlovsk/resident/apartment/roof/roofw.jpg'>>'-->
  142. <!-- !!else-->
  143. <<image "locations/pavlovsk/resident/apartment/roof/roofw.jpg">>
  144. <!-- !!end-->
  145. <<else>>
  146. <<if $time.hour >= 8 and $time.hour <= 21>>
  147. <<image "locations/pavlovsk/resident/apartment/roof/roof.jpg">>
  148. <<else>>
  149. <<image "locations/pavlovsk/resident/apartment/roof/roofn.jpg">>
  150. <</if>>
  151. <</if>>
  152. <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>
  153. <<actCLA 'Go down to the fifth floor'>>
  154. <<if $wardrobe.isWearingSwimwear or $wardrobe.clothingworntype == 'nude'>>
  155. <<msg '<center><font color = red>You need to get dressed first</font></center>'>>
  156. <<gt 'pav_complexb3' 'roof'>>
  157. <<else>>
  158. <<set $time.minutes += 1>>
  159. <<gt 'pav_complexb3' 'etaj_5'>>
  160. <</if>>
  161. <</actCLA>>
  162. <<if $wardrobe.isWearingSwimwear or $wardrobe.clothingworntype == 'nude'>>
  163. <<actCLA 'Change back into your clothes'>>
  164. <<set $time.minutes += 5>>
  165. <<run $wardrobe.wear_clothes_legacy('clothes',$lastwornclothingtype['swim'],$lastwornclothingnumber['swim'])>>
  166. <<run $wardrobe.wear(['panties',$lastwornpantytype['swim'],$lastwornpantynumber['swim']])>>
  167. <<run $wardrobe.wear(['bra',$lastwornbratype['swim'],$lastwornbranumber['swim']])>>
  168. <<gt 'pav_complexb3' 'roof'>>
  169. <</actCLA>>
  170. <</if>>
  171. <<if $weather.temperature >= 15 and $time.hour >= 8 and $time.hour <= 20>>
  172. <<if $wardrobe.ownsSwimmingItem and !$wardrobe.isWearingSwimwear>>
  173. <<act 'Change into a bikini'>>
  174. <<gt 'changingroom' 'view_swim_list'>>
  175. <</act>>
  176. <</if>>
  177. <<if $wardrobe.PCloswimwear == 1>>
  178. <<actCLA 'Sunbathe (1:00)'>>
  179. <<set $menu_off = 1>>
  180. <<set $time.minutes += 60>>
  181. <<run $pc.skillExperienceGain('inhibition',rand(1,3))>>
  182. <<if $pc.pcs_sweat < 35>>
  183. <<run $pc.sweatAdd(5)>>
  184. <</if>>
  185. <<set $pc.mood += 5>>
  186. <<image "locations/city/residential/apartment/zagar1.jpg">>
  187. <<if $inventory.get("sunblock") == 0>>
  188. <<set $pc.tan += 1>>
  189. You lie down to sunbathe.
  190. <<elseif $inventory.get("sunblock") > 0>>
  191. <<run $inventory.dec('sunblock',1)>>
  192. <<set $pc.tan += 3>>
  193. You put the sunblock on your body and lie down on the roof to sunbathe.
  194. <</if>>
  195. <<act 'Get Up'>>
  196. <<gt 'pav_complexb3' 'roof'>>
  197. <</act>>
  198. <</actCLA>>
  199. <</if>>
  200. <</if>>
  201. <</if>>
  202. <!-- !================================================================================================!-->
  203. <!-- !ELEVATOR: ------------------------------------------------------------------------------------ ELEVATOR:!-->
  204. <!-- !================================================================================================!-->
  205. <!-- !the lift-->
  206. <<if $location_var[$here][0] == 'lift'>>
  207. <<set $menu_off = 1>>
  208. <<set $time.minutes += 1>>
  209. <<image "locations/pavlovsk/resident/apartment/stairs/elevator.jpg">>
  210. <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 <<link "notification">><<gt 'pav_complexb3' 'elev_objava' $location_var[$here][1]>><</link>> in the elevator.</center>
  211. <<act 'Push button: Floor 1'>>
  212. <<gt 'pav_complexb3' 'etaj_1'>>
  213. <</act>>
  214. <<act 'Push button: Floor 2'>>
  215. <<gt 'pav_complexb3' 'etaj_2'>>
  216. <</act>>
  217. <<act 'Push button: Floor 3'>>
  218. <<gt 'pav_complexb3' 'etaj_3'>>
  219. <</act>>
  220. <<act 'Push button: Floor 4'>>
  221. <<gt 'pav_complexb3' 'etaj_4'>>
  222. <</act>>
  223. <<act 'Push button: Floor 5'>>
  224. <<gt 'pav_complexb3' 'etaj_5'>>
  225. <</act>>
  226. <<set $pod_lift_ev = RAND(0,100)>>
  227. <<if getvar("$pod_lift_ev") <= 5>>
  228. <<set $time.minutes += 1>>
  229. <<image "locations/pavlovsk/resident/apartment/stairs/event/elevator#.jpg" 1 2>>
  230. When the elevator door opens, you are surprised to 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 has already closed, and the elevator is moving away from you.
  231. <<actCLA 'Leave'>>
  232. <<gt 'pav_complexb3' $location_var[$here][1]>>
  233. <</actCLA>>
  234. <<elseif getvar("$pod_lift_ev") <= 10 or getvar("$liftnotwork_count") <= 0>>
  235. <<set $time.minutes += 1>>
  236. <<set $liftnotwork_day = $time.daystart>>
  237. <<set $liftnotwork_count -= 1>>
  238. <<image "locations/pavlovsk/resident/apartment/stairs/liftnotwork.jpg">>
  239. <p>The building supervisor has 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!"</p>
  240. <<actCLA 'Leave'>>
  241. <<gt 'pav_complexb3' $location_var[$here][1]>>
  242. <</actCLA>>
  243. <</if>>
  244. <<set $pod_lift_ev to null>>
  245. <</if>>
  246. <!-- !elevator ads-->
  247. <<if $location_var[$here][0] == 'elev_objava'>>
  248. <<set $time.minutes += 1>>
  249. <<image "locations/pavlovsk/resident/apartment/stairs/elevator_ob#.jpg" 1 2>>
  250. <<actCLA 'Continue'>>
  251. <<gt 'pav_complexb3' 'lift' $location_var[$here][1]>>
  252. <</actCLA>>
  253. <</if>>
  254. <!-- !locked ads-->
  255. <<if $location_var[$here][0] == 'pod_objava'>>
  256. <<set $menu_off = 1>>
  257. <<set $time.minutes += 1>>
  258. <<image "locations/pavlovsk/resident/apartment/stairs/pod_ob#.jpg" 1 2>>
  259. <<act 'Continue'>>
  260. <<gt 'pav_complexb3' 'etaj_1'>>
  261. <</act>>
  262. <</if>>
  263. :: housemates_macro[widget]
  264. <<widget 'housemates'>>
  265. <<set $menu_off = 1>>
  266. <<set $time.minutes += 1>>
  267. <<image "locations/pavlovsk/resident/apartment/stairs/housemates.jpg">>
  268. <p>Floor 1 - Apartment number 1: Rolan Matveev</p>
  269. <p>Floor 2 - Apartment number</p>
  270. <p>Floor 3 - Apartment number</p>
  271. <p>Floor 4 - Apartment number 30: Shared</p>
  272. <p>Floor 5 - Apartment number</p>
  273. <<act 'Leave'>>
  274. <<gt 'pav_complexb3' 'etaj_1'>>
  275. <</act>>
  276. <</widget>>