Project Zomboid

Project Zomboid

1,484 ratings
[B42] Useful Barrels
10
4
2
7
4
2
6
6
5
5
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)
64
3 Jul @ 5:37pm
PINNED: Bug reports
GigaWatte
30
24 Jun @ 3:37am
PINNED: Translations
GigaWatte
501 Comments
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
idiot 28 Jun @ 12:27am 
@GigaWatte thank you for expanding on how to make it into a rain barrel.
GigaWatte  [author] 27 Jun @ 1:42pm 
@Citizen 13
Yeah, you can check the sandbox variables and adjust them
Citizen 13 27 Jun @ 1:37pm 
Is it possible to have settings as an admin to adjust how much the barrel can hold? I def like the concept, but even if the devs originally set barrels to 800L back in the day, it's a lot. 200L would be much more reasonable, AND easier to transport also.
iYoshi_Aki 27 Jun @ 11:02am 
GG
TTV TylerGwim 27 Jun @ 6:44am 
@GigaWatte ahh yes sorry that is what i meant, thank you for the reply :)