123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658 |
- # food_menu
- !!pcs_drank and pcs_ate variables track how much Sveta consumes each day. Vars are reset each day.
- !!food_loc returns food and beverage menus back to the food_menu.
- !!How to use the food_menu location in a mod
- !!Step 1: set up $_eat and $_drink in the mod
- !!Step 2: add the following three lines to the mod:
- !!*clr & cla
- !!killvar '$_drink'
- !!killvar '$_eat'
- !!Step 3: call your own $_eat and $_drink afterwards
- !!Step 4: call this location with gs 'food_menu', 'mod'
- menu_off = 1
- if $ARGS[0] ! 'mod':
- *clr & cla
- food_loc = 1
- $food_loc = $loc
- killvar '$_drink'
- killvar '$_eat'
- end
- act 'Return':
- killvar 'food_loc'
- minut += 5
- gt $loc, $loc_arg
- end
- if $loc = 'burger':
- '<center><b><font color="maroon">Diner Bystroeshka</font></b></center>'
- *nl
- '<center><img <<$set_imgh>> src="images/shared/menus/burger.jpg"</center><br>'
- !'<center><img <<$set_imgh>> src="images/shared/drinks/dinerdrinks.jpg"</center><br>'
- $_eat['0,name'] = 'Onion Rings'
- $_eat['0,type'] = 'onring'
- _eat['0,price'] = 80
- $_eat['1,name'] = 'Vegie Burger'
- $_eat['1,type'] = 'vegburg'
- _eat['1,price'] = 240
- $_eat['2,name'] = 'Turkey Burger'
- $_eat['2,type'] = 'turburg'
- _eat['2,price'] = 260
- $_eat['3,name'] = 'Battered Fish & Fries'
- $_eat['3,type'] = 'batfish'
- _eat['3,price'] = 290
- $_eat['4,name'] = 'Cheeseburger & Fries'
- $_eat['4,type'] = 'cheburg'
- _eat['4,price'] = 310
- $_drink['0,name'] = 'Water'
- $_drink['0,type'] = 'bev_wat'
- _drink['0,price'] = 0
- $_drink['1,name'] = 'Kvass'
- $_drink['1,type'] = 'bev_kva'
- _drink['1,price'] = 55
- $_drink['2,name'] = 'Juice'
- $_drink['2,type'] = 'bev_jui'
- _drink['2,price'] = 70
- $_drink['3,name'] = 'Spiced Tea'
- $_drink['3,type'] = 'bev_tea'
- _drink['3,price'] = 110
- $_drink['4,name'] = 'Black Coffee'
- $_drink['4,type'] = 'bev_cof'
- _drink['4,price'] = 120
- $_drink['5,name'] = 'Milkshake'
- $_drink['5,type'] = 'bev_mil'
- _drink['5,price'] = 180
- elseif $loc = 'gkafe':
- '<center><b><font color="maroon">Borislav''s cafe</font></b></center>'
- *nl
- '<center><img <<$set_imgh>> src="images/shared/menus/borislav.jpg"</center><br>'
- !'<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
- if mid($start_type,1,2) = 'sg' and func('homes_properties', 'has_access', 'parents_home'):
- $_eat['0,name'] = 'Vegetarian Piroshki'
- $_eat['0,type'] = 'pirosh'
- _eat['0,price'] = 0
- $_eat['1,name'] = 'Herring Blini'
- $_eat['1,type'] = 'bliny'
- _eat['1,price'] = 0
- $_eat['2,name'] = 'Golubtsy'
- $_eat['2,type'] = 'golub'
- _eat['2,price'] = 0
- $_eat['3,name'] = 'Pozharsky Cutlets'
- $_eat['3,type'] = 'pozhar'
- _eat['3,price'] = 0
- $_eat['4,name'] = 'Rueben Sandwich'
- $_eat['4,type'] = 'reuben'
- _eat['4,price'] = 0
- $_drink['0,name'] = 'Water'
- $_drink['0,type'] = 'bev_wat'
- _drink['0,price'] = 0
- $_drink['1,name'] = 'Kvass'
- $_drink['1,type'] = 'bev_kva'
- _drink['1,price'] = 0
- $_drink['2,name'] = 'Juice'
- $_drink['2,type'] = 'bev_jui'
- _drink['2,price'] = 0
- $_drink['3,name'] = 'Spiced Tea'
- $_drink['3,type'] = 'bev_tea'
- _drink['3,price'] = 0
- $_drink['4,name'] = 'Black Coffee'
- $_drink['4,type'] = 'bev_cof'
- _drink['4,price'] = 0
- $_drink['5,name'] = 'Milkshake'
- $_drink['5,type'] = 'bev_mil'
- _drink['5,price'] = 0
- else
- $_eat['0,name'] = 'Vegetarian Piroshki'
- $_eat['0,type'] = 'pirosh'
- _eat['0,price'] = 100
- $_eat['1,name'] = 'Herring Blini'
- $_eat['1,type'] = 'bliny'
- _eat['1,price'] = 190
- $_eat['2,name'] = 'Golubtsy'
- $_eat['2,type'] = 'golub'
- _eat['2,price'] = 210
- $_eat['3,name'] = 'Pozharsky Cutlets'
- $_eat['3,type'] = 'pozhar'
- _eat['3,price'] = 290
- $_eat['4,name'] = 'Rueben Sandwich'
- $_eat['4,type'] = 'reuben'
- _eat['4,price'] = 340
- $_drink['0,name'] = 'Water'
- $_drink['0,type'] = 'bev_wat'
- _drink['0,price'] = 0
- $_drink['1,name'] = 'Kvass'
- $_drink['1,type'] = 'bev_kva'
- _drink['1,price'] = 60
- $_drink['2,name'] = 'Juice'
- $_drink['2,type'] = 'bev_jui'
- _drink['2,price'] = 80
- $_drink['3,name'] = 'Spiced Tea'
- $_drink['3,type'] = 'bev_tea'
- _drink['3,price'] = 120
- $_drink['4,name'] = 'Black Coffee'
- $_drink['4,type'] = 'bev_cof'
- _drink['4,price'] = 130
- $_drink['5,name'] = 'Milkshake'
- $_drink['5,type'] = 'bev_mil'
- _drink['5,price'] = 200
- end
- elseif $loc = 'brothel':
- '<center><h3>Hotel Bar</h3></center>'
- *nl
- '<center><img <<$set_imgh>> src="images/shared/drinks/bardrinks.jpg"</center><br>'
- $_eat['0,name'] = 'Toasted rye snacks'
- $_eat['0,type'] = 'ryesna'
- _eat['0,price'] = 30
- $_eat['1,name'] = 'Bowl of flavoured crisps'
- $_eat['1,type'] = 'crisps'
- _eat['1,price'] = 40
- $_drink['0,name'] = 'Water'
- $_drink['0,type'] = 'bev_wat'
- _drink['0,price'] = 0
- $_drink['1,name'] = 'Beer on tap'
- $_drink['1,type'] = 'bev_bee'
- _drink['1,price'] = 60
- $_drink['2,name'] = 'Vodka'
- $_drink['2,type'] = 'bev_vod'
- _drink['2,price'] = 120
- $_drink['3,name'] = 'Scotch'
- $_drink['3,type'] = 'bev_sco'
- _drink['3,price'] = 140
- $_drink['4,name'] = 'Glass of Wine'
- $_drink['4,type'] = 'bev_win'
- _drink['4,price'] = 160
- $_drink['5,name'] = 'Black Russian'
- $_drink['5,type'] = 'bev_bla'
- _drink['5,price'] = 250
- if hotelWhore = 1:
- $_drink['6,name'] = 'Blue-blooded Russian'
- $_drink['6,type'] = 'bev_bbr'
- _drink['6,price'] = 0
- end
- elseif $loc = 'cafe_parco':
- '<center><h4><font color="maroon">Cafe "Del Parco"</font></h4></center>'
- *nl
- '<center><img <<$set_imgh>> src="images/shared/menus/del_parco.jpg"</center><br>'
- !'<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
- $_eat['0,name'] = 'Vegetarian Piroshki'
- $_eat['0,type'] = 'pirosh'
- _eat['0,price'] = 100
- $_eat['1,name'] = 'Herring Blini'
- $_eat['1,type'] = 'bliny'
- _eat['1,price'] = 190
- $_eat['2,name'] = 'Golubtsy'
- $_eat['2,type'] = 'golub'
- _eat['2,price'] = 210
- $_eat['3,name'] = 'Pozharsky Cutlets'
- $_eat['3,type'] = 'pozhar'
- _eat['3,price'] = 290
- $_eat['4,name'] = 'Rueben Sandwich'
- $_eat['4,type'] = 'reuben'
- _eat['4,price'] = 340
- $_drink['0,name'] = 'Water'
- $_drink['0,type'] = 'bev_wat'
- _drink['0,price'] = 0
- $_drink['1,name'] = 'Kvass'
- $_drink['1,type'] = 'bev_kva'
- _drink['1,price'] = 60
- $_drink['2,name'] = 'Juice'
- $_drink['2,type'] = 'bev_jui'
- _drink['2,price'] = 80
- $_drink['3,name'] = 'Spiced Tea'
- $_drink['3,type'] = 'bev_tea'
- _drink['3,price'] = 120
- $_drink['4,name'] = 'Black Coffee'
- $_drink['4,type'] = 'bev_cof'
- _drink['4,price'] = 130
- $_drink['5,name'] = 'Milkshake'
- $_drink['5,type'] = 'bev_mil'
- _drink['5,price'] = 200
- elseif $loc = 'city_kafe':
- '<center><b><font color="maroon">The Roadhouse</font></b></center>'
- *nl
- '<center><img <<$set_imgh>> src="images/shared/menus/roadhouse.jpg"</center><br>'
- !'<center><img <<$set_imgh>> src="images/shared/drinks/dinerdrinks.jpg"</center><br>'
- $_eat['0,name'] = 'Onion Rings'
- $_eat['0,type'] = 'onring'
- _eat['0,price'] = 80
- $_eat['1,name'] = 'Vegie Burger'
- $_eat['1,type'] = 'vegburg'
- _eat['1,price'] = 240
- $_eat['2,name'] = 'Turkey Burger'
- $_eat['2,type'] = 'turburg'
- _eat['2,price'] = 260
- $_eat['3,name'] = 'Battered Fish & Fries'
- $_eat['3,type'] = 'batfish'
- _eat['3,price'] = 290
- $_eat['4,name'] = 'Cheeseburger & Fries'
- $_eat['4,type'] = 'cheburg'
- _eat['4,price'] = 310
- $_drink['0,name'] = 'Water'
- $_drink['0,type'] = 'bev_wat'
- _drink['0,price'] = 0
- $_drink['1,name'] = 'Kvass'
- $_drink['1,type'] = 'bev_kva'
- _drink['1,price'] = 55
- $_drink['2,name'] = 'Juice'
- $_drink['2,type'] = 'bev_jui'
- _drink['2,price'] = 70
- $_drink['3,name'] = 'Spiced Tea'
- $_drink['3,type'] = 'bev_tea'
- _drink['3,price'] = 110
- $_drink['4,name'] = 'Black Coffee'
- $_drink['4,type'] = 'bev_cof'
- _drink['4,price'] = 120
- $_drink['5,name'] = 'Milkshake'
- $_drink['5,type'] = 'bev_mil'
- _drink['5,price'] = 180
- elseif $loc = 'lakecafe':
- '<center><B><font color=maroon>The Lake Cafe</font></B></center>'
- *nl
- '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
- $_eat['0,name'] = 'Vegetarian Piroshki'
- $_eat['0,type'] = 'pirosh'
- _eat['0,price'] = 100
- $_eat['1,name'] = 'Herring Blini'
- $_eat['1,type'] = 'bliny'
- _eat['1,price'] = 190
- $_eat['2,name'] = 'Golubtsy'
- $_eat['2,type'] = 'golub'
- _eat['2,price'] = 210
- $_eat['3,name'] = 'Pozharsky Cutlets'
- $_eat['3,type'] = 'pozhar'
- _eat['3,price'] = 290
- $_eat['4,name'] = 'Rueben Sandwich'
- $_eat['4,type'] = 'reuben'
- _eat['4,price'] = 340
- $_drink['0,name'] = 'Water'
- $_drink['0,type'] = 'bev_wat'
- _drink['0,price'] = 0
- $_drink['1,name'] = 'Kvass'
- $_drink['1,type'] = 'bev_kva'
- _drink['1,price'] = 60
- $_drink['2,name'] = 'Juice'
- $_drink['2,type'] = 'bev_jui'
- _drink['2,price'] = 80
- $_drink['3,name'] = 'Spiced Tea'
- $_drink['3,type'] = 'bev_tea'
- _drink['3,price'] = 120
- $_drink['4,name'] = 'Black Coffee'
- $_drink['4,type'] = 'bev_cof'
- _drink['4,price'] = 130
- $_drink['5,name'] = 'Milkshake'
- $_drink['5,type'] = 'bev_mil'
- _drink['5,price'] = 200
- elseif $loc = 'pushkin_cafe':
- '<center><B><font color=maroon>Tiny Cafe</font></B></center>'
- *nl
- '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
- $_eat['0,name'] = 'Onion Rings'
- $_eat['0,type'] = 'onring'
- _eat['0,price'] = 80
- $_eat['1,name'] = 'Vegie Burger'
- $_eat['1,type'] = 'vegburg'
- _eat['1,price'] = 240
- $_eat['2,name'] = 'Turkey Burger'
- $_eat['2,type'] = 'turburg'
- _eat['2,price'] = 260
- $_eat['3,name'] = 'Battered Fish & Fries'
- $_eat['3,type'] = 'batfish'
- _eat['3,price'] = 290
- $_eat['4,name'] = 'Cheeseburger & Fries'
- $_eat['4,type'] = 'cheburg'
- _eat['4,price'] = 310
- $_drink['0,name'] = 'Water'
- $_drink['0,type'] = 'bev_wat'
- _drink['0,price'] = 0
- $_drink['1,name'] = 'Kvass'
- $_drink['1,type'] = 'bev_kva'
- _drink['1,price'] = 60
- $_drink['2,name'] = 'Juice'
- $_drink['2,type'] = 'bev_jui'
- _drink['2,price'] = 80
- $_drink['3,name'] = 'Spiced Tea'
- $_drink['3,type'] = 'bev_tea'
- _drink['3,price'] = 120
- $_drink['4,name'] = 'Black Coffee'
- $_drink['4,type'] = 'bev_cof'
- _drink['4,price'] = 130
- $_drink['5,name'] = 'Milkshake'
- $_drink['5,type'] = 'bev_mil'
- _drink['5,price'] = 200
- elseif $loc = 'ParkKafe':
- '<center><B><font color=maroon>Park Cafe</font></B></center>'
- *nl
- '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
- $_eat['0,name'] = 'Vegetarian Piroshki'
- $_eat['0,type'] = 'pirosh'
- _eat['0,price'] = 100
- $_eat['1,name'] = 'Herring Blini'
- $_eat['1,type'] = 'bliny'
- _eat['1,price'] = 190
- $_eat['2,name'] = 'Golubtsy'
- $_eat['2,type'] = 'golub'
- _eat['2,price'] = 210
- $_eat['3,name'] = 'Pozharsky Cutlets'
- $_eat['3,type'] = 'pozhar'
- _eat['3,price'] = 290
- $_eat['4,name'] = 'Rueben Sandwich'
- $_eat['4,type'] = 'reuben'
- _eat['4,price'] = 340
- $_drink['0,name'] = 'Water'
- $_drink['0,type'] = 'bev_wat'
- _drink['0,price'] = 0
- $_drink['1,name'] = 'Kvass'
- $_drink['1,type'] = 'bev_kva'
- _drink['1,price'] = 60
- $_drink['2,name'] = 'Juice'
- $_drink['2,type'] = 'bev_jui'
- _drink['2,price'] = 80
- $_drink['3,name'] = 'Spiced Tea'
- $_drink['3,type'] = 'bev_tea'
- _drink['3,price'] = 120
- $_drink['4,name'] = 'Black Coffee'
- $_drink['4,type'] = 'bev_cof'
- _drink['4,price'] = 130
- $_drink['5,name'] = 'Milkshake'
- $_drink['5,type'] = 'bev_mil'
- _drink['5,price'] = 200
- elseif $loc = 'qwBarPolet':
- '<center><b><font color="maroon">Bar "Rabotnik"</font></b></center>'
- *nl
- '<center><img <<$set_imgh>> src="images/shared/drinks/bardrinks.jpg"</center><br>'
- $_eat['0,name'] = 'Toasted rye snacks'
- $_eat['0,type'] = 'ryesna'
- _eat['0,price'] = 30
- $_eat['1,name'] = 'Bowl of flavoured crisps'
- $_eat['1,type'] = 'crisps'
- _eat['1,price'] = 40
- $_drink['0,name'] = 'Water'
- $_drink['0,type'] = 'bev_wat'
- _drink['0,price'] = 0
- $_drink['1,name'] = 'Beer on tap'
- $_drink['1,type'] = 'bev_bee'
- _drink['1,price'] = 60
- $_drink['2,name'] = 'Vodka'
- $_drink['2,type'] = 'bev_vod'
- _drink['2,price'] = 120
- $_drink['3,name'] = 'Scotch'
- $_drink['3,type'] = 'bev_sco'
- _drink['3,price'] = 140
- $_drink['4,name'] = 'Glass of Wine'
- $_drink['4,type'] = 'bev_win'
- _drink['4,price'] = 160
- $_drink['5,name'] = 'Black Russian'
- $_drink['5,type'] = 'bev_bla'
- _drink['5,price'] = 250
- elseif $loc = 'restoran':
- '<center><b><font color="maroon">Babel</font></b></center>'
- *nl
- '<center><img <<$set_imgh>> src="images/shared/menus/babel.jpg"</center><br>'
- !'<center><img <<$set_imgh>> src="images/shared/drinks/fancydrinks.jpg"</center><br>'
- $_eat['0,name'] = 'Vareniki with Potatoes'
- $_eat['0,type'] = 'varenfan'
- _eat['0,price'] = 760
- $_eat['1,name'] = 'Borscht and French Baguette'
- $_eat['1,type'] = 'borfan'
- _eat['1,price'] = 900
- $_eat['2,name'] = 'Atlantic Salmon Steak'
- $_eat['2,type'] = 'salfan'
- _eat['2,price'] = 1000
- $_eat['3,name'] = 'Beef & Mushroom Stroganoff'
- $_eat['3,type'] = 'strofan'
- _eat['3,price'] = 1200
- $_eat['4,name'] = 'Red Caviar Blinchiki'
- $_eat['4,type'] = 'blifan'
- _eat['4,price'] = 1360
- $_drink['0,name'] = 'Spring Water'
- $_drink['0,type'] = 'bev_wat'
- _drink['0,price'] = 0
- $_drink['1,name'] = 'Imported Tea'
- $_drink['1,type'] = 'bev_tea'
- _drink['1,price'] = 180
- $_drink['2,name'] = 'Imported Beer'
- $_drink['2,type'] = 'bev_bee'
- _drink['2,price'] = 200
- $_drink['3,name'] = 'Vodka Martini'
- $_drink['3,type'] = 'bev_mar'
- _drink['3,price'] = 400
- $_drink['4,name'] = 'Glass of Wine'
- $_drink['4,type'] = 'bev_win'
- _drink['4,price'] = 800
- $_drink['5,name'] = 'Glass of Champagne'
- $_drink['5,type'] = 'bev_cha'
- _drink['5,price'] = 900
- elseif $loc = 'uni_cafe':
- '<center><b><font color="maroon">University cafe</font></b></center>'
- *nl
- '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
- $_eat['0,name'] = 'Vegetarian Piroshki'
- $_eat['0,type'] = 'pirosh'
- _eat['0,price'] = 100
- $_eat['1,name'] = 'Herring Blini'
- $_eat['1,type'] = 'bliny'
- _eat['1,price'] = 190
- $_eat['2,name'] = 'Golubtsy'
- $_eat['2,type'] = 'golub'
- _eat['2,price'] = 210
- $_eat['3,name'] = 'Pozharsky Cutlets'
- $_eat['3,type'] = 'pozhar'
- _eat['3,price'] = 290
- $_eat['4,name'] = 'Rueben Sandwich'
- $_eat['4,type'] = 'reuben'
- _eat['4,price'] = 340
- $_drink['0,name'] = 'Water'
- $_drink['0,type'] = 'only_cost_wat'
- _drink['0,price'] = 0
- $_drink['1,name'] = 'Kvass'
- $_drink['1,type'] = 'only_cost_kva'
- _drink['1,price'] = 60
- $_drink['2,name'] = 'Juice'
- $_drink['2,type'] = 'only_cost_jui'
- _drink['2,price'] = 80
- $_drink['3,name'] = 'Spiced Tea'
- $_drink['3,type'] = 'only_cost_tea'
- _drink['3,price'] = 120
- $_drink['4,name'] = 'Black Coffee'
- $_drink['4,type'] = 'only_cost_bco'
- _drink['4,price'] = 130
- $_drink['5,name'] = 'Milkshake'
- $_drink['5,type'] = 'only_cost_mil'
- _drink['5,price'] = 200
- elseif $loc = 'city_coffee_hole':
- $loc_arg = 'eat'
- '<center><B><font color=maroon>Cafe "Coffee hole"</font></B></center>'
- *nl
- '<center><img <<$set_imgh>> src="images/shared/drinks/cafedrinks.jpg"</center><br>'
- $_eat['0,name'] = 'Biscotti'
- $_eat['0,type'] = 'only_cost_light_snack'
- _eat['0,price'] = 100
- $_eat['1,name'] = 'Cannoli'
- $_eat['1,type'] = 'only_cost_snack'
- _eat['1,price'] = 120
- $_eat['2,name'] = 'Muffin'
- $_eat['2,type'] = 'only_cost_snack'
- _eat['2,price'] = 120
- $_eat['3,name'] = 'Croissants'
- $_eat['3,type'] = 'only_cost_snack'
- _eat['3,price'] = 120
- $_eat['4,name'] = 'Danish'
- $_eat['4,type'] = 'only_cost_snack'
- _eat['4,price'] = 120
- $_eat['5,name'] = 'Cookies'
- $_eat['5,type'] = 'only_cost_light_snack'
- _eat['5,price'] = 100
- $_eat['6,name'] = 'Miagkie Plushki s Sakharom'
- $_eat['6,type'] = 'only_cost_snack'
- _eat['6,price'] = 120
- $_eat['7,name'] = 'Mannik'
- $_eat['7,type'] = 'only_cost_snack'
- _eat['7,price'] = 120
- $_eat['8,name'] = 'Korzinochki'
- $_eat['8,type'] = 'only_cost_snack'
- _eat['8,price'] = 120
- $_drink['0,name'] = 'Tea'
- $_drink['0,type'] = 'only_cost_tea'
- _drink['0,price'] = 120
- $_drink['1,name'] = 'Espresso'
- $_drink['1,type'] = 'only_cost_esp'
- _drink['1,price'] = 100
- $_drink['2,name'] = 'Black Coffee'
- $_drink['2,type'] = 'only_cost_bco'
- _drink['2,price'] = 120
- $_drink['3,name'] = 'Cappuccino'
- $_drink['3,type'] = 'only_cost_cof'
- _drink['3,price'] = 150
- $_drink['4,name'] = 'Cafe Latte'
- $_drink['4,type'] = 'only_cost_cof'
- _drink['4,price'] = 150
- $_drink['5,name'] = 'Iced Latte'
- $_drink['5,type'] = 'only_cost_cof'
- _drink['5,price'] = 150
- elseif $loc = 'city_nightclub':
- '<center><b><font color="maroon">Bar "Nightclub"</font></b></center>'
- *nl
- '<center><img <<$set_imgh>> src="images/shared/drinks/bardrinks.jpg"</center><br>'
- $_eat['0,name'] = 'Toasted rye snacks'
- $_eat['0,type'] = 'ryesna'
- _eat['0,price'] = 30
- $_drink['0,name'] = 'Water'
- $_drink['0,type'] = 'bev_wat'
- _drink['0,price'] = 0
- $_drink['1,name'] = 'Energy Drink'
- $_drink['1,type'] = 'bev_energy_drink'
- _drink['1,price'] = 60
- $_drink['2,name'] = 'Beer on tap'
- $_drink['2,type'] = 'bev_bee'
- _drink['2,price'] = 60
- $_drink['3,name'] = 'Vodka'
- $_drink['3,type'] = 'bev_vod'
- _drink['3,price'] = 120
- $_drink['4,name'] = 'Scotch'
- $_drink['4,type'] = 'bev_sco'
- _drink['4,price'] = 140
- $_drink['5,name'] = 'Glass of Wine'
- $_drink['5,type'] = 'bev_win'
- _drink['5,price'] = 160
- $_drink['6,name'] = 'Black Russian'
- $_drink['6,type'] = 'bev_bla'
- _drink['6,price'] = 250
- $_drink['7,name'] = 'Champagne'
- $_drink['7,type'] = 'bev_cha'
- _drink['7,price'] = 220
- $_drink['8,name'] = 'Vodka Martini'
- $_drink['8,type'] = 'bev_mar'
- _drink['8,price'] = 250
- $_drink['9,name'] = 'Fancy cocktail'
- $_drink['9,type'] = 'bev_cocktail'
- _drink['9,price'] = 300
- elseif $loc = 'katja_nightclub' or $loc = 'katja_nightclub_sex':
- '<center><b><font color="maroon">Bar "Nightclub"</font></b></center>'
- *nl
- if $loc = 'katja_nightclub_sex':
- '<center><img <<$set_imgh>> src="images/characters/pavlovsk/school/girl/katja/uni/nightclub/hot_bartender.jpg"></center>'
- else
- '<center><img <<$set_imgh>> src="images/shared/drinks/bardrinks.jpg"</center><br>'
- end
- $_drink['0,name'] = 'Water'
- $_drink['0,type'] = 'only_cost_wat'
- _drink['0,price'] = 0
- $_drink['1,name'] = 'Energy Drink'
- $_drink['1,type'] = 'only_cost_bev_energy_drink'
- _drink['1,price'] = 60
- $_drink['2,name'] = 'Beer on tap'
- $_drink['2,type'] = 'only_cost_bev_bee'
- _drink['2,price'] = 60
- $_drink['3,name'] = 'Vodka'
- $_drink['3,type'] = 'only_cost_bev_vod'
- _drink['3,price'] = 120
- $_drink['4,name'] = 'Scotch'
- $_drink['4,type'] = 'only_cost_bev_sco'
- _drink['4,price'] = 140
- $_drink['5,name'] = 'Glass of Wine'
- $_drink['5,type'] = 'only_cost_bev_win'
- _drink['5,price'] = 160
- $_drink['6,name'] = 'Black Russian'
- $_drink['6,type'] = 'only_cost_bev_bla'
- _drink['6,price'] = 250
- $_drink['7,name'] = 'Champagne'
- $_drink['7,type'] = 'only_cost_bev_cha'
- _drink['7,price'] = 220
- $_drink['8,name'] = 'Vodka Martini'
- $_drink['8,type'] = 'only_cost_bev_mar'
- _drink['8,price'] = 250
- $_drink['9,name'] = 'Fancy cocktail'
- $_drink['9,type'] = 'only_cost_bev_cocktail'
- _drink['9,price'] = 300
- end
- $_str = '<center><table border="0" width="800" cellpadding="0" cellspacing="1">'
- food_loop = 0
- :loop_diner_drinks
- $temp_bcolor = func('themes', 'alt_color', $temp_bcolor)
- $_str += '<tr>'
- !! column 1 - food
- if $_eat['<<food_loop>>,name'] = '':
- $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="40%" align="center"></td>'
- $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="10%" align="right"></td>'
- else
- $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="40%" align="center">' + $_eat['<<food_loop>>,name'] + '</td>'
- $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="10%" align="right">'
- if money >= _eat['<<food_loop>>,price']:
- $_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>'
- else
- $_str += str(_eat['<<food_loop>>,price'])
- end
- $_str += iif(_eat['<<food_loop>>,price'] ! 0, '<b> ₽ </b>', '  ') + '</td>'
- end
- !! separator
- $_str += '<td bgcolor=<<$bcolor>> border="0" width="50" cellpadding="0" cellspacing="0"></td>'
- !! column 2 - drinks
- if $_drink['<<food_loop>>,name'] = '':
- $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="40%" align="center"></td>'
- $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="10%" align="right"></td>'
- else
- $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="40%" align="center">' + $_drink['<<food_loop>>,name'] + '</td>'
- $_str += '<td bgcolor='+$temp_bcolor+' height="30" width="10%" align="right">'
- if money >= _drink['<<food_loop>>,price']:
- $_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>'
- else
- $_str += str(_drink['<<food_loop>>,price'])
- end
- $_str += iif(_drink['<<food_loop>>,price'] ! 0, '<b> ₽ </b>', '  ') + '</td>'
- end
- $_str += '</tr>'
- food_loop += 1
- if food_loop < arrsize('$_drink')/3:jump 'loop_diner_drinks'
- $_str += '</table></center>'
- '<center>Please place your order</center><br><br>'+$_str
- killvar '$_str'
- killvar 'food_loop'
- killvar '$temp_bcolor'
- --- food_menu ---------------------------------
|