HotelRoom.qsrc 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285
  1. # HotelRoom
  2. CLOSE ALL
  3. if $ARGS[0] = 'normal':
  4. *clr & cla
  5. $locM_arg = 'normal'
  6. $locM = 'HotelRoom'
  7. $loc_arg = 'normal'
  8. $loc = 'HotelRoom'
  9. $prevloc = $loc
  10. $location_type = 'private'
  11. $menu_loc = 'HotelRoom'
  12. $menu_arg = 'normal'
  13. menu_off = 0
  14. hotelWiFi = 1
  15. gs 'themes', 'indoors'
  16. gs 'stat'
  17. gs 'internet_mobile', 'get_access', 'free'
  18. gs 'music_actions', 'clear_restrictions'
  19. '<center><b><font color = maroon>Your normal hotel room</font></b></center>'
  20. '<center>You have paid to stay for <<hotelRoomDays[$hotel] - daystart>> more nights in the room.</center>'
  21. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/hotel/hotel.room.normal.jpg"></center>'
  22. 'Your hotel room is not very large, but it has everything you need and is quite stylish. The large <a href="exec:gt ''bed2''">double bed</a> takes up most of the room. A modern <a href="exec:gt ''wardrobe'', ''start''">wardrobe</a> (where you can choose outfits and organize your clothing) stands near the entrance of the room. Next to the door, you can find a <a href="exec:gt ''mirror'',''start''">mirror</a>. The door to the <a href="exec:gt ''hotelroom'',''shower1''">bathroom</a> is to the right.'
  23. 'Your hotel room also has a <a href="exec:gt ''HotelRoom'',''tv''">TV</a>'+iif(mc_inventory['tech_computer'] = 1, ' and your <a href="exec: gt ''Komp'',''start''">computer</a> is on the desk. The hotel offers all guests free Wi-Fi.', '.')
  24. if $ml_guitar['location'] = $loc: 'Your guitar rests on its stand next to your bed.'
  25. gs 'music_actions', 'start'
  26. *nl
  27. act'Go to the hotel lobby':
  28. if $clothingworntype ! 'nude':
  29. hotelWiFi = 0
  30. gt $hotel
  31. killvar '$hotel'
  32. else
  33. msg'<b><font color = red>You need to get dressed before leaving your hotel room.</font></b>'
  34. gt'HotelRoom','normal'
  35. end
  36. end
  37. if hotelRoom[$hotel] ! 0:
  38. if money >= 100:act'Order room service (0:30) (100 <b>₽</b>)':gs 'food', 'h_food'
  39. act 'Drink some water (0:01)': gs 'beverage', 'bev_wat'
  40. if $hotel = 'pav_hotel': gs 'prostitution_functions', 'prostitute_outfit_at_home'
  41. gs 'wardrobe', 'default_clothing_options'
  42. dynamic $fatdel
  43. dynamic $lekarstvo
  44. dynamic $vitamin
  45. end
  46. end
  47. if $ARGS[0] = 'better':
  48. *clr & cla
  49. $locM_arg = 'better'
  50. $locM = 'HotelRoom'
  51. $loc_arg = 'better'
  52. $loc = 'HotelRoom'
  53. $prevloc = $loc
  54. $menu_loc = 'HotelRoom'
  55. $menu_arg = 'better'
  56. menu_off = 0
  57. hotelWiFi = 1
  58. $location_type = 'private'
  59. gs 'themes', 'indoors'
  60. gs 'stat'
  61. gs 'internet_mobile', 'get_access', 'free'
  62. gs 'music_actions', 'clear_restrictions'
  63. '<center><b><font color = maroon>Your luxury room</font></b></center>'
  64. '<center>You have paid to stay for <<hotelRoomDays[$hotel] - daystart>> more nights in the room.</center>'
  65. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/hotel/hotel.room.better.jpg"></center>'
  66. 'Your hotel room is not very large, but it has everything you need and is quite stylish. The large <a href="exec:gt ''bed2''">double bed</a> takes up most of the room. A modern <a href="exec:gt ''wardrobe'', ''start''">wardrobe</a> (where you can choose outfits and organize your clothing) stands near the entrance of the room. Next to the door, you can find a <a href="exec:gt ''mirror'',''start''">mirror</a>. The door to the <a href="exec:gt ''hotelroom'',''shower1''">bathroom</a> is to the right.'
  67. 'Your hotel room also has a small flat-screen <a href="exec:gt ''HotelRoom'',''tv''">TV</a>'+iif(mc_inventory['tech_computer'] = 1, ' and your <a href="exec: gt ''Komp'',''start''">computer</a> is on the desk. The hotel offers all guests free Wi-Fi.', '.')
  68. if $ml_guitar['location'] = $loc: 'Your guitar rests on its stand next to your bed.'
  69. gs 'music_actions', 'start'
  70. act'Go to the hotel lobby':
  71. if $clothingworntype ! 'nude':
  72. hotelWiFi = 0
  73. gt $hotel
  74. killvar '$hotel'
  75. else
  76. msg'<b><font color = red>You need to get dressed before leaving your hotel room.</font></b>'
  77. gt'HotelRoom','better'
  78. end
  79. end
  80. if hotelRoom[$hotel] ! 0:
  81. if money >= 100:act'Order room service (0:30) (100 <b>₽</b>)':gs 'food', 'h_food'
  82. act 'Drink some water (0:01)': gs 'beverage', 'bev_wat'
  83. act 'Have a coffee (0:05)': gs 'beverage', 'bev_cof'
  84. if $hotel = 'pav_hotel': gs 'prostitution_functions', 'prostitute_outfit_at_home'
  85. dynamic $fatdel
  86. dynamic $lekarstvo
  87. dynamic $vitamin
  88. end
  89. end
  90. if $ARGS[0] = 'best':
  91. *clr & cla
  92. $locM_arg = 'best'
  93. $locM = 'HotelRoom'
  94. $loc_arg = 'best'
  95. $loc = 'HotelRoom'
  96. $prevloc = $loc
  97. $menu_loc = 'HotelRoom'
  98. $menu_arg = 'best'
  99. menu_off = 0
  100. hotelWiFi = 1
  101. $location_type = 'private'
  102. gs 'themes', 'indoors'
  103. gs 'stat'
  104. gs 'internet_mobile', 'get_access', 'free'
  105. gs 'music_actions', 'clear_restrictions'
  106. '<center><b><font color = maroon>Your royal suite</font></b></center>'
  107. '<center>You have paid to stay for <<hotelRoomDays[$hotel] - daystart>> more nights in the room.</center>'
  108. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/hotel/hotel.room.best.jpg"></center>'
  109. 'Your hotel room is quite spacious, and is beautifully furnished. For a second, you wonder why a hotel in a town like Pavlovsk even has such a luxurious suite. The room is filled with expensive appliances. The gorgeous <a href="exec:gt ''bed2''">double bed</a> takes up most of the room. A modern <a href="exec:gt ''wardrobe'', ''start''">wardrobe</a> (where you can choose outfits and organize your clothing) stands near the entrance of the room. Next to the door, you can find a <a href="exec:gt ''mirror'',''start''">mirror</a>. The door to the <a href="exec:gt ''hotelroom'',''shower1''">bathroom</a> is to the right.'
  110. 'Your hotel room also has a huge flat-screen <a href="exec:gt ''HotelRoom'',''tv''">TV</a>'+iif(mc_inventory['tech_computer'] = 1, ' and your <a href="exec: gt ''Komp'',''start''">computer</a> is on the desk. The hotel offers all guests free Wi-Fi.', '.')
  111. if $ml_guitar['location'] = $loc: 'Your guitar rests on its stand next to your bed.'
  112. gs 'music_actions', 'start'
  113. act'Go to the hotel lobby':
  114. if $clothingworntype ! 'nude':
  115. hotelWiFi = 0
  116. gt $hotel
  117. killvar '$hotel'
  118. else
  119. msg'<b><font color = red>You need to get dressed before leaving your hotel room.</font></b>'
  120. gt'HotelRoom','best'
  121. end
  122. end
  123. if hotelRoom[$hotel] ! 0:
  124. if money >= 100:act'Order room service (0:30) (100 <b>₽</b>)':gs 'food', 'h_food'
  125. act 'Drink some water (0:01)': gs 'beverage', 'bev_wat'
  126. act 'Have a coffee (0:05)': gs 'beverage', 'bev_cof'
  127. act 'Make some tea (0:05)': gs 'beverage', 'bev_tea'
  128. if $hotel = 'pav_hotel': gs 'prostitution_functions', 'prostitute_outfit_at_home'
  129. dynamic $fatdel
  130. dynamic $lekarstvo
  131. dynamic $vitamin
  132. end
  133. end
  134. if $ARGS[0] = 'therapist':
  135. *clr & cla
  136. $hotel = 'pav_hotel'
  137. $locM_arg = 'therapist'
  138. $locM = 'HotelRoom'
  139. $loc_arg = 'therapist'
  140. $loc = 'HotelRoom'
  141. $prevloc = $loc
  142. $menu_loc = 'HotelRoom'
  143. $menu_arg = 'therapist'
  144. menu_off = 0
  145. hotelWiFi = 1
  146. $location_type = 'private'
  147. gs 'themes', 'indoors'
  148. gs 'stat'
  149. gs 'internet_mobile', 'get_access', 'free'
  150. gs 'music_actions', 'clear_restrictions'
  151. '<center><b><font color = maroon>Your husband''s hotel room</font></b></center>'
  152. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/resident/therapist/room.jpg"></center>'
  153. 'Your hotel room is not very large, but it has everything you need and is quite stylish. The large <a href="exec:gt ''bed2''">double bed</a> takes up most of the room. A modern <a href="exec:gt ''wardrobe'', ''start''">wardrobe</a> (where you can choose outfits and organize your clothing) stands near the entrance of the room. Next to the door, you can find a <a href="exec:gt ''mirror'',''start''">mirror</a>. The door to the <a href="exec:gt ''hotelroom'',''shower1''">bathroom</a> is to the right.'
  154. 'Your hotel room also has a small flat-screen <a href="exec:gt ''HotelRoom'',''tv''">TV</a>'+iif(mc_inventory['tech_computer'] = 1, ' and your <a href="exec: gt ''Komp'',''start''">computer</a> is on the desk. The hotel offers all guests free Wi-Fi.', '.')
  155. if $ml_guitar['location'] = $loc: 'Your guitar rests on its stand next to your bed.'
  156. gs 'music_actions', 'start'
  157. act'Go to the hotel lobby':
  158. if $clothingworntype ! 'nude':
  159. hotelWiFi = 0
  160. gt 'pav_hotel'
  161. killvar '$hotel'
  162. else
  163. msg'<b><font color = red>You need to get dressed before leaving your hotel room.</font></b>'
  164. gt 'HotelRoom', 'therapist'
  165. end
  166. end
  167. if hotelRoom[$hotel] ! 0:
  168. if money >= 100: act'Order room service (0:30) (100 <b>₽</b>)': gs 'food', 'h_food'
  169. act 'Drink some water (0:01)': gs 'beverage', 'bev_wat'
  170. act 'Have a coffee (0:05)': gs 'beverage', 'bev_cof'
  171. dynamic $fatdel
  172. dynamic $lekarstvo
  173. dynamic $vitamin
  174. end
  175. end
  176. if $ARGS[0] = 'shower1':
  177. *clr & cla
  178. minut += 1
  179. hotelmc_inventory['shampoo'] = 1
  180. $locM_arg = 'shower1'
  181. $locM = 'HotelRoom'
  182. $loc_arg = 'shower1'
  183. $loc = 'HotelRoom'
  184. $location_type = 'bathroom'
  185. gs 'themes', 'indoors'
  186. gs'stat'
  187. '<center><b><font color = maroon>The bathroom of your hotel room</font></b></center>'
  188. if hotelRoom[$hotel] = 1:
  189. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/hotel/hotel.room.normal1.jpg"></center>'&'A small and unpretentious bathroom, that is nevertheless quite stylish and has everything you need.'
  190. elseif hotelRoom[$hotel] = 2 or therapistQW['hotel_key'] = 3:
  191. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/hotel/hotel.room.better1.jpg"></center>'&'A nice looking and spacious bathroom, with separate bath tub.'
  192. elseif hotelRoom[$hotel] = 3:
  193. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/hotel/hotel.room.best1.jpg"></center>'&'A very luxurious and spacious bathroom, fit for a king.'
  194. end
  195. if hotelRoom[$hotel] = 0 and therapistQW['hotel_key'] ! 3:
  196. act 'Return to lobby (It is past checkout time)':
  197. hotelWiFi = 0
  198. gt $hotel
  199. killvar '$hotel'
  200. end
  201. else
  202. act 'Return to your room':
  203. hotelmc_inventory['shampoo'] = 0
  204. if hotelRoom[$hotel] = 1:
  205. gt 'HotelRoom', 'normal'
  206. elseif hotelRoom[$hotel] = 2:
  207. gt 'HotelRoom', 'better'
  208. elseif hotelRoom[$hotel] = 3:
  209. gt 'HotelRoom', 'best'
  210. elseif therapistQW['hotel_key'] = 3:
  211. gt 'HotelRoom', 'therapist'
  212. end
  213. end
  214. end
  215. gs 'din_van', 'private', 'hotelroom', iif(hotelRoom[$hotel] = 1, '', 'bath')
  216. end
  217. if $ARGS[0] = 'tv':
  218. *clr & cla
  219. gs'stat'
  220. if therapistQW['hotel_key'] = 3:
  221. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/hotel/tv2.jpg"></center>'
  222. else
  223. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/hotel/tv<<hotelroom>>.jpg"></center>'
  224. end
  225. 'You turn on the TV and make yourself comfortable on the bed.'
  226. if hotelRoom[$hotel] = 0 and therapistQW['hotel_key'] ! 3:
  227. act 'Return to lobby (It is past checkout time)':
  228. hotelWiFi = 0
  229. gt $hotel
  230. killvar '$hotel'
  231. end
  232. else
  233. act 'Get up from the bed': gt $loc, $loc_arg
  234. act 'Watch TV (1:00)': gt 'hotelroom', 'watch_tv'
  235. end
  236. end
  237. if $ARGS[0] = 'watch_tv':
  238. *clr & cla
  239. minut += 60
  240. pcs_mood += rand(10,20)
  241. gs'stat'
  242. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/hotel/tv0,'+rand(0,4)+'.jpg"></center>'
  243. 'You are watching the country''s main television channel. None of their programs are really worth watching, but the distraction is welcome anyway.'
  244. if hotelRoom[$hotel] = 0 and therapistQW['hotel_key'] ! 3:
  245. act 'Return to lobby (It is past checkout time)':
  246. hotelWiFi = 0
  247. gt $hotel
  248. killvar '$hotel'
  249. end
  250. else
  251. act 'Get up from the bed': gt $loc, $loc_arg
  252. act 'Watch TV (1:00)': gt 'hotelroom', 'watch_tv'
  253. end
  254. end
  255. --- HotelRoom ---------------------------------