WENTUS

Features

Irish Pub in-game flows — crafting, sales, music box, sit, consumables.

Crafting Stations

Each station is an ox_target / qb-target zone. The employee looks at the station → the menu opens → selects a product → recipe check (checkCraftable) → progress + animation → product to inventory.

Guard: if ingredients are insufficient, a warning with the missing item name. The cocktail flow uses base measures (Rum, Whiskey, Wine, Vodka, Tequila, Gin, Liqueur) as ingredients.

Stations: Cocktails · Beer · Coffee · Oven (food) · base spirit measures.

Customer Sale

Approach the stand

The customer uses the Order option at the service counter.

On-duty status

  • An employee is on duty → products are sold from the stand stock (employees must restock the stand).
  • None → products are sold directly at the config price.

Payment

Cash / bank selection; revenue goes to the business account.

Music Box

At the jukebox / DJ pad: play / pause / resume / volume / stop. Play: URL + loop selection, soundBoxPrice fee to the business. Positional sound with xsound.

Sit System

Chairs around the pub are target box zones — select Sit to sit, press the configured key (Config.Base.CloseSitKey) to stand.

Stock + Stand

InteractionFunction
Freezer shopBuy raw materials from the ox_lib menu (paid into the stand)
Service counterOpen the stand stash (employee) / customer menu
IceBreakerTake ice (ip_waterice)

Consumables

Every crafted drink and food is registered as a usable item. On use it plays the matching drinking / eating animation, then removes one from the inventory.

The item → animation type mapping is in server/consumables.lua. Ingredients (the small cl measures) are not consumable — only finished drinks, beers, cocktails, coffee and the sandwich are.