beverage.qsrc 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  1. # beverage
  2. menu_off = 1
  3. if $ARGS[0] = 'bev_kva':
  4. *clr & cla
  5. frost = 1
  6. minut += 10
  7. fat += 2
  8. money -= val($_drink['<<args[1]>>,price'])
  9. pcs_health += 5
  10. pcs_mood += 15
  11. pcs_energy += 8
  12. if pcs_hydra >= 100:
  13. pcs_hydra += 30
  14. else
  15. pcs_hydra += 60
  16. end
  17. cumspclnt = 2
  18. gs 'cum_cleanup'
  19. pcs_breath = 0
  20. gs 'beverage', 'afterdrink'
  21. '<center><img <<$set_imgh>> src="images/shared/drinks/kvass.jpg"></center>'
  22. 'You enjoy a drink of kvass, and<<$mtxt>>'
  23. gs 'stat'
  24. killvar '$_drink'
  25. if food_loc = 1:
  26. act 'Finish': gt 'food_menu'
  27. else
  28. act 'Finish':gt $loc, $loc_arg
  29. end
  30. end
  31. if $ARGS[0] = 'bev_jui':
  32. *clr & cla
  33. frost = 1
  34. if alko > 0: alko -= 1
  35. minut += 10
  36. fat += 3
  37. money -= val($_drink['<<args[1]>>,price'])
  38. pcs_health += 8
  39. pcs_mood += 10
  40. pcs_energy += 10
  41. if pcs_hydra >= 100:
  42. pcs_hydra += 40
  43. else
  44. pcs_hydra += 80
  45. end
  46. cumspclnt = 2
  47. gs 'cum_cleanup'
  48. pcs_breath = 0
  49. gs 'beverage', 'afterdrink'
  50. '<center><img <<$set_imgh>> src="images/shared/drinks/juice.jpg"></center>'
  51. 'You enjoy a refreshing juice, and<<$mtxt>>'
  52. gs 'stat'
  53. killvar '$_drink'
  54. if food_loc = 1:
  55. act 'Finish': gt 'food_menu'
  56. else
  57. act 'Finish':gt $loc, $loc_arg
  58. end
  59. end
  60. if $ARGS[0] = 'bev_mil':
  61. *clr & cla
  62. frost = 1
  63. minut += 10
  64. fat += 6
  65. money -= val($_drink['<<args[1]>>,price'])
  66. pcs_health += 5
  67. pcs_mood += 20
  68. pcs_energy += 8
  69. if pcs_hydra >= 100:
  70. pcs_hydra += 50
  71. else
  72. pcs_hydra += 100
  73. end
  74. cumspclnt = 2
  75. gs 'cum_cleanup'
  76. pcs_breath = 0
  77. gs 'beverage', 'afterdrink'
  78. '<center><img <<$set_imgh>> src="images/shared/drinks/milkshake.jpg"></center>'
  79. 'You enjoy an ice cold milkshake, and<<$mtxt>>'
  80. gs 'stat'
  81. killvar '$_drink'
  82. if food_loc = 1:
  83. act 'Finish': gt 'food_menu'
  84. else
  85. act 'Finish':gt $loc, $loc_arg
  86. end
  87. end
  88. if $ARGS[0] = 'bev_wat':
  89. *clr & cla
  90. frost = 1
  91. if alko > 0: alko -= 1
  92. minut += 1
  93. money -= val($_drink['<<args[1]>>,price'])
  94. pcs_health += 10
  95. pcs_energy += 4
  96. if pcs_hydra >= 100:
  97. pcs_hydra += 25
  98. else
  99. pcs_hydra += 50
  100. end
  101. cumspclnt = 2
  102. gs 'cum_cleanup'
  103. gs 'beverage', 'afterdrink'
  104. '<center><img <<$set_imgh>> src="images/locations/shared/brothel/barorderwater.jpg"></center>'
  105. 'You enjoy a drink of water, and<<$mtxt>>'
  106. gs 'stat'
  107. killvar '$_drink'
  108. if food_loc = 1:
  109. act 'Finish': gt 'food_menu'
  110. else
  111. act 'Finish':gt $loc, $loc_arg
  112. end
  113. end
  114. if $ARGS[0] = 'bev_cof':
  115. *clr & cla
  116. frost = 0
  117. if alko > 0: alko -= 1
  118. minut += 10
  119. money -= val($_drink['<<args[1]>>,price'])
  120. pcs_health += 5
  121. pcs_mood += 20
  122. pcs_energy += 15
  123. if pcs_hydra >= 100:
  124. pcs_hydra += 20
  125. else
  126. pcs_hydra += 40
  127. end
  128. cumspclnt = 2
  129. gs 'cum_cleanup'
  130. pcs_breath = 0
  131. gs 'beverage', 'afterdrink'
  132. !!Image needed '<center><img <<$set_imgh>> src="images/shared/drinks/coffee.jpg"></center>'
  133. 'You enjoy a hot coffee, and<<$mtxt>>'
  134. gs 'stat'
  135. killvar '$_drink'
  136. if food_loc = 1:
  137. act 'Finish': gt 'food_menu'
  138. else
  139. act 'Finish':gt $loc, $loc_arg
  140. end
  141. end
  142. if $ARGS[0] = 'bev_tea':
  143. *clr & cla
  144. frost = 0
  145. if alko > 0: alko -= 1
  146. minut += 10
  147. money -= val($_drink['<<args[1]>>,price'])
  148. pcs_health += 10
  149. pcs_mood += 20
  150. pcs_energy += 10
  151. if pcs_hydra >= 100:
  152. pcs_hydra += 25
  153. else
  154. pcs_hydra += 50
  155. end
  156. cumspclnt = 2
  157. gs 'cum_cleanup'
  158. pcs_breath = 0
  159. gs 'beverage', 'afterdrink'
  160. '<center><img <<$set_imgh>> src="images/shared/drinks/tea.jpg"></center>'
  161. 'You enjoy a relaxing cup of tea, and<<$mtxt>>'
  162. gs 'stat'
  163. killvar '$_drink'
  164. if food_loc = 1:
  165. act 'Finish': gt 'food_menu'
  166. else
  167. act 'Finish':gt $loc, $loc_arg
  168. end
  169. end
  170. if $ARGS[0] = 'bev_energy_drink':
  171. *clr & cla
  172. frost = 1
  173. if alko > 0: alko -= 1
  174. minut += 5
  175. money -= val($_drink['<<args[1]>>,price'])
  176. pcs_health += 10
  177. pcs_mood += 20
  178. pcs_energy += 20
  179. fat += 3
  180. if pcs_hydra >= 100:
  181. pcs_hydra += 25
  182. else
  183. pcs_hydra += 50
  184. end
  185. cumspclnt = 2
  186. gs 'cum_cleanup'
  187. pcs_breath = 0
  188. gs 'beverage', 'afterdrink'
  189. '<center><img <<$set_imgh>> src="images/shared/drinks/energy_drink.jpg"></center>'
  190. 'You enjoy an energy drink, and<<$mtxt>>'
  191. gs 'stat'
  192. killvar '$_drink'
  193. if food_loc = 1:
  194. act 'Finish': gt 'food_menu'
  195. else
  196. act 'Finish':gt $loc, $loc_arg
  197. end
  198. end
  199. if $ARGS[0] = 'bev_vod':
  200. if pcs_health > 20:
  201. *clr & cla
  202. minut += 15
  203. money -= val($_drink['<<args[1]>>,price'])
  204. gs 'drugs', 'alcohol', 'vodka'
  205. gs 'beverage', 'afteralcohol'
  206. '<center><img <<$set_imgh>> src="images/locations/shared/brothel/barordervodka.jpg"></center>'
  207. 'The vodka shot disappears, like it was only water, and<<$mtxt>>'
  208. gs 'stat'
  209. killvar '$_drink'
  210. if food_loc = 1 and $loc ! 'brothel':
  211. act 'Finish': gt 'food_menu'
  212. else
  213. act 'Finish':gt $loc, $loc_arg
  214. end
  215. $boozeVar = 'vodka'
  216. else
  217. msg 'You don''t feel well enough to drink alcohol.'
  218. gt $loc, $loc_arg
  219. end
  220. end
  221. if $ARGS[0] = 'bev_bla':
  222. if pcs_health > 20:
  223. *clr & cla
  224. minut += 15
  225. pcs_mood += 10
  226. money -= val($_drink['<<args[1]>>,price'])
  227. gs 'drugs', 'alcohol', 'vodka'
  228. gs 'beverage', 'afteralcohol'
  229. '<center><img <<$set_imgh>> src="images/shared/drinks/blackrussian.jpg"></center>'
  230. 'You drink a Black Russian, and<<$mtxt>>'
  231. gs 'stat'
  232. killvar '$_drink'
  233. if food_loc = 1 and $loc ! 'brothel':
  234. act 'Finish': gt 'food_menu'
  235. else
  236. act 'Finish': gt $loc, $loc_arg
  237. end
  238. $boozeVar = 'spirit'
  239. else
  240. msg 'You don''t feel well enough to drink alcohol.'
  241. gt $loc, $loc_arg
  242. end
  243. end
  244. if $ARGS[0] = 'bev_sco':
  245. if pcs_health > 20:
  246. *clr & cla
  247. minut += 15
  248. money -= val($_drink['<<args[1]>>,price'])
  249. gs 'drugs', 'alcohol', 'scotch'
  250. gs 'beverage', 'afteralcohol'
  251. '<center><img <<$set_imgh>> src="images/shared/drinks/scotch.jpg"></center>'
  252. 'You drink scotch on the rocks, and<<$mtxt>>'
  253. gs 'stat'
  254. killvar '$_drink'
  255. if food_loc = 1 and $loc ! 'brothel':
  256. act 'Finish': gt 'food_menu'
  257. else
  258. act 'Finish':gt $loc, $loc_arg
  259. end
  260. $boozeVar = 'spirit'
  261. else
  262. msg 'You don''t feel well enough to drink alcohol.'
  263. gt $loc, $loc_arg
  264. end
  265. end
  266. if $ARGS[0] = 'bev_win':
  267. if pcs_health > 20:
  268. *clr & cla
  269. minut += 15
  270. money -= val($_drink['<<args[1]>>,price'])
  271. gs 'drugs', 'alcohol', 'wine'
  272. gs 'beverage', 'afteralcohol'
  273. '<center><img <<$set_imgh>> src="images/shared/drinks/redwine.jpg"></center>'
  274. 'You drink some red wine, and<<$mtxt>>'
  275. gs 'stat'
  276. killvar '$_drink'
  277. if food_loc = 1 and $loc ! 'brothel':
  278. act 'Finish': gt 'food_menu'
  279. else
  280. act 'Finish':gt $loc, $loc_arg
  281. end
  282. $boozeVar = 'wine'
  283. else
  284. msg 'You don''t feel well enough to drink alcohol.'
  285. gt $loc, $loc_arg
  286. end
  287. end
  288. if $ARGS[0] = 'bev_mar':
  289. if pcs_health > 20:
  290. *clr & cla
  291. minut += 15
  292. money -= val($_drink['<<args[1]>>,price'])
  293. pcs_mood += 10
  294. gs 'drugs', 'alcohol', 'vodka'
  295. gs 'beverage', 'afteralcohol'
  296. '<center><img <<$set_imgh>> src="images/shared/drinks/martini.jpg"></center>'
  297. 'You drink a vodka martini, and<<$mtxt>>'
  298. gs 'stat'
  299. killvar '$_drink'
  300. if food_loc = 1:
  301. act 'Finish': gt 'food_menu'
  302. else
  303. act 'Finish':gt $loc, $loc_arg
  304. end
  305. else
  306. msg 'You don''t feel well enough to drink alcohol.'
  307. gt $loc, $loc_arg
  308. end
  309. end
  310. if $ARGS[0] = 'bev_cha':
  311. if pcs_health > 20:
  312. *clr & cla
  313. minut += 15
  314. money -= val($_drink['<<args[1]>>,price'])
  315. gs 'drugs', 'alcohol', 'champagne'
  316. gs 'beverage', 'afteralcohol'
  317. '<center><img <<$set_imgh>> src="images/shared/drinks/champagne.jpg"></center>'
  318. 'You drink some champagne, and<<$mtxt>>'
  319. gs 'stat'
  320. killvar '$_drink'
  321. if food_loc = 1:
  322. act 'Finish': gt 'food_menu'
  323. else
  324. act 'Finish':gt $loc, $loc_arg
  325. end
  326. else
  327. msg 'You don''t feel well enough to drink alcohol.'
  328. gt $loc, $loc_arg
  329. end
  330. end
  331. if $ARGS[0] = 'bev_bee':
  332. if pcs_health > 20:
  333. *clr & cla
  334. minut += 15
  335. money -= val($_drink['<<args[1]>>,price'])
  336. gs 'drugs', 'alcohol', 'beer'
  337. gs 'beverage', 'afteralcohol'
  338. '<center><img <<$set_imgh>> src="images/shared/drinks/darkbeer.jpg"></center>'
  339. 'You drink the beer, enjoying the fresh, mildly bitter taste, and<<$mtxt>>'
  340. gs 'stat'
  341. killvar '$_drink'
  342. if food_loc = 1 and $loc ! 'brothel':
  343. act 'Finish': gt 'food_menu'
  344. else
  345. act 'Finish':gt $loc, $loc_arg
  346. end
  347. $boozeVar = 'beer'
  348. else
  349. msg 'You don''t feel well enough to drink alcohol.'
  350. gt $loc, $loc_arg
  351. end
  352. end
  353. if $ARGS[0] = 'bev_bbr': food_loc = 0 & gt 'brothel','password'
  354. if $ARGS[0] = 'afteralcohol':
  355. if pcs_hydra < 20:
  356. $mtxt = ' while you drink, you wish you were better hydrated before you started.'
  357. elseif pcs_hydra <= 40:
  358. $mtxt = ' you should remind yourself to drink some water later, so you don''t get dehydrated.'
  359. elseif pcs_hydra <= 60:
  360. $mtxt = ' you aren''t sure how many more you can fit in before you need to pee.'
  361. elseif pcs_hydra <= 80:
  362. $mtxt = ' you definitely need to drink some water now, or you''ll end up with a hangover.'
  363. else
  364. $mtxt = ' you enjoyed that drink immensely. Let''s have some more!'
  365. end
  366. end
  367. if $ARGS[0] = 'afterdrink':
  368. if pcs_hydra > 100:
  369. $mtxt = ' while your thirst is quenched, you are starting to feel bloated, with your belly full of liquids.'
  370. elseif pcs_hydra >= 80:
  371. $mtxt = ' it was sufficient enough to quench your thirst.'
  372. elseif pcs_hydra >= 60:
  373. $mtxt = ' you could definitely go another round.'
  374. elseif pcs_hydra >= 40:
  375. $mtxt = ' while your mouth is no longer dry, you would like another drink.'
  376. else
  377. $mtxt = ' it did nothing to satisfy your thirst; you should probably have some more.'
  378. end
  379. end
  380. !! ------------ just the stats, no descriptions or extra stuff -----------------------
  381. if $ARGS[0] = 'coffee':
  382. *clr & cla
  383. frost = 0
  384. if alko > 0: alko -= 1
  385. if pcs_sleep <= 20: pcs_sleep += 5
  386. pcs_health += 5
  387. pcs_mood += 20
  388. pcs_energy += 15
  389. if pcs_hydra >= 100:
  390. pcs_hydra += 20
  391. else
  392. pcs_hydra += 40
  393. end
  394. cumspclnt = 2
  395. gs 'cum_cleanup'
  396. pcs_breath = 0
  397. gs 'stat'
  398. end
  399. --- beverage ---------------------------------