G.A.SG.A.S Docs
G.A.S Docs / Other

Restaurant Business

A full farm-to-table restaurant business — drive supply runs, cook at 8 stations, serve NPC customers and real players at the POS, and manage it all from an owner CEO dashboard with hiring, pricing and reputation.

Version v1.0.0Framework QboxUpdated July 2026 $19.99 Get it on the store →

A full restaurant business for Qbox — source → prepare → sell, with a branded CEO dashboard, real-player employees, multi-station cooking, NPC + POS sales, and a drive-to-farm supply run. Built to use the TILP food/farming icon pack to the fullest.

What it does

LoopHow
SourceDrive a box truck to the farm, buy crates (produce/meat/dairy), haul back, unload into shared storage. OR order supplies instantly from the dashboard (pricier).
Prepare8 cooking stations (Grill, Pizza Oven, Taco Line, Sushi Bar, Prep, Fryer, Drinks, Dessert). Each opens a worker panel of recipes; cooking consumes ingredients → produces dishes.
SellNPC customers walk up with random orders (serve via ox_target), and a POS register to ring up real players. Both credit the company vault and build reputation.
ManageOwner-only dashboard: vault/finances, menu pricing, stock, hiring/firing/bonuses, reputation, open/close, rename.

Dependencies

ox_lib, oxmysql, qbx_core, ox_inventory, ox_target — all already on this server. Loads automatically via ensure [custom].

First-run setup

  1. Restart the server (or ensure rr-restaurant). DB tables auto-create; the menu seeds itself.
  2. Walk to the management desk (default: Legion Square Burger Shot) and open it — the first player to open it becomes the CEO/owner.
  3. Hire staff: stand next to a player → Employees tab → Hire Nearby Player.
  4. Stock up: Stock tab → Order Supplies (instant) or Start Farm Run (drive).
  5. Cook at a station, then sell at the register or to NPC customers.

Installing your MLO (when it lands)

Every location is config-driven and currently defaults around the Legion Square Burger Shot so you can test immediately. To relocate:

  1. Stand on each spot in-game and run /restocoords — it copies vec3(...) heading to your clipboard and prints it.
  2. Paste into config.luaConfig.Locations (desk, storage, register, dock), Config.Stations, Config.Customers.queue, and Config.Farm.
  3. /restoreload (or restart) to apply.

Commands

  • /restocoords — copy your current coords+heading (setup helper).
  • /restoreload — refresh cached restaurant state on the client.

Items & icons

New items (rr_* ingredients, rr_crate_*, rr_* dishes) are defined in a clearly-marked block at the top of [ox]/ox_inventory/data/items.lua. Their icons were copied from the TILP pack into [ox]/ox_inventory/web/images/.

⚠️ If ox_inventory is ever updated/overwritten, re-apply the rr-restaurant items block (and the icons are already in web/images unless that folder is wiped).

The restaurant job lives in [qbx]/qbx_core/shared/jobs.lua (grades Trainee → Cook → Chef → Kitchen Manager → Owner).

Economy (all in config.lua)

  • Vault = company funds. Fed by sales; drained by supplies, rent/utilities, CEO pay, bonuses.
  • Economic cycle (Config.Cycle.lengthMins, default 60) auto-bills rent/utilities/insurance. Set to 1 to test fast.
  • Pricing is CEO-editable per dish (Menu tab) and persists in restaurant_menu.
  • Reputation drives NPC footfall — serve fast, keep customers happy.

Notes

  • NPC customers are local to each on-duty employee near the restaurant (no networked-ped duplication); orders + payouts are server-validated.
  • The farm truck uses qbx_vehiclekeys for keys (best-effort); adjust if you run a different keys resource.
  • Dashboard UI = the house "Billing Manager" style; worker panel = the bikerental style. Both carry your logo.
Last updated August 10, 2026