mod_wlife_hotelroom.qsrc 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. # mod_wlife_hotelroom
  2. CLOSE ALL
  3. if $ARGS[0] = 'room':
  4. *clr & cla
  5. $location_type = 'private'
  6. $metkaM = 'room'
  7. $locM = 'mod_wlife_hotelroom'
  8. $metka = 'room'
  9. $loc = 'mod_wlife_hotelroom'
  10. $prevloc = 'HotelRoom'
  11. $menu_loc = 'mod_wlife_hotelroom'
  12. $menu_arg = 'room'
  13. menu_off = 0
  14. gs 'themes', 'indoors'
  15. gs 'stat'
  16. '<center><b><font color = maroon>Your hotel room</font></b></center>'
  17. '<center><img <<$set_imgh>> src="mod/wlife/images/locations/hotelroom/room.jpg"></center>'
  18. '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. Your <a href="exec:gt ''budilnik'', ''start''">alarm clock</a> stands on the bedside table. A <a href="exec:gt ''mod_wlife_hotelroom'',''safe''">safe</a> is at the bottom of a modern <a href="exec:gt ''wardrobe'', ''start''">wardrobe</a> (where you can <a href="exec: quick_dress = 1 & gt ''wardrobe'', ''default''">choose outfits</a> and organize your clothing) stands near the entrance of the room.'
  19. *nl
  20. 'Next to the wardrobe is a small <a href="exec:gt ''mod_wlife_hotelroom'', ''desk''">desk</a> and a huge <a href="exec:gt ''mirror'',''start''">mirror</a> mirror hangs in the small hallway. The door to the <a href="exec: minut += 1 & gt ''mod_wlife_hotelroom'',''bathroom''">bathroom</a> is to the right.'
  21. *nl
  22. 'Your hotel room also has <a href="exec:gt ''mod_wlife_hotelroom'',''beverage_tray''">tray</a> with beverages and a <a href="exec:gt ''mod_wlife_hotelroom'',''tv''">TV</a> is mounted on the wall.'+iif(komp = 1, ' Your <a href="exec: gt ''Komp'',''start''">laptop</a> is on the desk. The hotel offers all guests free Wi-Fi.', '')
  23. if wl_status['hotel_bill'] > 0:
  24. *nl
  25. 'This week your bill amounts to <<wl_status[''hotel_bill'']>> <b>₽</b>. It will be debited from your bank account on Monday. If you don''t have enough money in your account it will be added to your debt.'
  26. end
  27. act'Go to the hotel lobby':
  28. if $clothingworntype ! 'nude':
  29. gt'hotelHole'
  30. else
  31. msg'<b><font color = red>You need to get dressed before leaving your hotel room.</font></b>'
  32. gt 'mod_wlife_hotelroom', 'start'
  33. end
  34. end
  35. act 'Order room service':
  36. *clr & cla
  37. killvar '$_drink'
  38. killvar '$_eat'
  39. menu_off = 1
  40. gs 'stat'
  41. '<center><img <<$set_imgh>> src="mod/wlife/images/locations/hotelroom/roomservice.jpg"></center>'
  42. gs 'mod_wlife_hotelroom', 'roomservice_items'
  43. gs 'food_menu', 'mod'
  44. end
  45. *nl & gs 'exercise', 'start'
  46. end
  47. if $ARGS[0] = 'roomservice_items':
  48. $_eat['0,name'] = 'Vegetarian Piroshki'
  49. $_eat['0,type'] = 'pirosh'
  50. $_eat['0,price'] = 100
  51. $_eat['1,name'] = 'Herring Blini'
  52. $_eat['1,type'] = 'blini'
  53. $_eat['1,price'] = 190
  54. $_eat['2,name'] = 'Golubtsy'
  55. $_eat['2,type'] = 'golub'
  56. $_eat['2,price'] = 210
  57. $_eat['3,name'] = 'Pozharsky Cutlets'
  58. $_eat['3,type'] = 'pozhar'
  59. $_eat['3,price'] = 290
  60. $_eat['4,name'] = 'Rueben Sandwich'
  61. $_eat['4,type'] = 'reuben'
  62. $_eat['4,price'] = 340
  63. $_drink['0,name'] = 'Beer on tap'
  64. $_drink['0,type'] = 'bev_bee'
  65. $_drink['0,price'] = 60
  66. $_drink['1,name'] = 'Vodka'
  67. $_drink['1,type'] = 'bev_vod'
  68. $_drink['1,price'] = 120
  69. $_drink['2,name'] = 'Scotch'
  70. $_drink['2,type'] = 'bev_sco'
  71. $_drink['2,price'] = 140
  72. $_drink['3,name'] = 'Glass of Wine'
  73. $_drink['3,type'] = 'bev_win'
  74. $_drink['3,price'] = 160
  75. $_drink['4,name'] = 'Black Russian'
  76. $_drink['4,type'] = 'bev_bla'
  77. $_drink['4,price'] = 250
  78. end
  79. if $ARGS[0] = 'safe':
  80. *clr & cla
  81. $metka = 'safe'
  82. $menu_arg = 'safe'
  83. menu_off = 0
  84. gs 'stat'
  85. '<center><img <<$set_imgh>> src="mod/wlife/images/locations/hotelroom/safe.jpg"></center>'
  86. 'You can store money in the hotel safe.'+iif(wl_status['money_safe'] > 0, ' There are <<wl_status[''money_safe'']>> <b>₽</b> inside the safe.', '')
  87. act 'Close the safe': gt 'mod_wlife_hotelroom', 'room'
  88. if money > 0:
  89. act 'Put some money in the safe':
  90. cla
  91. minut += 1
  92. menu_off = 1
  93. gs 'stat'
  94. wl_temp = input ("How much money do you want to put into the safe? (Your purse contains <<money>> <b>₽</b>.)")
  95. if wl_temp <= 0 or wl_temp > money:
  96. 'You can''t put this amount into the drawer.'
  97. else
  98. wl_status['money_safe'] += wl_temp
  99. money -= wl_temp
  100. end
  101. killvar 'wl_temp'
  102. gt 'mod_wlife_hotelroom', 'safe'
  103. end
  104. end
  105. if wl_status['money_safe']> 0:
  106. act 'Take some money from the safe':
  107. cla
  108. minut += 1
  109. menu_off = 1
  110. gs 'stat'
  111. wl_temp = input ("How much money do you want to take from the safe? (There is <<wl_status['money_safe']>> <b>₽</b> in the safe.)")
  112. if wl_temp <= 0 or wl_temp > wl_status['money_safe']:
  113. 'You can''t take this amount from your drawer.'
  114. else
  115. wl_status['money_safe'] -= wl_temp
  116. money += wl_temp
  117. end
  118. killvar 'wl_temp'
  119. gt 'mod_wlife_hotelroom', 'safe'
  120. end
  121. end
  122. end
  123. if $ARGS[0] = 'desk':
  124. *clr & cla
  125. $metka = 'desk'
  126. $menu_arg = 'desk'
  127. menu_off = 0
  128. gs'stat'
  129. '<center><h1>Desk</h1></center>'
  130. '<center><img <<$set_imgh>> src="mod/wlife/images/locations/hotelroom/room.jpg"></center>'
  131. 'You sit down at the desk.'
  132. if mentats_have > 0: '<a href="exec:dynamic $use_mentats & gt ''mod_wlife_hotelroom'', ''desk''"><b>Take neurobooster pill.</b></a> Uses left: <<mentats_have>>. Warning on the box says not to take more than one per day.'
  133. if steroid_have > 0: '<a href="exec:dynamic $use_steroids & gt ''mod_wlife_hotelroom'', ''desk''"><b>Take steroids.</b></a> Uses left: <<steroid_have>>.'
  134. if aphrodisiac_have > 0: '<a href="exec:dynamic $use_aphrodisiac & gt ''mod_wlife_hotelroom'', ''desk''"><b>Chew aphrodisiac gum.</b></a> Uses left: <<aphrodisiac_have>>.'
  135. act 'Get up': gt 'mod_wlife_hotelroom', 'room'
  136. act 'Check your birth control': gt 'mod_wlife_hotelroom', 'birth_control'
  137. if strapon = 1:
  138. if dildo + middildo + largedildo + bigdildo + extradildo + superdildo + maddildo > 0:
  139. act 'Check out your strapon harness': gt 'mod_wlife_hotelroom', 'strapon'
  140. else
  141. act 'Check out your strapon harness': '<br>You don''t have any dildos to attach to your strapon harness'
  142. end
  143. end
  144. if SchoolAtestat = 0 and SchoolBlock = 0:
  145. gs 'willpower', 'misc', 'self', iif(grupTipe = 4 and traits['nerd_status'] = 0, 'hard', iif(traits['nerd_status'] > 0, 'easy', 'medium'))
  146. if traits['nerd_status'] = 2: will_cost = will_cost / 2
  147. if lernHome > 0 and (will_cost <= pcs_willpwr or traits['nerd_status'] = 3):
  148. '<br>You have to your homework. Finishing everything will take <<lernHome>> hours.'
  149. act 'Do your homework (1:00'+iif(traits['nerd_status'] = 3, '', ' and <<will_cost>> Willpower')+')':
  150. cla & *clr
  151. '<center><img <<$set_imgh>> src="images/locations/shared/apartment/homework.jpg"></center>'
  152. minut += 60
  153. pcs_mood += 5 * traits['nerd_status']
  154. lernHome -= 1
  155. lern += 1
  156. gs 'willpower', 'misc', 'self', iif(grupTipe = 4, 'hard', iif(traits['nerd_status'] > 0, 'easy', 'medium'))
  157. if traits['nerd_status'] = 2: will_cost = will_cost / 2
  158. if traits['nerd_status'] < 3: gs 'willpower', 'pay', 'self'
  159. gs'stat'
  160. 'It took you one hour to '+iif(lernHome = 0, 'complete', 'do a part of')+' your homework.'
  161. act 'Continue': gt 'mod_wlife_hotelroom', 'desk'
  162. end
  163. elseif lernHome > 0 and will_cost > pcs_willpwr:
  164. act 'Do your homework (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  165. end
  166. will_cost = will_cost * lernHome
  167. if lernHome > 1 and (will_cost <= pcs_willpwr or traits['nerd_status'] = 3):
  168. act 'Finish all of your homework (<<lernHome>>:00'+iif(traits['nerd_status'] = 3, '', ' and <<will_cost>> Willpower')+')':
  169. cla & *clr
  170. '<center><img <<$set_imgh>> src="images/locations/shared/apartment/homework.jpg"></center>'
  171. 'It took you <<lernHome>> hours to complete your homework.'
  172. minut += 60 * lernHome
  173. pcs_mood += 5 * traits['nerd_status'] *lernHome
  174. lern += 1 + lernHome/2
  175. lernHome = 0
  176. if traits['nerd_status'] < 3: gs 'willpower', 'pay', 'self'
  177. gs'stat'
  178. act 'Continue': gt 'mod_wlife_hotelroom', 'desk'
  179. end
  180. elseif lernHome > 1 and will_cost > pcs_willpwr:
  181. act 'Finish all of your homework (<font color="red"><<will_cost>> Willpower</font>)': '<br><font color="red">You don''t have enough willpower to use this action.</font>'
  182. end
  183. end
  184. end
  185. if $ARGS[0] = 'strapon':
  186. *clr & cla
  187. $metka = 'strapon'
  188. $menu_arg = 'strapon'
  189. menu_off = 0
  190. gs'stat'
  191. '<center><h1>Desk</h1></center>'
  192. '<center><img <<$set_imgh>> src="mod/wlife/images/locations/hotelroom/room.jpg"></center>'
  193. if strapnumber = 0: 'Your strapon harness doesn''t have a dildo attached to it.'
  194. *nl
  195. if dildo = 1: iif(strapnumber = 1, 'Your 10cm dildo is attached to your strapon harness.', '<a href="exec:strapnumber = 1 & gt ''mod_wlife_hotelroom'', ''strapon''">Attach</a> your 10cm long dildo.')
  196. if middildo = 1: iif(strapnumber = 2, 'Your 15cm dildo is attached to your strapon harness.','<a href="exec:strapnumber = 2 & gt ''mod_wlife_hotelroom'', ''strapon''">Attach</a> your 15cm long dildo.')
  197. if largedildo = 1: iif(strapnumber = 3, 'Your 20cm dildo is attached to your strapon harness.','<a href="exec:strapnumber = 3 & gt ''mod_wlife_hotelroom'', ''strapon''">Attach</a> your 20cm long dildo.')
  198. if bigdildo = 1: iif(strapnumber = 4, 'Your 25cm dildo is attached to your strapon harness.','<a href="exec:strapnumber = 4 & gt ''mod_wlife_hotelroom'', ''strapon''">Attach</a> your 25cm long dildo.')
  199. if extradildo = 1: iif(strapnumber = 5, 'Your 30cm dildo is attached to your strapon harness.','<a href="exec:strapnumber = 5 & gt ''mod_wlife_hotelroom'', ''strapon''">Attach</a> your 30cm long dildo.')
  200. if superdildo = 1: iif(strapnumber = 6, 'Your 35cm dildo is attached to your strapon harness.','<a href="exec:strapnumber = 6 & gt ''mod_wlife_hotelroom'', ''strapon''">Attach</a> your 35cm long dildo.')
  201. if maddildo = 1: iif(strapnumber = 7, 'Your 40cm dildo is attached to your strapon harness.','<a href="exec:strapnumber = 7 & gt ''mod_wlife_hotelroom'', ''strapon''">Attach</a> your 40cm long dildo.')
  202. act 'Put your strapon harness away': gt 'mod_wlife_hotelroom', 'desk'
  203. end
  204. if $ARGS[0] = 'birth_control':
  205. *clr & cla
  206. $metka = 'birth_control'
  207. $menu_arg = 'birth_control'
  208. menu_off = 0
  209. gs'stat'
  210. gs 'din_bad'
  211. '<center><h1>Desk</h1></center>'
  212. '<center><img <<$set_imgh>> src="mod/wlife/images/locations/hotelroom/room.jpg"></center>'
  213. 'You store your birth control in one of the drawers of your desk.'
  214. act 'Close the drawer':gt 'mod_wlife_hotelroom', 'desk'
  215. if prezik + prezikcount + preziksabo > 0:
  216. if preziktype = 2 or preziksabo > 0:
  217. 'You have <<iif(preziktype = 2, prezikcount, prezikcount+prezik)>> normal, and <<iif(preziktype = 2, prezik+preziksabo, preziksabo)>> sabotaged <a href="exec:dynamic $din_Table_Condom_Menu"><b>condoms.</b></a>'
  218. elseif preziktype < 2 and preziksabo = 0:
  219. 'You have <<prezik+prezikcount>> <a href="exec:dynamic $din_Table_Condom_Menu"><b>condoms.</b></a>'
  220. end
  221. *nl
  222. else
  223. 'You are out of condoms.'
  224. end
  225. if tabletki > 0 and pillsleft[ptype] > 0:
  226. 'You have <<tabletki>> unopened packages of <a href="exec:dynamic $d_tabletkiedt">birth control pills</a> and <<pillsleft[ptype]>> pills left in your opened package.</b>'
  227. elseif tabletki = 0 and pillsleft[ptype] > 0:
  228. 'You have <<pillsleft[ptype]>> <a href="exec:dynamic $d_tabletkiedt">birth control pills</a> left.</b>'
  229. elseif tabletki > 0 and pillsleft[ptype] = 0:
  230. 'You have <<tabletki>> unopened packages of <a href="exec:dynamic $d_tabletkiedt">birth control pills</a>.'
  231. else
  232. 'You are out of birth control pills.'
  233. end
  234. end
  235. if $ARGS[0] = 'beverage_tray':
  236. *clr & cla
  237. $metka = 'beverage_tray'
  238. $menu_arg = 'beverage_tray'
  239. menu_off = 0
  240. gs'stat'
  241. '<center><img <<$set_imgh>> src="mod/wlife/images/locations/hotelroom/beverage_tray_'+iif(wl_status['coffee_maker'] < 2, 0, 1)+'.jpg"></center>'
  242. 'On the tray is is a small selection of different types of tea and an electric kettle to boil water.'+iif(wl_status['coffee_maker'] = 2, '', ' Your coffee maker stands next to it. You have '+iif(wl_status['coffee'] = 0, 'no pods left.', 'pods for <<wl_status[''coffee'']>> cups of coffee.'))
  243. if wl_status['coffee_maker'] = 0:
  244. wl_status['coffee_maker'] = 1
  245. msg 'There is enough space next to the tray for a coffee maker. The shop sells coffee makers and pods if you like coffee.'
  246. end
  247. act 'Step back from the tray': gt 'mod_wlife_hotelroom', 'room'
  248. dynamic $driwater
  249. if wl_status['coffee'] > 0: act 'Have a coffee (0:05)': gt 'mod_wlife_hotelroom', 'coffee'
  250. act 'Have a cup of tea (0:05)': dynamic $dritea
  251. dynamic $fill_bottle
  252. dynamic $fatdel
  253. dynamic $lekarstvo
  254. dynamic $vitamin
  255. end
  256. if $ARGS[0] = 'coffee':
  257. *clr & cla
  258. frost = 0
  259. if alko > 0: alko -= 1
  260. minut += 10
  261. wl_status['coffee'] -= 1
  262. pcs_health += 5
  263. pcs_mood += 20
  264. pcs_energy += 20
  265. if pcs_hydra >= 100:
  266. pcs_hydra += 20
  267. else
  268. pcs_hydra += 40
  269. end
  270. cumspclnt = 2
  271. gs 'cum_cleanup'
  272. pcs_breath = 0
  273. gs 'beverage', 'afterdrink'
  274. '<center><img <<$set_imgh>> src="mod/wlife/images/locations/hotelroom/coffee.jpg"></center>'
  275. 'You enjoy a hot coffee, and<<$mtxt>>'
  276. gs 'stat'
  277. killvar '$_drink'
  278. act 'Finish': gt 'mod_wlife_hotelroom', 'beverage_tray'
  279. end
  280. if $ARGS[0] = 'bathroom':
  281. *clr & cla
  282. $metkaM = 'bathroom'
  283. $locM = 'mod_wlife_hotelroom'
  284. $metka = 'bathroom'
  285. $loc = 'mod_wlife_hotelroom'
  286. $menu_arg = 'bathroom'
  287. $location_type = 'bathroom'
  288. hotelShampoo = 1
  289. gs 'themes', 'indoors'
  290. gs'stat'
  291. '<center><b><font color = maroon>Bathroom</font></b></center>'
  292. '<center><img <<$set_imgh>> src="mod/wlife/images/locations/hotelroom/bathroom.jpg"></center>'
  293. 'A small and unpretentious bathroom, that is nevertheless quite stylish and has everything you need.'
  294. act 'Leave the bathroom': hotelShampoo = 0 & gt 'mod_wlife_hotelroom', 'room'
  295. gs 'din_van', 'private', 'hotelroom'
  296. end
  297. if $ARGS[0] = 'tv':
  298. *clr & cla
  299. gs'stat'
  300. '<center><img <<$set_imgh>> src="mod/wlife/images/player/watch_tv.jpg"></center>'
  301. 'You turn on the TV and make yourself comfortable on the bed.'
  302. act 'Get up from the bed': gt 'mod_wlife_hotelroom', 'room'
  303. act 'Watch TV (1:00)': gt 'mod_wlife_hotelroom', 'watch_tv'
  304. end
  305. if $ARGS[0] = 'watch_tv':
  306. *clr & cla
  307. minut += 60
  308. pcs_mood += rand(10,20)
  309. gs'stat'
  310. '<center><img <<$set_imgh>> src="images/locations/pavlovsk/hotel/tv0,'+rand(0,4)+'.jpg"></center>'
  311. 'You are watching the country''s main television channel. None of their programs are really worth watching, but the distraction is welcome anyway.'
  312. act 'Get up from the bed': gt 'mod_wlife_hotelroom', 'room'
  313. act 'Watch TV (1:00)': gt 'mod_wlife_hotelroom', 'watch_tv'
  314. end
  315. --- mod_wlife_hotelroom ---------------------------------