food_menu.qsrc 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  1. # food_menu
  2. !!pcs_drank and pcs_ate variables track how much Sveta consumes each day. Vars are reset each day.
  3. !!food_loc returns food and beverage menus back to the food_menu.
  4. !!How to use the food_menu location in a mod
  5. !!Step 1: set up $_eat and $_drink in the mod
  6. !!Step 2: add the following three lines to the mod:
  7. !!*clr & cla
  8. !!killvar '$_drink'
  9. !!killvar '$_eat'
  10. !!Step 3: call your own $_eat and $_drink afterwards
  11. !!Step 4: call this location with gs 'food_menu', 'mod'
  12. menu_off = 1
  13. if $ARGS[0] ! 'mod':
  14. *clr & cla
  15. food_loc = 1
  16. $food_loc = $loc
  17. killvar '$_drink'
  18. killvar '$_eat'
  19. end
  20. act 'Return':
  21. killvar 'food_loc'
  22. minut += 5
  23. gt $loc, $loc_arg
  24. end
  25. if $loc = 'burger':
  26. '<center><b><font color="maroon">Diner Bystroeshka</font></b></center>'
  27. *nl
  28. '<center><img <<$set_imgh>> src="images/shared/menus/burger.jpg"</center><br>'
  29. !'<center><img <<$set_imgh>> src="images/shared/drinks/dinerdrinks.jpg"</center><br>'
  30. $_eat['0,name'] = 'Onion Rings'
  31. $_eat['0,type'] = 'onring'
  32. _eat['0,price'] = 80
  33. $_eat['1,name'] = 'Vegie Burger'
  34. $_eat['1,type'] = 'vegburg'
  35. _eat['1,price'] = 240
  36. $_eat['2,name'] = 'Turkey Burger'
  37. $_eat['2,type'] = 'turburg'
  38. _eat['2,price'] = 260
  39. $_eat['3,name'] = 'Battered Fish & Fries'
  40. $_eat['3,type'] = 'batfish'
  41. _eat['3,price'] = 290
  42. $_eat['4,name'] = 'Cheeseburger & Fries'
  43. $_eat['4,type'] = 'cheburg'
  44. _eat['4,price'] = 310
  45. $_drink['0,name'] = 'Water'
  46. $_drink['0,type'] = 'bev_wat'
  47. _drink['0,price'] = 0
  48. $_drink['1,name'] = 'Kvass'
  49. $_drink['1,type'] = 'bev_kva'
  50. _drink['1,price'] = 55
  51. $_drink['2,name'] = 'Juice'
  52. $_drink['2,type'] = 'bev_jui'
  53. _drink['2,price'] = 70
  54. $_drink['3,name'] = 'Spiced Tea'
  55. $_drink['3,type'] = 'bev_tea'
  56. _drink['3,price'] = 110
  57. $_drink['4,name'] = 'Black Coffee'
  58. $_drink['4,type'] = 'bev_cof'
  59. _drink['4,price'] = 120
  60. $_drink['5,name'] = 'Milkshake'
  61. $_drink['5,type'] = 'bev_mil'
  62. _drink['5,price'] = 180
  63. elseif $loc = 'gkafe':
  64. '<center><b><font color="maroon">Borislav''s cafe</font></b></center>'
  65. *nl
  66. '<center><img <<$set_imgh>> src="images/shared/menus/borislav.jpg"</center><br>'
  67. !'<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
  68. if mid($start_type,1,2) = 'sg' and func('homes_properties', 'has_access', 'parents_home'):
  69. $_eat['0,name'] = 'Vegetarian Piroshki'
  70. $_eat['0,type'] = 'pirosh'
  71. _eat['0,price'] = 0
  72. $_eat['1,name'] = 'Herring Blini'
  73. $_eat['1,type'] = 'bliny'
  74. _eat['1,price'] = 0
  75. $_eat['2,name'] = 'Golubtsy'
  76. $_eat['2,type'] = 'golub'
  77. _eat['2,price'] = 0
  78. $_eat['3,name'] = 'Pozharsky Cutlets'
  79. $_eat['3,type'] = 'pozhar'
  80. _eat['3,price'] = 0
  81. $_eat['4,name'] = 'Rueben Sandwich'
  82. $_eat['4,type'] = 'reuben'
  83. _eat['4,price'] = 0
  84. $_drink['0,name'] = 'Water'
  85. $_drink['0,type'] = 'bev_wat'
  86. _drink['0,price'] = 0
  87. $_drink['1,name'] = 'Kvass'
  88. $_drink['1,type'] = 'bev_kva'
  89. _drink['1,price'] = 0
  90. $_drink['2,name'] = 'Juice'
  91. $_drink['2,type'] = 'bev_jui'
  92. _drink['2,price'] = 0
  93. $_drink['3,name'] = 'Spiced Tea'
  94. $_drink['3,type'] = 'bev_tea'
  95. _drink['3,price'] = 0
  96. $_drink['4,name'] = 'Black Coffee'
  97. $_drink['4,type'] = 'bev_cof'
  98. _drink['4,price'] = 0
  99. $_drink['5,name'] = 'Milkshake'
  100. $_drink['5,type'] = 'bev_mil'
  101. _drink['5,price'] = 0
  102. else
  103. $_eat['0,name'] = 'Vegetarian Piroshki'
  104. $_eat['0,type'] = 'pirosh'
  105. _eat['0,price'] = 100
  106. $_eat['1,name'] = 'Herring Blini'
  107. $_eat['1,type'] = 'bliny'
  108. _eat['1,price'] = 190
  109. $_eat['2,name'] = 'Golubtsy'
  110. $_eat['2,type'] = 'golub'
  111. _eat['2,price'] = 210
  112. $_eat['3,name'] = 'Pozharsky Cutlets'
  113. $_eat['3,type'] = 'pozhar'
  114. _eat['3,price'] = 290
  115. $_eat['4,name'] = 'Rueben Sandwich'
  116. $_eat['4,type'] = 'reuben'
  117. _eat['4,price'] = 340
  118. $_drink['0,name'] = 'Water'
  119. $_drink['0,type'] = 'bev_wat'
  120. _drink['0,price'] = 0
  121. $_drink['1,name'] = 'Kvass'
  122. $_drink['1,type'] = 'bev_kva'
  123. _drink['1,price'] = 60
  124. $_drink['2,name'] = 'Juice'
  125. $_drink['2,type'] = 'bev_jui'
  126. _drink['2,price'] = 80
  127. $_drink['3,name'] = 'Spiced Tea'
  128. $_drink['3,type'] = 'bev_tea'
  129. _drink['3,price'] = 120
  130. $_drink['4,name'] = 'Black Coffee'
  131. $_drink['4,type'] = 'bev_cof'
  132. _drink['4,price'] = 130
  133. $_drink['5,name'] = 'Milkshake'
  134. $_drink['5,type'] = 'bev_mil'
  135. _drink['5,price'] = 200
  136. end
  137. elseif $loc = 'brothel':
  138. '<center><h3>Hotel Bar</h3></center>'
  139. *nl
  140. '<center><img <<$set_imgh>> src="images/shared/drinks/bardrinks.jpg"</center><br>'
  141. $_eat['0,name'] = 'Toasted rye snacks'
  142. $_eat['0,type'] = 'ryesna'
  143. _eat['0,price'] = 30
  144. $_eat['1,name'] = 'Bowl of flavoured crisps'
  145. $_eat['1,type'] = 'crisps'
  146. _eat['1,price'] = 40
  147. $_drink['0,name'] = 'Water'
  148. $_drink['0,type'] = 'bev_wat'
  149. _drink['0,price'] = 0
  150. $_drink['1,name'] = 'Beer on tap'
  151. $_drink['1,type'] = 'bev_bee'
  152. _drink['1,price'] = 60
  153. $_drink['2,name'] = 'Vodka'
  154. $_drink['2,type'] = 'bev_vod'
  155. _drink['2,price'] = 120
  156. $_drink['3,name'] = 'Scotch'
  157. $_drink['3,type'] = 'bev_sco'
  158. _drink['3,price'] = 140
  159. $_drink['4,name'] = 'Glass of Wine'
  160. $_drink['4,type'] = 'bev_win'
  161. _drink['4,price'] = 160
  162. $_drink['5,name'] = 'Black Russian'
  163. $_drink['5,type'] = 'bev_bla'
  164. _drink['5,price'] = 250
  165. if hotelWhore = 1:
  166. $_drink['6,name'] = 'Blue-blooded Russian'
  167. $_drink['6,type'] = 'bev_bbr'
  168. _drink['6,price'] = 0
  169. end
  170. elseif $loc = 'cafe_parco':
  171. '<center><h4><font color="maroon">Cafe "Del Parco"</font></h4></center>'
  172. *nl
  173. '<center><img <<$set_imgh>> src="images/shared/menus/del_parco.jpg"</center><br>'
  174. !'<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
  175. $_eat['0,name'] = 'Vegetarian Piroshki'
  176. $_eat['0,type'] = 'pirosh'
  177. _eat['0,price'] = 100
  178. $_eat['1,name'] = 'Herring Blini'
  179. $_eat['1,type'] = 'bliny'
  180. _eat['1,price'] = 190
  181. $_eat['2,name'] = 'Golubtsy'
  182. $_eat['2,type'] = 'golub'
  183. _eat['2,price'] = 210
  184. $_eat['3,name'] = 'Pozharsky Cutlets'
  185. $_eat['3,type'] = 'pozhar'
  186. _eat['3,price'] = 290
  187. $_eat['4,name'] = 'Rueben Sandwich'
  188. $_eat['4,type'] = 'reuben'
  189. _eat['4,price'] = 340
  190. $_drink['0,name'] = 'Water'
  191. $_drink['0,type'] = 'bev_wat'
  192. _drink['0,price'] = 0
  193. $_drink['1,name'] = 'Kvass'
  194. $_drink['1,type'] = 'bev_kva'
  195. _drink['1,price'] = 60
  196. $_drink['2,name'] = 'Juice'
  197. $_drink['2,type'] = 'bev_jui'
  198. _drink['2,price'] = 80
  199. $_drink['3,name'] = 'Spiced Tea'
  200. $_drink['3,type'] = 'bev_tea'
  201. _drink['3,price'] = 120
  202. $_drink['4,name'] = 'Black Coffee'
  203. $_drink['4,type'] = 'bev_cof'
  204. _drink['4,price'] = 130
  205. $_drink['5,name'] = 'Milkshake'
  206. $_drink['5,type'] = 'bev_mil'
  207. _drink['5,price'] = 200
  208. elseif $loc = 'city_kafe':
  209. '<center><b><font color="maroon">The Roadhouse</font></b></center>'
  210. *nl
  211. '<center><img <<$set_imgh>> src="images/shared/menus/roadhouse.jpg"</center><br>'
  212. !'<center><img <<$set_imgh>> src="images/shared/drinks/dinerdrinks.jpg"</center><br>'
  213. $_eat['0,name'] = 'Onion Rings'
  214. $_eat['0,type'] = 'onring'
  215. _eat['0,price'] = 80
  216. $_eat['1,name'] = 'Vegie Burger'
  217. $_eat['1,type'] = 'vegburg'
  218. _eat['1,price'] = 240
  219. $_eat['2,name'] = 'Turkey Burger'
  220. $_eat['2,type'] = 'turburg'
  221. _eat['2,price'] = 260
  222. $_eat['3,name'] = 'Battered Fish & Fries'
  223. $_eat['3,type'] = 'batfish'
  224. _eat['3,price'] = 290
  225. $_eat['4,name'] = 'Cheeseburger & Fries'
  226. $_eat['4,type'] = 'cheburg'
  227. _eat['4,price'] = 310
  228. $_drink['0,name'] = 'Water'
  229. $_drink['0,type'] = 'bev_wat'
  230. _drink['0,price'] = 0
  231. $_drink['1,name'] = 'Kvass'
  232. $_drink['1,type'] = 'bev_kva'
  233. _drink['1,price'] = 55
  234. $_drink['2,name'] = 'Juice'
  235. $_drink['2,type'] = 'bev_jui'
  236. _drink['2,price'] = 70
  237. $_drink['3,name'] = 'Spiced Tea'
  238. $_drink['3,type'] = 'bev_tea'
  239. _drink['3,price'] = 110
  240. $_drink['4,name'] = 'Black Coffee'
  241. $_drink['4,type'] = 'bev_cof'
  242. _drink['4,price'] = 120
  243. $_drink['5,name'] = 'Milkshake'
  244. $_drink['5,type'] = 'bev_mil'
  245. _drink['5,price'] = 180
  246. elseif $loc = 'lakecafe':
  247. '<center><B><font color=maroon>The Lake Cafe</font></B></center>'
  248. *nl
  249. '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
  250. $_eat['0,name'] = 'Vegetarian Piroshki'
  251. $_eat['0,type'] = 'pirosh'
  252. _eat['0,price'] = 100
  253. $_eat['1,name'] = 'Herring Blini'
  254. $_eat['1,type'] = 'bliny'
  255. _eat['1,price'] = 190
  256. $_eat['2,name'] = 'Golubtsy'
  257. $_eat['2,type'] = 'golub'
  258. _eat['2,price'] = 210
  259. $_eat['3,name'] = 'Pozharsky Cutlets'
  260. $_eat['3,type'] = 'pozhar'
  261. _eat['3,price'] = 290
  262. $_eat['4,name'] = 'Rueben Sandwich'
  263. $_eat['4,type'] = 'reuben'
  264. _eat['4,price'] = 340
  265. $_drink['0,name'] = 'Water'
  266. $_drink['0,type'] = 'bev_wat'
  267. _drink['0,price'] = 0
  268. $_drink['1,name'] = 'Kvass'
  269. $_drink['1,type'] = 'bev_kva'
  270. _drink['1,price'] = 60
  271. $_drink['2,name'] = 'Juice'
  272. $_drink['2,type'] = 'bev_jui'
  273. _drink['2,price'] = 80
  274. $_drink['3,name'] = 'Spiced Tea'
  275. $_drink['3,type'] = 'bev_tea'
  276. _drink['3,price'] = 120
  277. $_drink['4,name'] = 'Black Coffee'
  278. $_drink['4,type'] = 'bev_cof'
  279. _drink['4,price'] = 130
  280. $_drink['5,name'] = 'Milkshake'
  281. $_drink['5,type'] = 'bev_mil'
  282. _drink['5,price'] = 200
  283. elseif $loc = 'pushkin_cafe':
  284. '<center><B><font color=maroon>Tiny Cafe</font></B></center>'
  285. *nl
  286. '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
  287. $_eat['0,name'] = 'Onion Rings'
  288. $_eat['0,type'] = 'onring'
  289. _eat['0,price'] = 80
  290. $_eat['1,name'] = 'Vegie Burger'
  291. $_eat['1,type'] = 'vegburg'
  292. _eat['1,price'] = 240
  293. $_eat['2,name'] = 'Turkey Burger'
  294. $_eat['2,type'] = 'turburg'
  295. _eat['2,price'] = 260
  296. $_eat['3,name'] = 'Battered Fish & Fries'
  297. $_eat['3,type'] = 'batfish'
  298. _eat['3,price'] = 290
  299. $_eat['4,name'] = 'Cheeseburger & Fries'
  300. $_eat['4,type'] = 'cheburg'
  301. _eat['4,price'] = 310
  302. $_drink['0,name'] = 'Water'
  303. $_drink['0,type'] = 'bev_wat'
  304. _drink['0,price'] = 0
  305. $_drink['1,name'] = 'Kvass'
  306. $_drink['1,type'] = 'bev_kva'
  307. _drink['1,price'] = 60
  308. $_drink['2,name'] = 'Juice'
  309. $_drink['2,type'] = 'bev_jui'
  310. _drink['2,price'] = 80
  311. $_drink['3,name'] = 'Spiced Tea'
  312. $_drink['3,type'] = 'bev_tea'
  313. _drink['3,price'] = 120
  314. $_drink['4,name'] = 'Black Coffee'
  315. $_drink['4,type'] = 'bev_cof'
  316. _drink['4,price'] = 130
  317. $_drink['5,name'] = 'Milkshake'
  318. $_drink['5,type'] = 'bev_mil'
  319. _drink['5,price'] = 200
  320. elseif $loc = 'ParkKafe':
  321. '<center><B><font color=maroon>Park Cafe</font></B></center>'
  322. *nl
  323. '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
  324. $_eat['0,name'] = 'Vegetarian Piroshki'
  325. $_eat['0,type'] = 'pirosh'
  326. _eat['0,price'] = 100
  327. $_eat['1,name'] = 'Herring Blini'
  328. $_eat['1,type'] = 'bliny'
  329. _eat['1,price'] = 190
  330. $_eat['2,name'] = 'Golubtsy'
  331. $_eat['2,type'] = 'golub'
  332. _eat['2,price'] = 210
  333. $_eat['3,name'] = 'Pozharsky Cutlets'
  334. $_eat['3,type'] = 'pozhar'
  335. _eat['3,price'] = 290
  336. $_eat['4,name'] = 'Rueben Sandwich'
  337. $_eat['4,type'] = 'reuben'
  338. _eat['4,price'] = 340
  339. $_drink['0,name'] = 'Water'
  340. $_drink['0,type'] = 'bev_wat'
  341. _drink['0,price'] = 0
  342. $_drink['1,name'] = 'Kvass'
  343. $_drink['1,type'] = 'bev_kva'
  344. _drink['1,price'] = 60
  345. $_drink['2,name'] = 'Juice'
  346. $_drink['2,type'] = 'bev_jui'
  347. _drink['2,price'] = 80
  348. $_drink['3,name'] = 'Spiced Tea'
  349. $_drink['3,type'] = 'bev_tea'
  350. _drink['3,price'] = 120
  351. $_drink['4,name'] = 'Black Coffee'
  352. $_drink['4,type'] = 'bev_cof'
  353. _drink['4,price'] = 130
  354. $_drink['5,name'] = 'Milkshake'
  355. $_drink['5,type'] = 'bev_mil'
  356. _drink['5,price'] = 200
  357. elseif $loc = 'qwBarPolet':
  358. '<center><b><font color="maroon">Bar "Rabotnik"</font></b></center>'
  359. *nl
  360. '<center><img <<$set_imgh>> src="images/shared/drinks/bardrinks.jpg"</center><br>'
  361. $_eat['0,name'] = 'Toasted rye snacks'
  362. $_eat['0,type'] = 'ryesna'
  363. _eat['0,price'] = 30
  364. $_eat['1,name'] = 'Bowl of flavoured crisps'
  365. $_eat['1,type'] = 'crisps'
  366. _eat['1,price'] = 40
  367. $_drink['0,name'] = 'Water'
  368. $_drink['0,type'] = 'bev_wat'
  369. _drink['0,price'] = 0
  370. $_drink['1,name'] = 'Beer on tap'
  371. $_drink['1,type'] = 'bev_bee'
  372. _drink['1,price'] = 60
  373. $_drink['2,name'] = 'Vodka'
  374. $_drink['2,type'] = 'bev_vod'
  375. _drink['2,price'] = 120
  376. $_drink['3,name'] = 'Scotch'
  377. $_drink['3,type'] = 'bev_sco'
  378. _drink['3,price'] = 140
  379. $_drink['4,name'] = 'Glass of Wine'
  380. $_drink['4,type'] = 'bev_win'
  381. _drink['4,price'] = 160
  382. $_drink['5,name'] = 'Black Russian'
  383. $_drink['5,type'] = 'bev_bla'
  384. _drink['5,price'] = 250
  385. elseif $loc = 'restoran':
  386. '<center><b><font color="maroon">Babel</font></b></center>'
  387. *nl
  388. '<center><img <<$set_imgh>> src="images/shared/menus/babel.jpg"</center><br>'
  389. !'<center><img <<$set_imgh>> src="images/shared/drinks/fancydrinks.jpg"</center><br>'
  390. $_eat['0,name'] = 'Vareniki with Potatoes'
  391. $_eat['0,type'] = 'varenfan'
  392. _eat['0,price'] = 760
  393. $_eat['1,name'] = 'Borscht and French Baguette'
  394. $_eat['1,type'] = 'borfan'
  395. _eat['1,price'] = 900
  396. $_eat['2,name'] = 'Atlantic Salmon Steak'
  397. $_eat['2,type'] = 'salfan'
  398. _eat['2,price'] = 1000
  399. $_eat['3,name'] = 'Beef & Mushroom Stroganoff'
  400. $_eat['3,type'] = 'strofan'
  401. _eat['3,price'] = 1200
  402. $_eat['4,name'] = 'Red Caviar Blinchiki'
  403. $_eat['4,type'] = 'blifan'
  404. _eat['4,price'] = 1360
  405. $_drink['0,name'] = 'Spring Water'
  406. $_drink['0,type'] = 'bev_wat'
  407. _drink['0,price'] = 0
  408. $_drink['1,name'] = 'Imported Tea'
  409. $_drink['1,type'] = 'bev_tea'
  410. _drink['1,price'] = 180
  411. $_drink['2,name'] = 'Imported Beer'
  412. $_drink['2,type'] = 'bev_bee'
  413. _drink['2,price'] = 200
  414. $_drink['3,name'] = 'Vodka Martini'
  415. $_drink['3,type'] = 'bev_mar'
  416. _drink['3,price'] = 400
  417. $_drink['4,name'] = 'Glass of Wine'
  418. $_drink['4,type'] = 'bev_win'
  419. _drink['4,price'] = 800
  420. $_drink['5,name'] = 'Glass of Champagne'
  421. $_drink['5,type'] = 'bev_cha'
  422. _drink['5,price'] = 900
  423. elseif $loc = 'uni_cafe':
  424. '<center><b><font color="maroon">University cafe</font></b></center>'
  425. *nl
  426. '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
  427. $_eat['0,name'] = 'Vegetarian Piroshki'
  428. $_eat['0,type'] = 'pirosh'
  429. _eat['0,price'] = 100
  430. $_eat['1,name'] = 'Herring Blini'
  431. $_eat['1,type'] = 'bliny'
  432. _eat['1,price'] = 190
  433. $_eat['2,name'] = 'Golubtsy'
  434. $_eat['2,type'] = 'golub'
  435. _eat['2,price'] = 210
  436. $_eat['3,name'] = 'Pozharsky Cutlets'
  437. $_eat['3,type'] = 'pozhar'
  438. _eat['3,price'] = 290
  439. $_eat['4,name'] = 'Rueben Sandwich'
  440. $_eat['4,type'] = 'reuben'
  441. _eat['4,price'] = 340
  442. $_drink['0,name'] = 'Water'
  443. $_drink['0,type'] = 'only_cost_wat'
  444. _drink['0,price'] = 0
  445. $_drink['1,name'] = 'Kvass'
  446. $_drink['1,type'] = 'only_cost_kva'
  447. _drink['1,price'] = 60
  448. $_drink['2,name'] = 'Juice'
  449. $_drink['2,type'] = 'only_cost_jui'
  450. _drink['2,price'] = 80
  451. $_drink['3,name'] = 'Spiced Tea'
  452. $_drink['3,type'] = 'only_cost_tea'
  453. _drink['3,price'] = 120
  454. $_drink['4,name'] = 'Black Coffee'
  455. $_drink['4,type'] = 'only_cost_bco'
  456. _drink['4,price'] = 130
  457. $_drink['5,name'] = 'Milkshake'
  458. $_drink['5,type'] = 'only_cost_mil'
  459. _drink['5,price'] = 200
  460. elseif $loc = 'city_coffee_hole':
  461. $loc_arg = 'eat'
  462. '<center><B><font color=maroon>Cafe "Coffee hole"</font></B></center>'
  463. *nl
  464. '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
  465. $_eat['0,name'] = 'Biscotti'
  466. $_eat['0,type'] = 'only_cost_light_snack'
  467. _eat['0,price'] = 100
  468. $_eat['1,name'] = 'Cannoli'
  469. $_eat['1,type'] = 'only_cost_snack'
  470. _eat['1,price'] = 120
  471. $_eat['2,name'] = 'Muffin'
  472. $_eat['2,type'] = 'only_cost_snack'
  473. _eat['2,price'] = 120
  474. $_eat['3,name'] = 'Croissants'
  475. $_eat['3,type'] = 'only_cost_snack'
  476. _eat['3,price'] = 120
  477. $_eat['4,name'] = 'Danish'
  478. $_eat['4,type'] = 'only_cost_snack'
  479. _eat['4,price'] = 120
  480. $_eat['5,name'] = 'Cookies'
  481. $_eat['5,type'] = 'only_cost_light_snack'
  482. _eat['5,price'] = 100
  483. $_eat['6,name'] = 'Miagkie Plushki s Sakharom'
  484. $_eat['6,type'] = 'only_cost_snack'
  485. _eat['6,price'] = 120
  486. $_eat['7,name'] = 'Mannik'
  487. $_eat['7,type'] = 'only_cost_snack'
  488. _eat['7,price'] = 120
  489. $_eat['8,name'] = 'Korzinochki'
  490. $_eat['8,type'] = 'only_cost_snack'
  491. _eat['8,price'] = 120
  492. $_drink['0,name'] = 'Tea'
  493. $_drink['0,type'] = 'only_cost_tea'
  494. _drink['0,price'] = 120
  495. $_drink['1,name'] = 'Espresso'
  496. $_drink['1,type'] = 'only_cost_esp'
  497. _drink['1,price'] = 100
  498. $_drink['2,name'] = 'Black Coffee'
  499. $_drink['2,type'] = 'only_cost_bco'
  500. _drink['2,price'] = 120
  501. $_drink['3,name'] = 'Cappuccino'
  502. $_drink['3,type'] = 'only_cost_cof'
  503. _drink['3,price'] = 150
  504. $_drink['4,name'] = 'Cafe Latte'
  505. $_drink['4,type'] = 'only_cost_cof'
  506. _drink['4,price'] = 150
  507. $_drink['5,name'] = 'Iced Latte'
  508. $_drink['5,type'] = 'only_cost_cof'
  509. _drink['5,price'] = 150
  510. elseif $loc = 'city_nightclub':
  511. '<center><b><font color="maroon">Bar "Nightclub"</font></b></center>'
  512. *nl
  513. '<center><img <<$set_imgh>> src="images/shared/drinks/bardrinks.jpg"</center><br>'
  514. $_eat['0,name'] = 'Toasted rye snacks'
  515. $_eat['0,type'] = 'ryesna'
  516. _eat['0,price'] = 30
  517. $_drink['0,name'] = 'Water'
  518. $_drink['0,type'] = 'bev_wat'
  519. _drink['0,price'] = 0
  520. $_drink['1,name'] = 'Energy Drink'
  521. $_drink['1,type'] = 'bev_energy_drink'
  522. _drink['1,price'] = 60
  523. $_drink['2,name'] = 'Beer on tap'
  524. $_drink['2,type'] = 'bev_bee'
  525. _drink['2,price'] = 60
  526. $_drink['3,name'] = 'Vodka'
  527. $_drink['3,type'] = 'bev_vod'
  528. _drink['3,price'] = 120
  529. $_drink['4,name'] = 'Scotch'
  530. $_drink['4,type'] = 'bev_sco'
  531. _drink['4,price'] = 140
  532. $_drink['5,name'] = 'Glass of Wine'
  533. $_drink['5,type'] = 'bev_win'
  534. _drink['5,price'] = 160
  535. $_drink['6,name'] = 'Black Russian'
  536. $_drink['6,type'] = 'bev_bla'
  537. _drink['6,price'] = 250
  538. $_drink['7,name'] = 'Champagne'
  539. $_drink['7,type'] = 'bev_cha'
  540. _drink['7,price'] = 220
  541. $_drink['8,name'] = 'Vodka Martini'
  542. $_drink['8,type'] = 'bev_mar'
  543. _drink['8,price'] = 250
  544. $_drink['9,name'] = 'Fancy cocktail'
  545. $_drink['9,type'] = 'bev_cocktail'
  546. _drink['9,price'] = 300
  547. elseif $loc = 'katja_nightclub' or $loc = 'katja_nightclub_sex':
  548. '<center><b><font color="maroon">Bar "Nightclub"</font></b></center>'
  549. *nl
  550. if $loc = 'katja_nightclub_sex':
  551. '<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nightclub/hot_bartender.jpg"></center>'
  552. else
  553. '<center><img <<$set_imgh>> src="images/shared/drinks/bardrinks.jpg"</center><br>'
  554. end
  555. $_drink['0,name'] = 'Water'
  556. $_drink['0,type'] = 'only_cost_wat'
  557. _drink['0,price'] = 0
  558. $_drink['1,name'] = 'Energy Drink'
  559. $_drink['1,type'] = 'only_cost_bev_energy_drink'
  560. _drink['1,price'] = 60
  561. $_drink['2,name'] = 'Beer on tap'
  562. $_drink['2,type'] = 'only_cost_bev_bee'
  563. _drink['2,price'] = 60
  564. $_drink['3,name'] = 'Vodka'
  565. $_drink['3,type'] = 'only_cost_bev_vod'
  566. _drink['3,price'] = 120
  567. $_drink['4,name'] = 'Scotch'
  568. $_drink['4,type'] = 'only_cost_bev_sco'
  569. _drink['4,price'] = 140
  570. $_drink['5,name'] = 'Glass of Wine'
  571. $_drink['5,type'] = 'only_cost_bev_win'
  572. _drink['5,price'] = 160
  573. $_drink['6,name'] = 'Black Russian'
  574. $_drink['6,type'] = 'only_cost_bev_bla'
  575. _drink['6,price'] = 250
  576. $_drink['7,name'] = 'Champagne'
  577. $_drink['7,type'] = 'only_cost_bev_cha'
  578. _drink['7,price'] = 220
  579. $_drink['8,name'] = 'Vodka Martini'
  580. $_drink['8,type'] = 'only_cost_bev_mar'
  581. _drink['8,price'] = 250
  582. $_drink['9,name'] = 'Fancy cocktail'
  583. $_drink['9,type'] = 'only_cost_bev_cocktail'
  584. _drink['9,price'] = 300
  585. end
  586. $_str = '<center><table border="0" width="800" cellpadding="0" cellspacing="1">'
  587. food_loop = 0
  588. :loop_diner_drinks
  589. $temp_bcolor = func('themes', 'alt_color', $temp_bcolor)
  590. $_str += '<tr>'
  591. !! column 1 - food
  592. if $_eat['<<food_loop>>,name'] = '':
  593. $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="40%" align="center"></td>'
  594. $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="10%" align="right"></td>'
  595. else
  596. $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="40%" align="center">' + $_eat['<<food_loop>>,name'] + '</td>'
  597. $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="10%" align="right">'
  598. if money >= _eat['<<food_loop>>,price']:
  599. $_str += '<a href="exec:pcs_ate += 1 & gt ''food'', $_eat[''<<food_loop>>,type''], <<food_loop>>">' + iif(_eat['<<food_loop>>,price'] ! 0, str(_eat['<<food_loop>>,price']),'Free') + '</a>'
  600. else
  601. $_str += str(_eat['<<food_loop>>,price'])
  602. end
  603. $_str += iif(_eat['<<food_loop>>,price'] ! 0, '<b>&ensp;₽&ensp;</b>', '&ensp;&emsp;') + '</td>'
  604. end
  605. !! separator
  606. $_str += '<td bgcolor=<<$bcolor>> border="0" width="50" cellpadding="0" cellspacing="0"></td>'
  607. !! column 2 - drinks
  608. if $_drink['<<food_loop>>,name'] = '':
  609. $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="40%" align="center"></td>'
  610. $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="10%" align="right"></td>'
  611. else
  612. $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="40%" align="center">' + $_drink['<<food_loop>>,name'] + '</td>'
  613. $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="10%" align="right">'
  614. if money >= _drink['<<food_loop>>,price']:
  615. $_str += '<a href="exec:pcs_drank += 1 & gt ''beverage'', $_drink[''<<food_loop>>,type''], <<food_loop>>">' + iif(_drink['<<food_loop>>,price'] ! 0, str(_drink['<<food_loop>>,price']),'Free') + '</a>'
  616. else
  617. $_str += str(_drink['<<food_loop>>,price'])
  618. end
  619. $_str += iif(_drink['<<food_loop>>,price'] ! 0, '<b>&ensp;₽&ensp;</b>', '&ensp;&emsp;') + '</td>'
  620. end
  621. $_str += '</tr>'
  622. food_loop += 1
  623. if food_loop < arrsize('$_drink')/3:jump 'loop_diner_drinks'
  624. $_str += '</table></center>'
  625. '<center>Please place your order</center><br><br>'+$_str
  626. killvar '$_str'
  627. killvar 'food_loop'
  628. killvar '$temp_bcolor'
  629. --- food_menu ---------------------------------