PivityGmodStore

Bakery Job (DarkRP Compatible)

(5)(8)

You can always read the reviews or discuss this product

Media gallery

Trabaho Bakery: a DarkRP baker job where you knead, shape and bake by hand

Buy product

$6.39

$7.99

Includes 6 months of product support.

In short

The Bakery gives the DarkRP Baker a full job. Bakers buy ingredients, then knead, shape and bake at three stations, and a minigame at each one decides the bread quality. Includes 9 baked goods that heal players, an in-game admin panel, original models and 5 languages.

The Bakery gives the Baker job on your DarkRP server real work. Bakers buy ingredients, follow recipes, knead and shape the dough, and bake bread that other players buy and eat to heal.


How it works

The baker buys an oven, a kneading machine and a kneading table from the F4 menu. In the oven menu they stock up on ingredients (11 in total, including flour, eggs, cinnamon and chocolate), pick one of 9 recipes and queue a batch. Each batch takes three steps: knead, shape and bake. Every step is a short minigame at its own station, and the average score decides whether the bread comes out perfect, normal or burnt.


For server owners

Superadmins edit every setting, recipe and price in an in-game admin panel (!bakery). Changes apply live, so the server does not need a restart. Inventory and baking run on the server, each player's pantry is saved, and all models are original to this addon.

Trabaho Bakery adds three work stations, a baking minigame, nine baked goods and an in-game admin panel.


Baked goods

Each of the 9 has its own recipe, baking time and heal value.

  1. White bread
  2. Toast
  3. Pretzel
  4. Russian black bread
  5. Citron cake
  6. Cinnamon slice
  7. Cheesecake
  8. Pancake
  9. Bread to go


Baking

  1. The kneading machine, kneading table and oven are all in the spawn menu and in the Baker's F4 menu.
  2. Each batch takes three minigame steps: knead (hit the timing zone), shape (press the shown keys in order) and bake (keep the heat in the green band).
  3. The average score of the three steps sets the quality. Perfect bread heals 125 % of the normal amount, and a failed batch either comes out burnt (25 %) or costs the ingredients for one bread.
  4. An on-screen tracker and a marker above the next station show the baker where to go.
  5. A station that is not on the map is skipped, so a server with only an oven still plays all three steps there.
  6. Bakers pick a recipe and a quantity and queue up to 20 breads per batch. Cancelling before the batch is in the oven costs nothing.
  7. The oven menu holds the ingredient market, the recipe book and the bake tab, with search, filters and a "Buy missing" button.
  8. Players nearby hear the fire while the oven bakes and a chime when a bread is done.


For server owners

  1. Superadmins change every setting, recipe and price in the in-game admin panel (!bakery). Saving applies the changes to everyone at once, without a restart.
  2. The DarkRP Baker job and the buyable oven, kneading machine and kneading table register automatically. You do not need to edit your darkrpmodification files.
  3. Placed ovens and stations can be made permanent. They are saved per map and respawn frozen on map start and after a map cleanup.
  4. Each player's pantry is stored in the server database and survives disconnects, restarts and a language change.
  5. Inventory and baking run on the server. The client only sends requests.
  6. The oven, both kneading stations, the 9 baked goods and the 11 ingredients use original models. The oven comes in two looks: cream enamel or black cast iron.
  7. The menus are available in English, German, Russian, French and Spanish.
  8. An optional TrabahoCore bridge allows live config editing.


Superadmins configure the whole addon in-game. The config file only holds the factory defaults.


Opening the admin panel

  1. Type !bakery or /bakery in chat.
  2. Run trabaho_bakery_admin in the console.
  3. Press the Admin button in the oven menu.


Sections of the panel

  1. General: language, free ingredients, purchase and batch limits, and the slow, medium and fast baking times.
  2. Minigame: minigame on or off, separate stations on or off, difficulty, pass and perfect scores, fail mode (burnt bread or lost ingredients) and the heal percentages for burnt and perfect bread.
  3. Oven: the look (cream enamel with red brick, or black cast iron with dark stone) and whether players nearby hear the oven.
  4. DarkRP: the Baker job (on or off, name, salary, player limit, model), the buyable oven (on or off, name, price, limit per baker) and the prices of the kneading machine and kneading table.
  5. Recipes: heal value, baking speed and ingredients of every baked good.
  6. Ingredients: the price of each of the 11 ingredients.
  7. Ovens / Stations: makes placed ovens and stations permanent on the current map.

With the minigame switched off, batches start right away. With the stations switched off, all three steps are played at the oven.


Saving

Save applies the changes to every player at once, without a restart. "Factory defaults" goes back to the values in lua/moirin/config.lua and lua/moirin/language.lua.


Where it is stored

  1. Settings: garrysmod/data/trabaho_bakery/settings.json
  2. Permanent ovens and stations: garrysmod/data/trabaho_bakery/ovens_<map>.json, one file per map
  3. Player pantries: the server database (sv.db)


Not editable in-game

The DarkRP chat commands (/baker, /buybakerystove) and the F4 category are fixed when the server starts. Menu texts and translations are in lua/moirin/language.lua.

Installation

  1. Extract the download and place the addon folder into garrysmod/addons/.
  2. Add the "Trabaho Bakery - Content" Workshop item to your server's Workshop collection, so players download the models and materials: https://steamcommunity.com/sharedfiles/filedetails/?id=3845498939
  3. Restart the server.
  4. As a superadmin, type !bakery in chat to open the admin panel. You can set prices, recipes, the minigame and the Baker job there, so you do not need to edit any files.


DarkRP

The Baker job (/baker) and the buyable oven, kneading machine and kneading table are added automatically and appear in the F4 menu. If you define the job yourself, set MOIRIN.DARKRP_BAKERJOB = false in lua/moirin/config.lua.


Without DarkRP

Spawn the oven, kneading machine and kneading table from the spawn menu under Entities > Trabaho Bakery.


Permanent stations

Place the stations where you want them, then make them permanent in the admin panel on the Ovens / Stations page.


Updating

  1. Back up your current addon folder.
  2. Replace it with the new version.
  3. Restart the server.

Your settings, permanent ovens and player pantries are stored outside the addon folder, in garrysmod/data/trabaho_bakery/ and the server database, so an update keeps them.

Product reviews