beverage.qsrc 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  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_vod':
  171. if pcs_health > 20:
  172. *clr & cla
  173. minut += 15
  174. money -= val($_drink['<<args[1]>>,price'])
  175. gs 'drugs', 'alcohol', 'vodka'
  176. gs 'beverage', 'afteralcohol'
  177. '<center><img <<$set_imgh>> src="images/locations/shared/brothel/barordervodka.jpg"></center>'
  178. 'The vodka shot disappears, like it was only water, and<<$mtxt>>'
  179. gs 'stat'
  180. killvar '$_drink'
  181. if food_loc = 1 and $loc ! 'brothel':
  182. act 'Finish': gt 'food_menu'
  183. else
  184. act 'Finish':gt $loc, $loc_arg
  185. end
  186. $boozeVar = 'vodka'
  187. else
  188. msg 'You don''t feel well enough to drink alcohol.'
  189. gt $loc, $loc_arg
  190. end
  191. end
  192. if $ARGS[0] = 'bev_bla':
  193. if pcs_health > 20:
  194. *clr & cla
  195. minut += 15
  196. pcs_mood += 10
  197. money -= val($_drink['<<args[1]>>,price'])
  198. gs 'drugs', 'alcohol', 'vodka'
  199. gs 'beverage', 'afteralcohol'
  200. '<center><img <<$set_imgh>> src="images/shared/drinks/blackrussian.jpg"></center>'
  201. 'You drink a Black Russian, and<<$mtxt>>'
  202. gs 'stat'
  203. killvar '$_drink'
  204. if food_loc = 1 and $loc ! 'brothel':
  205. act 'Finish': gt 'food_menu'
  206. else
  207. act 'Finish': gt $loc, $loc_arg
  208. end
  209. $boozeVar = 'spirit'
  210. else
  211. msg 'You don''t feel well enough to drink alcohol.'
  212. gt $loc, $loc_arg
  213. end
  214. end
  215. if $ARGS[0] = 'bev_sco':
  216. if pcs_health > 20:
  217. *clr & cla
  218. minut += 15
  219. money -= val($_drink['<<args[1]>>,price'])
  220. gs 'drugs', 'alcohol', 'scotch'
  221. gs 'beverage', 'afteralcohol'
  222. '<center><img <<$set_imgh>> src="images/shared/drinks/scotch.jpg"></center>'
  223. 'You drink scotch on the rocks, and<<$mtxt>>'
  224. gs 'stat'
  225. killvar '$_drink'
  226. if food_loc = 1 and $loc ! 'brothel':
  227. act 'Finish': gt 'food_menu'
  228. else
  229. act 'Finish':gt $loc, $loc_arg
  230. end
  231. $boozeVar = 'spirit'
  232. else
  233. msg 'You don''t feel well enough to drink alcohol.'
  234. gt $loc, $loc_arg
  235. end
  236. end
  237. if $ARGS[0] = 'bev_win':
  238. if pcs_health > 20:
  239. *clr & cla
  240. minut += 15
  241. money -= val($_drink['<<args[1]>>,price'])
  242. gs 'drugs', 'alcohol', 'wine'
  243. gs 'beverage', 'afteralcohol'
  244. '<center><img <<$set_imgh>> src="images/shared/drinks/redwine.jpg"></center>'
  245. 'You drink some red wine, and<<$mtxt>>'
  246. gs 'stat'
  247. killvar '$_drink'
  248. if food_loc = 1 and $loc ! 'brothel':
  249. act 'Finish': gt 'food_menu'
  250. else
  251. act 'Finish':gt $loc, $loc_arg
  252. end
  253. $boozeVar = 'wine'
  254. else
  255. msg 'You don''t feel well enough to drink alcohol.'
  256. gt $loc, $loc_arg
  257. end
  258. end
  259. if $ARGS[0] = 'bev_mar':
  260. if pcs_health > 20:
  261. *clr & cla
  262. minut += 15
  263. money -= val($_drink['<<args[1]>>,price'])
  264. pcs_mood += 10
  265. gs 'drugs', 'alcohol', 'vodka'
  266. gs 'beverage', 'afteralcohol'
  267. '<center><img <<$set_imgh>> src="images/shared/drinks/martini.jpg"></center>'
  268. 'You drink a vodka martini, and<<$mtxt>>'
  269. gs 'stat'
  270. killvar '$_drink'
  271. if food_loc = 1:
  272. act 'Finish': gt 'food_menu'
  273. else
  274. act 'Finish':gt $loc, $loc_arg
  275. end
  276. else
  277. msg 'You don''t feel well enough to drink alcohol.'
  278. gt $loc, $loc_arg
  279. end
  280. end
  281. if $ARGS[0] = 'bev_cha':
  282. if pcs_health > 20:
  283. *clr & cla
  284. minut += 15
  285. money -= val($_drink['<<args[1]>>,price'])
  286. gs 'drugs', 'alcohol', 'champagne'
  287. gs 'beverage', 'afteralcohol'
  288. '<center><img <<$set_imgh>> src="images/shared/drinks/champagne.jpg"></center>'
  289. 'You drink some champagne, and<<$mtxt>>'
  290. gs 'stat'
  291. killvar '$_drink'
  292. if food_loc = 1:
  293. act 'Finish': gt 'food_menu'
  294. else
  295. act 'Finish':gt $loc, $loc_arg
  296. end
  297. else
  298. msg 'You don''t feel well enough to drink alcohol.'
  299. gt $loc, $loc_arg
  300. end
  301. end
  302. if $ARGS[0] = 'bev_bee':
  303. if pcs_health > 20:
  304. *clr & cla
  305. minut += 15
  306. money -= val($_drink['<<args[1]>>,price'])
  307. gs 'drugs', 'alcohol', 'beer'
  308. gs 'beverage', 'afteralcohol'
  309. '<center><img <<$set_imgh>> src="images/shared/drinks/darkbeer.jpg"></center>'
  310. 'You drink the beer, enjoying the fresh, mildly bitter taste, and<<$mtxt>>'
  311. gs 'stat'
  312. killvar '$_drink'
  313. if food_loc = 1 and $loc ! 'brothel':
  314. act 'Finish': gt 'food_menu'
  315. else
  316. act 'Finish':gt $loc, $loc_arg
  317. end
  318. $boozeVar = 'beer'
  319. else
  320. msg 'You don''t feel well enough to drink alcohol.'
  321. gt $loc, $loc_arg
  322. end
  323. end
  324. if $ARGS[0] = 'bev_bbr': food_loc = 0 & gt 'brothel','password'
  325. if $ARGS[0] = 'afteralcohol':
  326. if pcs_hydra < 20:
  327. $mtxt = ' while you drink, you wish you were better hydrated before you started.'
  328. elseif pcs_hydra <= 40:
  329. $mtxt = ' you should remind yourself to drink some water later, so you don''t get dehydrated.'
  330. elseif pcs_hydra <= 60:
  331. $mtxt = ' you aren''t sure how many more you can fit in before you need to pee.'
  332. elseif pcs_hydra <= 80:
  333. $mtxt = ' you definitely need to drink some water now, or you''ll end up with a hangover.'
  334. else
  335. $mtxt = ' you enjoyed that drink immensely. Let''s have some more!'
  336. end
  337. end
  338. if $ARGS[0] = 'afterdrink':
  339. if pcs_hydra > 100:
  340. $mtxt = ' while your thirst is quenched, you are starting to feel bloated, with your belly full of liquids.'
  341. elseif pcs_hydra >= 80:
  342. $mtxt = ' it was sufficient enough to quench your thirst.'
  343. elseif pcs_hydra >= 60:
  344. $mtxt = ' you could definitely go another round.'
  345. elseif pcs_hydra >= 40:
  346. $mtxt = ' while your mouth is no longer dry, you would like another drink.'
  347. else
  348. $mtxt = ' it did nothing to satisfy your thirst; you should probably have some more.'
  349. end
  350. end
  351. !! ------------ just the stats, no descriptions or extra stuff -----------------------
  352. if $ARGS[0] = 'coffee':
  353. *clr & cla
  354. frost = 0
  355. if alko > 0: alko -= 1
  356. pcs_health += 5
  357. pcs_mood += 20
  358. pcs_energy += 15
  359. if pcs_hydra >= 100:
  360. pcs_hydra += 20
  361. else
  362. pcs_hydra += 40
  363. end
  364. cumspclnt = 2
  365. gs 'cum_cleanup'
  366. pcs_breath = 0
  367. gs 'stat'
  368. end
  369. --- beverage ---------------------------------