Configuration
Everything is in hz_cook/shared/config.lua. The content pack has no config of its own.
The keys most servers touch
| Key | What it does |
|---|---|
Config.RequireItems | false (default) — nothing is required or consumed. true — a real economy |
Config.RequireLighter | a lighter is needed to light a station by hand |
Config.Charcoal.Enabled | false removes the charcoal mechanic; the kettle then lights like the others |
Config.Charcoal.burnMs | how long a full load burns — 30 minutes by default |
Config.Placement | limits per player and per server, minimum gap, road / water / interior / slope checks |
Config.Jobs, Config.StationJobs | restrict cooking to a job, globally or per station |
Config.Cooking.lidOpenFactor | the lid-open penalty, 2.5 by default |
Config.Cooking.autoBurn | food left on the grill keeps cooking to burnt |
Config.Progressbar.type | '3d' for the prop above the food, 'ox' for the ox_lib bar |
Config.Locale | en, fr or id |
Economy on or off
Config.RequireItems is the single switch that decides whether the food costs anything.
Off (default) — the bins offer every ingredient without stock, nothing is consumed, and players cook freely. Good for a roleplay server where the cooking is the point, not the supply chain.
On — ingredients must be held and are consumed, the bins hold real stock, and the charcoal bag empties for good.
Placement rules
Config.Placement decides where a station may go and how many exist:
- how many stations a single player may have out at once
- how many exist on the server in total
- the minimum gap between two stations
- whether roads, water, interiors and slopes are allowed
Translating
locales/en.lua, fr.lua and id.lua in the pack hold the ingredient labels, and are the only pack files you are meant to open. They merge into HZ-Cook's own strings, so Config.Locale still decides the language. A missing key falls back to the label shipped in the pack data.
The framework's own strings are in hz_cook/locales/.
