Project Zomboid

Project Zomboid

1,730 ratings
[B42] Useful Barrels
11
4
2
7
4
2
6
6
6
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 (3)
71
1 Sep @ 4:35am
PINNED: Bug reports
GigaWatte
31
23 Jul @ 4:41am
PINNED: Translations
GigaWatte
0
10 Aug @ 4:34am
Suggestion:
Mushroom-R
558 Comments
Prof.Liebstrumpf 14 hours ago 
Can confirm that. I use the RV Mod for this "cheat" ^^
and you can destroy the walls with sledgehammer to get more room, if you need :D:
Manco 16 hours ago 
Such a nice mod. BTW you can transport them really easily with the combination of RV interior mod and leaving them INSIDE of a van using the moving objects feature.
arkanikorde 30 Sep @ 3:50am 
I can't refill a barrel from an object (like gas station or a water source)
@charrlintu|ukraine♥ ok thank you for your answer
charrlintu|ukraine♥ 27 Sep @ 12:33pm 
@FTY TRYANT I believe its a bug with in Vanilla since the new update.
Hello, I can't fill the barrel directly with the gas pump. I have a funnel and a rubber hose, but it doesn't work. Can someone give me a solution? Thank you.
Prof.Liebstrumpf 27 Sep @ 11:20am 
No
Vera 27 Sep @ 10:44am 
did build 42.12 break this?
Emi 26 Sep @ 6:18am 
@maleahwhite I just tried the mod rn, I could open a barrel and put gas inside of it, it works
maleahwhite 26 Sep @ 2:32am 
Issues on build 42.12?