HotelRoom.qsrc 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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(komp = 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(komp = 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(komp = 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] = 'shower1':
  131. *clr & cla
  132. minut += 1
  133. hotelmc_inventory['shampoo'] = 1
  134. $locM_arg = 'shower1'
  135. $locM = 'HotelRoom'
  136. $loc_arg = 'shower1'
  137. $loc = 'HotelRoom'
  138. $location_type = 'bathroom'
  139. gs 'themes', 'indoors'
  140. gs'stat'
  141. '<center><b><font color = maroon>The bathroom of your hotel room</font></b></center>'
  142. if hotelRoom[$hotel] = 1:
  143. '<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.'
  144. elseif hotelRoom[$hotel] = 2:
  145. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/hotel/hotel.room.better1.jpg"></center>'&'A nice looking and spacious bathroom, with separate bath tub.'
  146. elseif hotelRoom[$hotel] = 3:
  147. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/hotel/hotel.room.best1.jpg"></center>'&'A very luxurious and spacious bathroom, fit for a king.'
  148. end
  149. if hotelRoom[$hotel] = 0:
  150. act 'Return to lobby (It is past checkout time)':
  151. hotelWiFi = 0
  152. gt $hotel
  153. killvar '$hotel'
  154. end
  155. else
  156. act 'Return to your room':
  157. hotelmc_inventory['shampoo'] = 0
  158. if hotelRoom[$hotel] = 1:
  159. gt'HotelRoom','normal'
  160. elseif hotelRoom[$hotel] = 2:
  161. gt'HotelRoom','better'
  162. elseif hotelRoom[$hotel] = 3:
  163. gt'HotelRoom','best'
  164. end
  165. end
  166. end
  167. gs 'din_van', 'private', 'hotelroom', iif(hotelRoom[$hotel] = 1, '', 'bath')
  168. end
  169. if $ARGS[0] = 'tv':
  170. *clr & cla
  171. gs'stat'
  172. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/hotel/tv<<hotelroom>>.jpg"></center>'
  173. 'You turn on the TV and make yourself comfortable on the bed.'
  174. if hotelRoom[$hotel] = 0:
  175. act 'Return to lobby (It is past checkout time)':
  176. hotelWiFi = 0
  177. gt $hotel
  178. killvar '$hotel'
  179. end
  180. else
  181. act 'Get up from the bed':gt $loc, $loc_arg
  182. act 'Watch TV (1:00)': gt 'hotelroom', 'watch_tv'
  183. end
  184. end
  185. if $ARGS[0] = 'watch_tv':
  186. *clr & cla
  187. minut += 60
  188. pcs_mood += rand(10,20)
  189. gs'stat'
  190. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/hotel/tv0,'+rand(0,4)+'.jpg"></center>'
  191. 'You are watching the country''s main television channel. None of their programs are really worth watching, but the distraction is welcome anyway.'
  192. if hotelRoom[$hotel] = 0:
  193. act 'Return to lobby (It is past checkout time)':
  194. hotelWiFi = 0
  195. gt $hotel
  196. killvar '$hotel'
  197. end
  198. else
  199. act 'Get up from the bed':gt $loc, $loc_arg
  200. act 'Watch TV (1:00)': gt 'hotelroom', 'watch_tv'
  201. end
  202. end
  203. --- HotelRoom ---------------------------------