1
0

food_menu.qsrc 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445
  1. # food_menu
  2. menu_off = 1
  3. food_loc = 1
  4. gs 'themes', 'food_menu'
  5. *clr & cla
  6. act 'Back':killvar 'food_loc' & gt $loc, $metka
  7. killvar '$_drink'
  8. killvar '$_eat'
  9. if $loc = 'burger':
  10. '<center><b><font color="maroon">Diner Bystroeshka</font></b></center>'
  11. *nl
  12. !'<center><img <<$set_imgh>> src="images/shared/menus/burger.png"</center><br>'
  13. '<center><img <<$set_imgh>> src="images/shared/drinks/dinerdrinks.jpg"</center><br>'
  14. $_eat['0,name'] = 'Onion Rings'
  15. $_eat['0,type'] = 'onring'
  16. $_eat['0,price'] = 80
  17. $_eat['1,name'] = 'Vegie Burger'
  18. $_eat['1,type'] = 'vegburg'
  19. $_eat['1,price'] = 240
  20. $_eat['2,name'] = 'Turkey Burger'
  21. $_eat['2,type'] = 'turburg'
  22. $_eat['2,price'] = 260
  23. $_eat['3,name'] = 'Battered Fish & Fries'
  24. $_eat['3,type'] = 'batfish'
  25. $_eat['3,price'] = 290
  26. $_eat['4,name'] = 'Cheeseburger & Fries'
  27. $_eat['4,type'] = 'cheburg'
  28. $_eat['4,price'] = 310
  29. $_drink['0,name'] = 'Water'
  30. $_drink['0,type'] = 'bev_wat'
  31. $_drink['0,price'] = 'Free'
  32. $_drink['1,name'] = 'Kvass'
  33. $_drink['1,type'] = 'bev_kva'
  34. $_drink['1,price'] = 55
  35. $_drink['2,name'] = 'Juice'
  36. $_drink['2,type'] = 'bev_jui'
  37. $_drink['2,price'] = 70
  38. $_drink['3,name'] = 'Spiced Tea'
  39. $_drink['3,type'] = 'bev_tea'
  40. $_drink['3,price'] = 110
  41. $_drink['4,name'] = 'Black Coffee'
  42. $_drink['4,type'] = 'bev_cof'
  43. $_drink['4,price'] = 120
  44. $_drink['5,name'] = 'Milkshake'
  45. $_drink['5,type'] = 'bev_mil'
  46. $_drink['5,price'] = 180
  47. end
  48. if $loc = 'gkafe':
  49. '<center><b><font color="maroon">Borislav''s cafe</font></b></center>'
  50. *nl
  51. '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
  52. if home_owned[2] = 1 or SchoolBlock = 1:
  53. $_eat['0,name'] = 'Vegetarian Piroshki'
  54. $_eat['0,type'] = 'pirosh'
  55. $_eat['0,price'] = 'Free'
  56. $_eat['1,name'] = 'Herring Blini'
  57. $_eat['1,type'] = 'blini'
  58. $_eat['1,price'] = 'Free'
  59. $_eat['2,name'] = 'Golubtsy'
  60. $_eat['2,type'] = 'golub'
  61. $_eat['2,price'] = 'Free'
  62. $_eat['3,name'] = 'Pozharsky Cutlets'
  63. $_eat['3,type'] = 'pozhar'
  64. $_eat['3,price'] = 'Free'
  65. $_eat['4,name'] = 'Rueben Sandwich'
  66. $_eat['4,type'] = 'reuben'
  67. $_eat['4,price'] = 'Free'
  68. $_drink['0,name'] = 'Water'
  69. $_drink['0,type'] = 'bev_wat'
  70. $_drink['0,price'] = 'Free'
  71. $_drink['1,name'] = 'Kvass'
  72. $_drink['1,type'] = 'bev_kva'
  73. $_drink['1,price'] = 'Free'
  74. $_drink['2,name'] = 'Juice'
  75. $_drink['2,type'] = 'bev_jui'
  76. $_drink['2,price'] = 'Free'
  77. $_drink['3,name'] = 'Spiced Tea'
  78. $_drink['3,type'] = 'bev_tea'
  79. $_drink['3,price'] = 'Free'
  80. $_drink['4,name'] = 'Black Coffee'
  81. $_drink['4,type'] = 'bev_cof'
  82. $_drink['4,price'] = 'Free'
  83. $_drink['5,name'] = 'Milkshake'
  84. $_drink['5,type'] = 'bev_mil'
  85. $_drink['5,price'] = 'Free'
  86. else
  87. $_eat['0,name'] = 'Vegetarian Piroshki'
  88. $_eat['0,type'] = 'pirosh'
  89. $_eat['0,price'] = 100
  90. $_eat['1,name'] = 'Herring Blini'
  91. $_eat['1,type'] = 'blini'
  92. $_eat['1,price'] = 190
  93. $_eat['2,name'] = 'Golubtsy'
  94. $_eat['2,type'] = 'golub'
  95. $_eat['2,price'] = 210
  96. $_eat['3,name'] = 'Pozharsky Cutlets'
  97. $_eat['3,type'] = 'pozhar'
  98. $_eat['3,price'] = 290
  99. $_eat['4,name'] = 'Rueben Sandwich'
  100. $_eat['4,type'] = 'reuben'
  101. $_eat['4,price'] = 340
  102. $_drink['0,name'] = 'Water'
  103. $_drink['0,type'] = 'bev_wat'
  104. $_drink['0,price'] = 'Free'
  105. $_drink['1,name'] = 'Kvass'
  106. $_drink['1,type'] = 'bev_kva'
  107. $_drink['1,price'] = 60
  108. $_drink['2,name'] = 'Juice'
  109. $_drink['2,type'] = 'bev_jui'
  110. $_drink['2,price'] = 80
  111. $_drink['3,name'] = 'Spiced Tea'
  112. $_drink['3,type'] = 'bev_tea'
  113. $_drink['3,price'] = 120
  114. $_drink['4,name'] = 'Black Coffee'
  115. $_drink['4,type'] = 'bev_cof'
  116. $_drink['4,price'] = 130
  117. $_drink['5,name'] = 'Milkshake'
  118. $_drink['5,type'] = 'bev_mil'
  119. $_drink['5,price'] = 200
  120. end
  121. end
  122. if $loc = 'brothel':
  123. '<center><h3>Hotel Bar</h3></center>'
  124. *nl
  125. '<center><img <<$set_imgh>> src="images/shared/drinks/bardrinks.jpg"</center><br>'
  126. $_eat['0,name'] = 'Toasted rye snacks'
  127. $_eat['0,type'] = 'ryesna'
  128. $_eat['0,price'] = 30
  129. $_eat['1,name'] = 'Bowl of flavoured crisps'
  130. $_eat['1,type'] = 'crisps'
  131. $_eat['1,price'] = 40
  132. $_drink['0,name'] = 'Water'
  133. $_drink['0,type'] = 'bev_wat'
  134. $_drink['0,price'] = 'Free'
  135. $_drink['1,name'] = 'Beer on tap'
  136. $_drink['1,type'] = 'bev_bee'
  137. $_drink['1,price'] = 60
  138. $_drink['2,name'] = 'Vodka'
  139. $_drink['2,type'] = 'bev_vod'
  140. $_drink['2,price'] = 120
  141. $_drink['3,name'] = 'Scotch'
  142. $_drink['3,type'] = 'bev_sco'
  143. $_drink['3,price'] = 140
  144. $_drink['4,name'] = 'Glass of Wine'
  145. $_drink['4,type'] = 'bev_win'
  146. $_drink['4,price'] = 160
  147. $_drink['5,name'] = 'Black Russian'
  148. $_drink['5,type'] = 'bev_bla'
  149. $_drink['5,price'] = 250
  150. if hotelWhore = 1:
  151. $_drink['6,name'] = 'Blue-blooded Russian'
  152. $_drink['6,type'] = 'bev_bbr'
  153. $_drink['6,price'] = 'Free'
  154. end
  155. end
  156. if $loc = 'cafe_parco':
  157. '<center><h4><font color="maroon">Cafe "Del Parco"</font></h4></center>'
  158. *nl
  159. '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
  160. $_eat['0,name'] = 'Vegetarian Piroshki'
  161. $_eat['0,type'] = 'pirosh'
  162. $_eat['0,price'] = 100
  163. $_eat['1,name'] = 'Herring Blini'
  164. $_eat['1,type'] = 'blini'
  165. $_eat['1,price'] = 190
  166. $_eat['2,name'] = 'Golubtsy'
  167. $_eat['2,type'] = 'golub'
  168. $_eat['2,price'] = 210
  169. $_eat['3,name'] = 'Pozharsky Cutlets'
  170. $_eat['3,type'] = 'pozhar'
  171. $_eat['3,price'] = 290
  172. $_eat['4,name'] = 'Rueben Sandwich'
  173. $_eat['4,type'] = 'reuben'
  174. $_eat['4,price'] = 340
  175. $_drink['0,name'] = 'Water'
  176. $_drink['0,type'] = 'bev_wat'
  177. $_drink['0,price'] = 'Free'
  178. $_drink['1,name'] = 'Kvass'
  179. $_drink['1,type'] = 'bev_kva'
  180. $_drink['1,price'] = 60
  181. $_drink['2,name'] = 'Juice'
  182. $_drink['2,type'] = 'bev_jui'
  183. $_drink['2,price'] = 80
  184. $_drink['3,name'] = 'Spiced Tea'
  185. $_drink['3,type'] = 'bev_tea'
  186. $_drink['3,price'] = 120
  187. $_drink['4,name'] = 'Black Coffee'
  188. $_drink['4,type'] = 'bev_cof'
  189. $_drink['4,price'] = 130
  190. $_drink['5,name'] = 'Milkshake'
  191. $_drink['5,type'] = 'bev_mil'
  192. $_drink['5,price'] = 200
  193. end
  194. if $loc = 'kafe':
  195. '<center><b><font color="maroon">The Roadhouse</font></b></center>'
  196. *nl
  197. '<center><img <<$set_imgh>> src="images/shared/drinks/dinerdrinks.jpg"</center><br>'
  198. $_eat['0,name'] = 'Onion Rings'
  199. $_eat['0,type'] = 'onring'
  200. $_eat['0,price'] = 80
  201. $_eat['1,name'] = 'Vegie Burger'
  202. $_eat['1,type'] = 'vegburg'
  203. $_eat['1,price'] = 240
  204. $_eat['2,name'] = 'Turkey Burger'
  205. $_eat['2,type'] = 'turburg'
  206. $_eat['2,price'] = 260
  207. $_eat['3,name'] = 'Battered Fish & Fries'
  208. $_eat['3,type'] = 'batfish'
  209. $_eat['3,price'] = 290
  210. $_eat['4,name'] = 'Cheeseburger & Fries'
  211. $_eat['4,type'] = 'cheburg'
  212. $_eat['4,price'] = 310
  213. $_drink['0,name'] = 'Water'
  214. $_drink['0,type'] = 'bev_wat'
  215. $_drink['0,price'] = 'Free'
  216. $_drink['1,name'] = 'Kvass'
  217. $_drink['1,type'] = 'bev_kva'
  218. $_drink['1,price'] = 55
  219. $_drink['2,name'] = 'Juice'
  220. $_drink['2,type'] = 'bev_jui'
  221. $_drink['2,price'] = 70
  222. $_drink['3,name'] = 'Spiced Tea'
  223. $_drink['3,type'] = 'bev_tea'
  224. $_drink['3,price'] = 110
  225. $_drink['4,name'] = 'Black Coffee'
  226. $_drink['4,type'] = 'bev_cof'
  227. $_drink['4,price'] = 120
  228. $_drink['5,name'] = 'Milkshake'
  229. $_drink['5,type'] = 'bev_mil'
  230. $_drink['5,price'] = 180
  231. end
  232. if $loc = 'lakecafe':
  233. '<center><B><font color=maroon>The Lake Cafe</font></B></center>'
  234. *nl
  235. '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
  236. $_eat['0,name'] = 'Vegetarian Piroshki'
  237. $_eat['0,type'] = 'pirosh'
  238. $_eat['0,price'] = 100
  239. $_eat['1,name'] = 'Herring Blini'
  240. $_eat['1,type'] = 'blini'
  241. $_eat['1,price'] = 190
  242. $_eat['2,name'] = 'Golubtsy'
  243. $_eat['2,type'] = 'golub'
  244. $_eat['2,price'] = 210
  245. $_eat['3,name'] = 'Pozharsky Cutlets'
  246. $_eat['3,type'] = 'pozhar'
  247. $_eat['3,price'] = 290
  248. $_eat['4,name'] = 'Rueben Sandwich'
  249. $_eat['4,type'] = 'reuben'
  250. $_eat['4,price'] = 340
  251. $_drink['0,name'] = 'Water'
  252. $_drink['0,type'] = 'bev_wat'
  253. $_drink['0,price'] = 'Free'
  254. $_drink['1,name'] = 'Kvass'
  255. $_drink['1,type'] = 'bev_kva'
  256. $_drink['1,price'] = 60
  257. $_drink['2,name'] = 'Juice'
  258. $_drink['2,type'] = 'bev_jui'
  259. $_drink['2,price'] = 80
  260. $_drink['3,name'] = 'Spiced Tea'
  261. $_drink['3,type'] = 'bev_tea'
  262. $_drink['3,price'] = 120
  263. $_drink['4,name'] = 'Black Coffee'
  264. $_drink['4,type'] = 'bev_cof'
  265. $_drink['4,price'] = 130
  266. $_drink['5,name'] = 'Milkshake'
  267. $_drink['5,type'] = 'bev_mil'
  268. $_drink['5,price'] = 200
  269. end
  270. if $loc = 'liamelkafe':
  271. '<center><B><font color=maroon>Tiny Cafe</font></B></center>'
  272. *nl
  273. '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
  274. $_eat['0,name'] = 'Onion Rings'
  275. $_eat['0,type'] = 'onring'
  276. $_eat['0,price'] = 80
  277. $_eat['1,name'] = 'Vegie Burger'
  278. $_eat['1,type'] = 'vegburg'
  279. $_eat['1,price'] = 240
  280. $_eat['2,name'] = 'Turkey Burger'
  281. $_eat['2,type'] = 'turburg'
  282. $_eat['2,price'] = 260
  283. $_eat['3,name'] = 'Battered Fish & Fries'
  284. $_eat['3,type'] = 'batfish'
  285. $_eat['3,price'] = 290
  286. $_eat['4,name'] = 'Cheeseburger & Fries'
  287. $_eat['4,type'] = 'cheburg'
  288. $_eat['4,price'] = 310
  289. $_drink['0,name'] = 'Water'
  290. $_drink['0,type'] = 'bev_wat'
  291. $_drink['0,price'] = 'Free'
  292. $_drink['1,name'] = 'Kvass'
  293. $_drink['1,type'] = 'bev_kva'
  294. $_drink['1,price'] = 60
  295. $_drink['2,name'] = 'Juice'
  296. $_drink['2,type'] = 'bev_jui'
  297. $_drink['2,price'] = 80
  298. $_drink['3,name'] = 'Spiced Tea'
  299. $_drink['3,type'] = 'bev_tea'
  300. $_drink['3,price'] = 120
  301. $_drink['4,name'] = 'Black Coffee'
  302. $_drink['4,type'] = 'bev_cof'
  303. $_drink['4,price'] = 130
  304. $_drink['5,name'] = 'Milkshake'
  305. $_drink['5,type'] = 'bev_mil'
  306. $_drink['5,price'] = 200
  307. end
  308. if $loc = 'ParkKafe':
  309. '<center><B><font color=maroon>Park Cafe</font></B></center>'
  310. *nl
  311. '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
  312. $_eat['0,name'] = 'Vegetarian Piroshki'
  313. $_eat['0,type'] = 'pirosh'
  314. $_eat['0,price'] = 100
  315. $_eat['1,name'] = 'Herring Blini'
  316. $_eat['1,type'] = 'blini'
  317. $_eat['1,price'] = 190
  318. $_eat['2,name'] = 'Golubtsy'
  319. $_eat['2,type'] = 'golub'
  320. $_eat['2,price'] = 210
  321. $_eat['3,name'] = 'Pozharsky Cutlets'
  322. $_eat['3,type'] = 'pozhar'
  323. $_eat['3,price'] = 290
  324. $_eat['4,name'] = 'Rueben Sandwich'
  325. $_eat['4,type'] = 'reuben'
  326. $_eat['4,price'] = 340
  327. $_drink['0,name'] = 'Water'
  328. $_drink['0,type'] = 'bev_wat'
  329. $_drink['0,price'] = 'Free'
  330. $_drink['1,name'] = 'Kvass'
  331. $_drink['1,type'] = 'bev_kva'
  332. $_drink['1,price'] = 60
  333. $_drink['2,name'] = 'Juice'
  334. $_drink['2,type'] = 'bev_jui'
  335. $_drink['2,price'] = 80
  336. $_drink['3,name'] = 'Spiced Tea'
  337. $_drink['3,type'] = 'bev_tea'
  338. $_drink['3,price'] = 120
  339. $_drink['4,name'] = 'Black Coffee'
  340. $_drink['4,type'] = 'bev_cof'
  341. $_drink['4,price'] = 130
  342. $_drink['5,name'] = 'Milkshake'
  343. $_drink['5,type'] = 'bev_mil'
  344. $_drink['5,price'] = 200
  345. end
  346. if $loc = 'qwBarPolet':
  347. '<center><b><font color="maroon">Bar "Rabotnik"</font></b></center>'
  348. *nl
  349. '<center><img <<$set_imgh>> src="images/shared/drinks/bardrinks.jpg"</center><br>'
  350. $_eat['0,name'] = 'Toasted rye snacks'
  351. $_eat['0,type'] = 'ryesna'
  352. $_eat['0,price'] = 30
  353. $_eat['1,name'] = 'Bowl of flavoured crisps'
  354. $_eat['1,type'] = 'crisps'
  355. $_eat['1,price'] = 40
  356. $_drink['0,name'] = 'Water'
  357. $_drink['0,type'] = 'bev_wat'
  358. $_drink['0,price'] = 'Free'
  359. $_drink['1,name'] = 'Beer on tap'
  360. $_drink['1,type'] = 'bev_bee'
  361. $_drink['1,price'] = 60
  362. $_drink['2,name'] = 'Vodka'
  363. $_drink['2,type'] = 'bev_vod'
  364. $_drink['2,price'] = 120
  365. $_drink['3,name'] = 'Scotch'
  366. $_drink['3,type'] = 'bev_sco'
  367. $_drink['3,price'] = 140
  368. $_drink['4,name'] = 'Glass of Wine'
  369. $_drink['4,type'] = 'bev_win'
  370. $_drink['4,price'] = 160
  371. $_drink['5,name'] = 'Black Russian'
  372. $_drink['5,type'] = 'bev_bla'
  373. $_drink['5,price'] = 250
  374. end
  375. if $loc = 'restoran':
  376. '<center><b><font color="maroon">Babel</font></b></center>'
  377. *nl
  378. '<center><img <<$set_imgh>> src="images/shared/drinks/fancydrinks.jpg"</center><br>'
  379. $_eat['0,name'] = 'Vareniki with Potatoes'
  380. $_eat['0,type'] = 'varenfan'
  381. $_eat['0,price'] = 760
  382. $_eat['1,name'] = 'Borscht and French Baguette'
  383. $_eat['1,type'] = 'borfan'
  384. $_eat['1,price'] = 900
  385. $_eat['2,name'] = 'Atlantic Salmon Steak'
  386. $_eat['2,type'] = 'salfan'
  387. $_eat['2,price'] = 1000
  388. $_eat['3,name'] = 'Beef & Mushroom Stroganoff'
  389. $_eat['3,type'] = 'strofan'
  390. $_eat['3,price'] = 1200
  391. $_eat['4,name'] = 'Red Caviar Blinchiki'
  392. $_eat['4,type'] = 'blifan'
  393. $_eat['4,price'] = 1360
  394. $_drink['0,name'] = 'Spring Water'
  395. $_drink['0,type'] = 'bev_wat'
  396. $_drink['0,price'] = 'Free'
  397. $_drink['1,name'] = 'Imported Tea'
  398. $_drink['1,type'] = 'bev_tea'
  399. $_drink['1,price'] = 180
  400. $_drink['2,name'] = 'Imported Beer'
  401. $_drink['2,type'] = 'bev_bee'
  402. $_drink['2,price'] = 200
  403. $_drink['3,name'] = 'Vodka Martini'
  404. $_drink['3,type'] = 'bev_mar'
  405. $_drink['3,price'] = 400
  406. $_drink['4,name'] = 'Glass of Wine'
  407. $_drink['4,type'] = 'bev_win'
  408. $_drink['4,price'] = 800
  409. $_drink['5,name'] = 'Glass of Champagne'
  410. $_drink['5,type'] = 'bev_cha'
  411. $_drink['5,price'] = 900
  412. end
  413. $_str = '<table border="0" width="800" cellpadding="0" cellspacing="1">'
  414. food_loop = 0
  415. :loop_diner_drinks
  416. $_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: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: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>'
  417. food_loop += 1
  418. if food_loop < arrsize('$_drink')/3:jump 'loop_diner_drinks'
  419. $_str += '</table></center></font>'
  420. 'Please place your order:<br><br>'+$_str
  421. killvar '$_str'
  422. killvar 'food_loop'
  423. killvar '$fcolor1'
  424. killvar '$bcolor1'
  425. killvar '$bcolor2'
  426. killvar '$bcolor3'
  427. --- food_menu ---------------------------------