Project Zomboid

Project Zomboid

1,514 ratings
[B42] Useful Barrels
10
4
2
7
4
2
6
6
5
5
2
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.138 MB
1 Mar @ 11:18am
23 Jun @ 8:16am
35 Change Notes ( view )

Subscribe to download
[B42] Useful Barrels

Description
Barrels can actually be more than just a sprite!
B42 only!
Important Note: Starting from version 3.3.0 (stable and beta), the mod is not safe to remove.
You will likely lose all barrels with cut lids completely.

Less important note: Hey guys, I'm a little distracted with the WIP generator refuel and plumbing features. They kind of work, but not the way I expected.
So, I've decided to switch to a completely new feature I haven't mentioned yet - but it's going to be freakin cool!

Features
  • Use your Pipe Wrench to open the lid of the barrel!
  • Store any fluid inside
  • The amount of liquid inside the barrel affects the encumbrance
  • Rubber Hose to take Gas from barrel
  • Funnel for pouring Gas into the barrel
  • Funnel may speedup pouring action
  • Refueling generator from the barrel
  • Refueling vehicle from the barrel. and vice versa.
  • Randomized initial fluid and amount
  • Sandbox vars to control mod behaviour as you want
  • Cut the barrel lid and turn it into a rain collector
  • Ability to add fluid from other world objects such as: sink, bath, toilet or even other Useful Barrel.
  • Visually represent fluid lvl in the lidless barrel at 75%, 80% and 90%.
  • Integrated "RicksMLC_PayAtThePump" mod.
  • Chuckleberry Finn's Mod Update and Alert System integration for ingame ChangeLog

Notes
  • Uses new FluidContainer system of B42
  • Barrels are now less fragile! But anyway Walkers will break it pretty quickly
  • Gasoline does not evaporate from the barrels
  • You can add fluids from items that are lying on the ground
  • Modded vehicles and trailers are supported if the vehicle has a part with the "gastank" category and the part containerType contains the word "Gasoline" (this information is mostly for modders)
  • Please! Any full 800L barrels in your characters pocket or car trunk is your responsibility, there is no proper way to haul them. For now at least.
  • I'd also recommend checking out the Functional Gutters mod.

How to
Base usage
  • Find a Pipe Wrench and any metal barrel in the game (there are only four types available)
  • Move it to the garage at your base
  • Right click on it and select "Uncap ..." option
  • Find a Rubber Hose and a Funnel, then place them on the barrel to enable fluid transfer
Refuel generator
  • The generator must be near the barrel with at least 1 liter of fuel
  • The generator must be turned off and have free space for fuel
  • Find a Rubber Hose if you haven't found it yet, then place it on the barrel (or keep it in your inventory)
  • Right click on the generator and select "Refuel From Barrel"
Refuel vehicle
  • The vehicle must be near the player
  • The vehicle's engine must be turned off
  • The gas tank must have free space
  • The barrel with gas must be near the vehicle
  • Find a Rubber Hose if you haven't found it yet, then place it on the barrel (or keep it in your inventory)
Rain collector barrel
  • Find a Welding mask and a Welding torch with at least 2 uses
  • Right-click on the barrel
  • Find the "Cut Lid" option - it may appear at the top or inside the existing barrel submenu
About two versions
The mod now comes with two versions: stable and beta.
Stable is polished and works well. Receives an update from beta as soon as it works smoothly.
Beta gets new features early and may be buggy but don't worry, i'm here to fix them asap.
Beta features
  • Soon: Connect the barrel to the generator with a hose and refuel it over time

WIP/Future plans
  • WIP: Rework plumbing to make it work again properly
  • Turn existing lidless barrels into functional ones
  • Polishing context options, translations
  • Add some UI

Mods compatibility
  • Modded vehicles (and fluid trailers) should be compatible if: vehicle has part and part category contains "gastank", part contentType contains word "Gasoline".
  • Mods that adds context options for FuidContainer may interfere UB. In that case try to re-order mods in Mod load order and move UB to bottom as possible.

Known bugs
  • In case of game crash FuidContainer may not save it's contents.

FAQ
  • Q: Why 800L? In the real world, the barrel has N litres!
  • A: 800L was chosen because previously devs used that amount for barrels near Louisville
  • Q: b41 when?
  • A: I dont have any plans to port it on b41. And there is already a mod for b41, it's called "Fiel API"
  • Q: How to move my 800l barrel now?
  • A: It's quite hard to implement right now properly. I hope TIS devs add some good functionality to makeit in the future.

Credits
Thanks to Mr_Ordinary_ for UA translation.
Thanks to 浪里个浪2346134 for CN translation.
Thanks to NopOYes for PTBR translation.
Thanks to MainFish for RU translation.
Thanks to Hx for KO translation.
Thanks to RedSystem for TR translation.
Thanks to Dust Runner for ES translation.
Thanks to Bobitec for FR translation.
Thanks to Steven Ts for IT translation.
Thanks to anormalЬ for DE translation.
Thanks to Si-Cafe for JP translation.
Thanks to Chuckleberry Finn for Mod Update and Alert System.
Thanks to Chuckleberry Finn for pz-translator tool.

This is my first experience making a mod, so it may not be perfect.
Feel free to report bugs and suggestions for improvement!

Workshop ID: 3436537035
Mod ID: UsefulBarrels
Mod ID: UsefulBarrelsBeta
Popular Discussions View All (2)
66
13 Jul @ 12:54pm
PINNED: Bug reports
GigaWatte
31
10 hours ago
PINNED: Translations
GigaWatte
506 Comments
kleberzito 22 Jul @ 12:59pm 
I'm trying to transfer gasoline directly from the gas pump into a barrel using the [B42] Useful Barrels mod on Build 42.**
The **metal barrel is placed right next to the pump**, and I've already **uncapped it with a pipe wrench**.
I have both a **funnel and a rubber hose** in my inventory, and the pump is **powered by a working generator**.
However, **no option appears to add fuel to the barrel** when I right-click the pump.
Does anyone know if I'm missing a step or if there's a sandbox setting that needs to be enabled?
Champion of Democracy 21 Jul @ 4:18pm 
Best mod! Honestly at the end of days Id be out there will barrels trying to collect fuel and fuel stabilizer as much as possible! This adds a lot!!
SP4RTAN 19 Jul @ 5:02pm 
Use the "Fuel API" mod on B41
yawyeetthe3rd 19 Jul @ 12:37pm 
This mod is great, but it sucks that it doesnt work for build 41. Is there any plan to make a version of the mod for build 41?
Mudin 14 Jul @ 9:46pm 
i lifted one and put in trunk. turns out its too heavy to lift out of trunk now. any cheats i could use to fix this?
jinglehearse 1 Jul @ 5:05am 
@GigaWatte - oh I didn't see that, thanks :)
=>PR<= XxDEM0NIKSxX 30 Jun @ 2:27pm 
ay this is too cheaty :steamhappy:
GigaWatte  [author] 30 Jun @ 1:11pm 
@jinglehearse
I think I saw something similar in the "Most Popular Items in the past week"
You can check it out if you want
jinglehearse 30 Jun @ 4:23am 
Love the mod - it's so helpful for long-term water and gas storage :steamhappy: Would it be possible to add the ability to craft a barrel bin/garbage? No worries if not, the mod is still great :)
=>PR<= XxDEM0NIKSxX 29 Jun @ 12:38pm 
This is too cheaty