HotelRoom.qsrc 11 KB

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