Restaurants
Player-run restaurants: cooking stations with live food on the grill, warmers that hold real stock, kitchen tickets, a register that bills customers, NPC cashiers and kiosks, a Kitchen OS computer for the business, furniture, cleanliness and eating.
#Requirements
- Required: qbx_core, ox_lib, ox_inventory, ox_target, oxmysql, GR1M_Placer, GR1M_Bridge (business money when GR1M_UltraBoss is not running).
- Items: add
install/ox_inventory-items.luato ox_inventory (skip any item your server already has). The starter menu needs these items. - Recommended: GR1M_Restaurants_assets streams the raw and cooked food models (chicken, drumsticks, tomato, cheese) shown on the stations. Without it the stations show vanilla props.
- Optional, used when running:
- GR1M_UltraBoss: restaurant jobs, staff lists and society accounts. Without it, jobs are created in qbx_core and money goes through GR1M_Bridge.
- GR1M_Skills: cooking XP.
- GR1M_Farm: restaurants post Farm Orders that farmers fill.
#Install
ensure oxmysql
ensure ox_lib
ensure qbx_core
ensure ox_inventory
ensure ox_target
ensure GR1M_Bridge
ensure GR1M_Placer
ensure GR1M_Restaurants_assets
ensure GR1M_Restaurants
add_ace group.admin gr1m.restaurants.admin allow
Tables are created on start. Stop any other restaurant script that registers the same food items.
#Setup
- Open
/gradminand make a restaurant: pick its job and the menu categories it serves. - Place each restaurant's stations, warmers, register, pickup tray, computer, kitchen screen, supply drop point, seats, sink and sign. Use "Map spot (no prop)" on kitchens the map already has.
- Recipes, supplies, categories and settings are all editable in
/gradmin.
#Starter menu
52 recipes across 8 stations, all original and using vanilla GTA props:
- Grill: patties, bacon, chicken breast, sausages, steak, grilled vegetables
- Fryer: fries, onion rings, chicken tenders, battered fish
- Oven: margherita and pepperoni pizza, garlic bread, lasagna, brownies, apple pie
- Stove: bolognese, mac and cheese, tomato soup, chicken noodle soup, beef chili, fried rice
- Microwave: loaded nachos, baked potato, popcorn
- Cutting board: garden salad, chicken Caesar, coleslaw, fruit cup
- Assembly: classic, cheese and bacon double burgers, chicken and club sandwiches, hot dog, chili dog, steak frites, fish and chips, chicken wrap, beef taco, beef burrito
- Drinks: cola, lemon-lime soda, lemonade, orange juice, iced tea, coffee, latte, hot chocolate, vanilla and strawberry milkshakes
Ingredients come from the Kitchen OS Supplies app (55 items), paid from the business account and delivered to the drop crate.
#How it plays
- Stock is the real cooked food in the warmers. The menu shows how many are ready, and "Sold out" when there are none.
- Ordering:
- The NPC cashier sells only food that's ready. It can be set to work only when no staff are on duty.
- A kiosk sends a ticket to the kitchen, or sells from stock when nobody is on shift.
- At the register, staff build the order and bill a nearby customer, who accepts on their own screen.
- Tickets show on the kitchen screen. Staff press Start cooking and then Send to tray. The customer gets a notification and a waypoint, and collects at the pickup tray. Orders nobody collects are refunded after the time set in /gradmin.
- Kitchen OS apps: Home, Menu & Prices, Stock, Supplies, Staff (permission presets per grade), Payroll & Bonuses (points per dish cooked and item served), Stats, Recipes & Custom Food, and Furniture (placed with GR1M_Placer, 50% back when removed).
- Eating: quality scales how much hunger and thirst food fills, eating seated adds a little, and Perfect food gives a small health top-up.
- Cleanliness drops as food is cooked and eaten and goes back up when staff scrub at a sink or mop point. The door sign shows the rating.
- Light/dark switch on every screen.
#Moving from envi-restaurants
/gradmin > Import from envi copies envi's restaurants (same ids, jobs, categories, prices, switched-off items) and custom foods. It only reads envi's tables. While envi-restaurants runs, it keeps handling eating; stop it to switch over.
#Exports (server)
GetRestaurants(), GetBalance(rid), ChangeBalance(rid, amount, reason), DepositSupplies(rid, item, count), IsFood(item).
#Config
config.lua (commands, permissions, seed categories, settings) and everything in data/ (recipes, supplies, eating, custom food stats, furniture) stay editable. The data/ files are only the first-boot set; edits made in /gradmin are saved to the database.
Support: https://discord.gg/m38m33G6jK
GR1M