[B42] Useful Barrels (Discontinued)

If you liked this item, please rate it up on Steam Workshop page.

Author: GigaWatte

Last revision: 10 Mar at 10:35 UTC (5)

File size: 1.24 MB

On Steam Workshop

Description:
Barrels can actually be more than just a sprite!

B42 only! Now with MP support!
Important: Mod development is currently discontinued. I no longer have the time or motivation to continue working on it. You have my full permission to adopt it and use any of the code or assets. Feel free to contact me if you have any questions about how the mod works.

Features available
  • 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 the barrel
  • Funnel for pouring gas into the barrel
  • Funnel may speedup pouring action
  • Refueling vehicle from the barrel. and vice versa
  • Refueling generator from the barrel
  • Randomized initial fluid and amount
  • Sandbox vars to control mod behaviour as you want
  • 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
  • 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

WIP/Future plans
  • Ability to add fluid from other world objects such as: sink, bath, toilet or even other Useful Barrel (MP)
  • Cut the barrel lid and turn it into a rain collector (MP)
  • Visually represent fluid lvl in the lidless barrel at 75%, 80% and 90% (MP)
  • Compatibility with other mods (MP)
  • Ability to add fluids from items that are lying on the ground (MP)
  • Proper plumbing
  • Turn existing lidless barrels into functional ones
  • Polishing context options, translations
  • Add some UI
  • Connect the barrel to the generator with a hose and refuel it over time

Mods compatibility
  • Modded vehicles (and fluid trailers) should be compatible if: vehicle has part and part category contains "gastank", part contentType contains word "Gasoline".
  • Not tested with other mods so far

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

FAQ
  • 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 "Fuel 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 a lot to SP4RTAN for updating the translations for the 42.15 game update.
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.

Workshop ID: 3436537035
Mod ID: UsefulBarrels
Mod ID: UsefulBarrelsMP

Download
Revisions:

Old revisions of this mod are available below. Click the link to download.