Project Zomboid

Project Zomboid

349 ratings
Gas Barrels - Fuel API Version
   
Award
Favorite
Favorited
Unfavorite
Mods: Build 41
File Size
Posted
114.223 KB
25 Dec, 2021 @ 1:33am
1 Change Note ( view )

Subscribe to download
Gas Barrels - Fuel API Version

Description
A much better version of my Gas Barrels mod.

With this version you can craft specific fuel barrels for FuelAPI instead of using just the basic barrels found in the world.

-----------------------------------------------------------------------------------------------------

You need level 3 Metalworking to make the barrels

Gas Barrel - Requires:
Propane Torch, Welding mask, 4 x Metal sheet

You can Take and Add Fuel and check the fuel amount by right clicking on it.

They can't be stacked but hold alot of fuel.



A huge thanks to Konijima for adding functionality to his mod and helping me out with this version!

Workshop ID: 2693227148
Mod ID: KZGasBarrelsAPI
46 Comments
John Battlebit 5 Nov, 2023 @ 1:53pm 
@ Axelroid Burners this mod doesn't have anything about how much gas a barrel spawns with, it just creates a simple gas barrel entity, The reason they get so much gas when you put them down initially is because of Fuel API itself, in its sandbox settings you have to set "Barrel Random Initial Fuel (%)" to 0 otherwise that dictates the random initial fuel in every barrel. I don't think Fuel API was made in mind that you can create such barrels out of nowhere and put them down, so it's up to that mod to change this behaviour.
Axelroid Burners 7 Oct, 2023 @ 6:49pm 
gas barrels as is are VERY OP. spawned with gas. crafted with gas. they should all be empty imo.
🖤 Dude, i love frogs 🖤 12 Sep, 2023 @ 11:38am 
Barrels are created with a fuel reserve of 100-200 liters, which allows you to use gasoline. Fix the recipe so that the barrels are crafting empty.
Lemmings 30 Aug, 2023 @ 2:32am 
I get an error and barrel does not show the "take fuel option": afterwards the "take fuel" option is shown and I can get the info about how much is stored. Any chance to fix?

`function: addFuelTooltip -- file: CustomFuelObject.lua line # 136 | MOD: Fuel API
function: onFillWorldObjectContextMenu -- file: CustomFuelObject.lua line # 172 | MOD: Fuel API
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@812e81c9
function: createMenu -- file: ISWorldObjectContextMenu.lua line # 1543 | Vanilla
function: createMenu -- file: ISMenuContextWorld.lua line # 50 | Vanilla
function: createWorldMenu -- file: ISContextManager.lua line # 28 | Vanilla
function: doRClick -- file: ISObjectClickHandler.lua line # 60 | Vanilla
function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 379 | Vanilla
java.lang.RuntimeException: Object tried to call nil in addFuelTooltip

(shortened)
Yummy 1 Aug, 2023 @ 10:22pm 
@Viper this is logic, how are you going to collect gasoline from a barrel, with your hands? everything works with the canister
Viper 31 Jul, 2023 @ 8:21pm 
This mod is no longer working. You can put fuel into the barrel but whenever a parked vehicle is near the fuel barrel with gas in it does not show the option to refill the vehicle with gas.
pvtwardog 10 May, 2023 @ 6:12pm 
Does this mod work mid save? I installed this one first and then tried doing the original one as well, both times i was not able to craft a gas barrel as i couldnt find it in either crafting menu or with the right click, filtered all in the crafting menu and nothing came up so then i searched through each tab incase it was called something else, anyone have any advice for this?
[FkG] ORLY? 11 Feb, 2023 @ 3:51am 
I rly love this mod, as i always wished for a way to store fuel in bigger amounts. But recently i have a disfunction on visibilty. When i place a barrel, it doesn't show ingame. They're there - i can interact with them the way it is supposed to be, but they're invisible. What can i do?
Torres 30 Jan, 2023 @ 8:41am 
it's not showing either in the building menu or the crafting menu...
S4ro 20 Jan, 2023 @ 11:44pm 
@ppsbr try to have more than one propane torch in your main inventory, should work