Installation
First install the general dependencies. Then:
Place the folder
Place the wentus-lalinterna folder under resources/[wentus]/.
Add Items
items-qbox.lua (66 items) → ox_inventory/data/items.lua.
items.lua (66 items) → qb-core/shared/items.lua.
Copy the 66 PNGs under assets/images/ into your inventory's image folder.
Add Job
Add the lalinterna job with 4 grades (weapon crafting requires grade 3, repair 2, money wash 2) — the location depends on the framework:
qbx_core/shared/jobs.lua — job key ['lalinterna'], numeric grade keys [0]:
['lalinterna'] = {
label = "La Linterna",
defaultDuty = true,
offDutyPay = false,
grades = {
[0] = { name = 'Dishwasher', payment = 50 },
[1] = { name = 'Cook', payment = 75 },
[2] = { name = 'Chef', payment = 100 },
[3] = { name = 'Boss', isboss = true, bankAuth = true, payment = 150 },
},
},
qb-core/shared/jobs.lua — unbracketed job key lalinterna, string grade keys ['0']:
lalinterna = {
label = "La Linterna",
defaultDuty = true,
offDutyPay = false,
grades = {
['0'] = { name = 'Dishwasher', payment = 50 },
['1'] = { name = 'Cook', payment = 75 },
['2'] = { name = 'Chef', payment = 100 },
['3'] = { name = 'Boss', isboss = true, bankAuth = true, payment = 150 },
},
},
In ESX, jobs live in the database (jobs + job_grades). Add lalinterna with 4 grades. The grade levels (weapon/wash gates) must match job_grades.grade.
bankAuth = true is required on any grade that must access the company/society bank account — deposit/withdraw in the boss menu, and buying stock with the company payment option. Without it the banking resource (Renewed-Banking / qb-banking) denies access even to isboss grades. Add it to the boss grade (and any manager grade that handles funds).markedbills
Money wash reads the worth metadata of the markedbills item (ox: metadata.worth, qb: info.worth). This item comes from your economy script; without it, the wash returns 0.
Doors (optional)
Paste the Config.DoorList entries from LalinternaDoorList.lua into qb-doorlock/config.lua.
Using ox_doorlock's in-game door creation tool, add the 6 doors with the coordinate/heading/model from the file and groups = { lalinterna = 0 }.
Config + start
Config.Base framework selection (Configuration), then:
ensure wentus-lalinterna
Wentus-LaLinterna: Started. If the console gives a missing item warning, items.lua has not been added.Optional Dependencies
| Feature | Required |
|---|---|
| Jukebox | xsound |
| Electric blackout lights | qb-weathersync (QBCore) or Renewed-Weathersync (QBox) — without it, only the cameras drop |
| Electric minigame (default) | ultra-voltlab (free). ox_lib/custom/false also selectable |
| Weapon crafting minigame | ox_lib (skillCheck, already required) |
| Doors | ox_doorlock or qb-doorlock |