1
0

food_menu.qsrc 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459
  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. gs 'themes', 'food_menu'
  14. if $ARGS[0] ! 'mod':
  15. *clr & cla
  16. food_loc = 1
  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'] = 'Free'
  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 storyline = 1 and home_owned[2] = 1:
  69. $_eat['0,name'] = 'Vegetarian Piroshki'
  70. $_eat['0,type'] = 'pirosh'
  71. $_eat['0,price'] = 'Free'
  72. $_eat['1,name'] = 'Herring Blini'
  73. $_eat['1,type'] = 'bliny'
  74. $_eat['1,price'] = 'Free'
  75. $_eat['2,name'] = 'Golubtsy'
  76. $_eat['2,type'] = 'golub'
  77. $_eat['2,price'] = 'Free'
  78. $_eat['3,name'] = 'Pozharsky Cutlets'
  79. $_eat['3,type'] = 'pozhar'
  80. $_eat['3,price'] = 'Free'
  81. $_eat['4,name'] = 'Rueben Sandwich'
  82. $_eat['4,type'] = 'reuben'
  83. $_eat['4,price'] = 'Free'
  84. $_drink['0,name'] = 'Water'
  85. $_drink['0,type'] = 'bev_wat'
  86. $_drink['0,price'] = 'Free'
  87. $_drink['1,name'] = 'Kvass'
  88. $_drink['1,type'] = 'bev_kva'
  89. $_drink['1,price'] = 'Free'
  90. $_drink['2,name'] = 'Juice'
  91. $_drink['2,type'] = 'bev_jui'
  92. $_drink['2,price'] = 'Free'
  93. $_drink['3,name'] = 'Spiced Tea'
  94. $_drink['3,type'] = 'bev_tea'
  95. $_drink['3,price'] = 'Free'
  96. $_drink['4,name'] = 'Black Coffee'
  97. $_drink['4,type'] = 'bev_cof'
  98. $_drink['4,price'] = 'Free'
  99. $_drink['5,name'] = 'Milkshake'
  100. $_drink['5,type'] = 'bev_mil'
  101. $_drink['5,price'] = 'Free'
  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'] = 'Free'
  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'] = 'Free'
  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'] = 'Free'
  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'] = 'Free'
  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'] = 'Free'
  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'] = 'Free'
  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 = 'liamelkafe':
  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'] = 'Free'
  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'] = 'Free'
  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'] = 'Free'
  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'] = 'Free'
  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. end
  424. $_str = '<center><table border="0" width="800" cellpadding="0" cellspacing="1">'
  425. food_loop = 0
  426. :loop_diner_drinks
  427. $_str += '<tr><td bgcolor='+iif(food_loop mod 2 = 0,'<<$bcolor1>>','<<$bcolor2>>')+' height="30" width="40%" align="center"><font color="<<$fcolor1>>">'+$_eat['<<food_loop>>,name']+'</td><td bgcolor='+iif(food_loop mod 2 = 0,'<<$bcolor1>>','<<$bcolor2>>')+' height="30" width="10%" align="right">'+iif(money >= val($_eat['<<food_loop>>,price']),'<a href="exec:pcs_ate += 1 & gt''food'',$_eat[''<<food_loop>>,type''],<<food_loop>>">'+$_eat['<<food_loop>>,price']+'</a>',$_eat['<<food_loop>>,price'])+''+iif($_eat['<<food_loop>>,price'] ! '','<font color="<<$fcolor1>>"><b> ₽. </b>', '')+'</td><td bgcolor=<<$bcolor3>> border="0" width="50" cellpadding="0" cellspacing="0" ></td><td bgcolor='+iif(food_loop mod 2 = 0,'<<$bcolor1>>','<<$bcolor2>>')+' height="30" width="40%" align="center"><font color="<<$fcolor1>>">'+$_drink['<<food_loop>>,name']+'</td><td bgcolor='+iif(food_loop mod 2 = 0,'<<$bcolor1>>','<<$bcolor2>>')+' height="30" width="10%" align="right">'+iif(money >= val($_drink['<<food_loop>>,price']),'<a href="exec:pcs_drank += 1 & gt''beverage'',$_drink[''<<food_loop>>,type''],<<food_loop>>">'+$_drink['<<food_loop>>,price']+'</a>',$_drink['<<food_loop>>,price'])+''+iif($_drink['<<food_loop>>,price'] ! '','<font color="<<$fcolor1>>"><b> ₽. </b>', '')+'</td></tr>'
  428. food_loop += 1
  429. if food_loop < arrsize('$_drink')/3:jump 'loop_diner_drinks'
  430. $_str += '</table></center></font>'
  431. '<center>Please place your order</center>:<br><br>'+$_str
  432. killvar '$_str'
  433. killvar 'food_loop'
  434. killvar '$fcolor1'
  435. killvar '$bcolor1'
  436. killvar '$bcolor2'
  437. killvar '$bcolor3'
  438. --- food_menu ---------------------------------