HotelRoom.qsrc 11 KB

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