v1.0.28 minor
Job Link for framework jobs, and several drinks at once
4changes

Job Link for framework jobs, and several drinks at once
4changes

[02] Release
Restaurants can now be linked to a framework job, so players with that job work there without being hired, optionally with the boss menu permissions of their matching rank. Drink stations can prepare several drinks at once, and drinks that do not fit in the inventory wait at the station instead of being lost.
job_link column in qs_restaurants). Nothing to import.config/cooking/drinks.lua has 3 new options: maxBatch, batchDurationScale and skipCollect. If you keep your own copy of this file, add them. The defaults keep the old behaviour.locales/. If you translated a locale yourself, copy the new keys into it.Replace every file in the resource, except what you edited yourself:
client/classes/cooking/drinks.luaclient/modules/worker_state.luaserver/modules/bossmenu.luaserver/modules/cooking.luaserver/modules/exports.luaserver/modules/db/migrations.luaserver/modules/db/restaurant.luaserver/modules/db/workers.luaconfig/cooking/drinks.lua — 3 new options.database/database.sql — only for new installs.locales/* — new texts.web/* — the interface.types.luafxmanifest.lua — version only.In the creator, link a restaurant to an ESX, QBCore or Qbox job and choose a minimum grade. Players with that job count as staff without being hired, so they can use the stations, fridges and POS. It updates as soon as a player's job changes.
With Use Restaurant Ranks on, job members get the permissions of the restaurant rank with the same grade, or the closest lower one. With it off, they can cook and serve, but get no boss menu access unless they are hired with a rank.
New options in config/cooking/drinks.lua. maxBatch sets how many drinks can be prepared at once, chosen from a quantity menu. batchDurationScale sets the extra time for each additional drink. skipCollect sends the drinks straight to the inventory. The defaults keep one drink at a time, as before.
If there is no room when collecting, the drinks now wait at the station until the player has space.