Project Zomboid

Project Zomboid

[B42]PumpsHavePropane-transplant丙烷
71 Comments
Busta 25 Sep @ 8:19am 
my save file dosent work no more since i tried adding this mod to my game alongside the PumpsHavePropaneFix. It says something about the console file is no longer working
A-LiNkS 25 Sep @ 12:43am 
My apologies, this mod DOES work with B42, and paired up with [B42]PumpsHavePropaneFix, it works very well.

My issue was that, although I had subscribed to this mod, and enabled it in the mod manager, i was doing "Continue". The mod won't work instantly like that.
You have to go to "Load", select your save, click "More", "Choose Mods" and enable the mods for your save!

I feel this should be mentioned in the main mod manager section...
Agarthan Corporal 11 Sep @ 12:51am 
Aint doin allat
EvoGamer 7 Sep @ 3:02am 
Still Working, just really slow.
As mentioned by others, use the "Fix" Mod or change some values of the mod on your own risk.

I tested it myself and used AI to explain what I was adjusting:
1. Install the mod and add it to your list / running savegame
2. Open the mod in a editor: YOURPATH\SteamLibrary\steamapps\workshop\content\108600\3394378143\mods\[B42]PumpsHavePropane-transplant\42.0\media\lua\client\ISUI\UGTakePropaneMenu.lua
2.1. Copy and save the file "UGTakePropaneMenu.lua" somewhere safe (not the same folder!)
3. Change the values after "ISTimedActionQueue"
3.1. e.g. = Line 202: ISTimedActionQueue.add( UGTakePropane:new( pump, tank, player, 50, 100, false)) → change Values 50 (time) and 100 (amount) to a lower number e.g. → "0.5, 1,"
3.1.1. For me, I divided all values in the following lines by 100: 202, 209, 254, 296, 338
3.2. Save the file
A-LiNkS 4 Sep @ 11:42pm 
No longer working with B42
Arcterian 12 Aug @ 4:27am 
Tried both with and without the fix but cant get it to work, got propane tank either in inventory, primary or secondary hand as well as dropped it next to pump...no option for propane given.
Murilo Melo 26 Jul @ 8:09am 
Just take the fix with this mod and use it
柠檬脆脆鲨 Suba 25 Jul @ 11:31pm 
@Satanovski thank you for your answer it works
充的慢的参考这位佬的评论更改模组文件就行,很简单的操作:steamthumbsup:
Taiwanenes 23 Jul @ 10:14am 
充一瓶要充到天荒地老,人都餓死了.
KYZSOR 21 Jul @ 11:08pm 
it's too slow to refill propane
Etri [UCB] 21 Jul @ 1:53pm 
Same here ,the mod just doesn't show "take propane"
Forthias 19 Jul @ 8:24am 
No idea why but this mod doesn't work at all for me, interacting with pumps gives no refill option, placing tanks on the ground doesn't do anything, either. Just doesn't seem to do anything, sadly.
Stryker 22 Jun @ 9:22pm 
@Longrin dont use it then you spoiled C@#NT
Clam Chowderメ 10 Jun @ 11:34pm 
太慢了. it's too slow to refill propane
随风 2 Jun @ 1:36am 
罐子冲几天也冲不满
Longrin 29 May @ 10:43am 
I am not fixing someone else's mod. Fix your garbage.
simonh35 19 May @ 3:27pm 
@Satanovski - it works, thank you :)
Flexible Games 15 May @ 10:32am 
The slow fill stems from mods that alter the useDelta of the torch/tanks. The code edit below is certainly one way of reducing it.

Another would be altering UGTakePropaneMenu.lua line 202, change the 100 to something less. This is the duration value that is passed into the Timed Action and multiplied by 'take' which is the total item uses missing. In a vanilla game, a blow-torch can have 10 'uses', this is then multiplied by the 100 value.
Changing the 100 to a 1, for example, would mean the time needed would be the useDelta missing.

Line 209 uses a MUCH smaller duration value for torches for some reason.

Time to fill a truck can be altered on line 35 of UGFillPropaneTruck.lua.
Satanovski 13 May @ 4:56pm 
For those who are not shure where to edit "UGTakePropane.lua" (like me) My path was this:

C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\3394378143\mods\[B42]PumpsHavePropane-transplant\42.0\media\lua\client\TimedActions

Open UGTakePropane.lua with a text editor to change line 47 from this:
self.action:setTime(take * self.duration)

to this:
self.action:setTime(take / itemMax * self.duration)

Save the file and start the game.
Wilburt 13 May @ 9:02am 
can you make a setting where it cuts the time in half or smt? cuz spending a full day filling a tank when i want to fill a trailer next isnt so pleasing
Wilburt 12 May @ 3:38am 
whys it take 3 years to fill a tank?
翻斗花园91牛爷爷 27 Apr @ 10:53pm 
大佬,丙烷罐加油一天,充入丙烷喷灯只能充1次。
Oach 23 Apr @ 3:40pm 
Thanks JamailKamali. That worked!
space is cool 17 Apr @ 1:09am 
same issue here, taking way too long to fill a propane tank. not feasible to even use this mod
陨星 14 Apr @ 3:40am 
油泵充丙烷速率非常缓慢,要花上一天
BleedingEdge 11 Apr @ 8:37am 
For some reason it is taking Days and days to fill a tank.
It is filling. Just so slow that I need to camp at the pump to fill a bottle.
古绫地宁 10 Apr @ 10:30pm 
workshop\content\108600\3394378143\mods\[B42]PumpsHavePropane-transplant\42.0\media\lua\client\TimedActions\UGTakePropane.lua

Line 47:
self.action:setTime(take * self.duration)
->
self.action:setTime(take / itemMax * self.duration)

Thx for JamailKamali:happy_seagull:
Sohriin 10 Apr @ 7:15am 
thank you JamailKamali for the fix
JamailKamali 9 Apr @ 10:08am 
Looks like in the latest update they changed the units for PropaneTank UseDelta. In UGTakePropane.lua UGTakePropane:start() needs to be update for the setTime calculation.

function UGTakePropane:start()

print( "keyword: Test UGTakePropane:start() called")
if self.istorch then
self:setOverrideHandModels(nil, "BlowTorch")
else
self:setOverrideHandModels(nil, "PropaneTank")
end
self:setActionAnim("TakeGasFromPump")
self.tank:setJobType(getText("ContextMenu_TakePropaneFromPump"))
self.tank:setJobDelta(0.0)

local itemCurrent = math.floor(self.tank:getCurrentUsesFloat() / self.tank:getUseDelta() + 0.001)
local itemMax = math.floor(1 / self.tank:getUseDelta() + 0.001)
local take = (itemMax - itemCurrent)

self.action:setTime(take/itemMax * self.duration)
self.itemStart = itemCurrent
self.itemTarget = itemCurrent + take
end
Greygoose 8 Apr @ 5:16pm 
slow as in a full day at the pump will not fill the tank , not worth using this
Greygoose 8 Apr @ 5:08pm 
works but the refill rate is extremely slow 42,7
Moja 8 Apr @ 1:55pm 
Not working since last update .. propane tank gets never filled
Cisco 8 Apr @ 6:47am 
Great mod! Just a heads up, the recent update seems to be preventing the refilling of tanks.
八重神子单推壬 8 Apr @ 12:07am 
B42.7更新后在油泵充丙烷速率非常缓慢,有考虑修复吗
Shamp 6 Apr @ 10:08am 
Does not work with propane tanks. Pump is looking for BBQ tank but propane tanks taken out of bbq are called propane tank.
bboy_damo 18 Mar @ 11:06am 
Not working. Equipped Welding Torch (Empty) in primary and it still didn't show up on the pump.
Bored_German 1 Mar @ 7:56am 
is this savegame compatible?
SlowPokeDerp 21 Jan @ 11:50am 
Confirmed, working perfectly, equip the Propane Tank (empty) in Primary and you can right click the fuel pump.
Brezonte 10 Jan @ 1:43pm 
Tank you Winnie
Rachel L 8 Jan @ 8:12pm 
It works, but it removes the ability to see how much fuel there still is in the tanks
Walsingham 8 Jan @ 8:03am 
If it works like the B41 mod, then the pumps have to be on. So you have to power the pumps.

I do not know for a fact, but I assume what is happening is that the mod uses gasoline to fill the things. It does take time, and more time for bigger containers. So maybe when the fuel is out, the propane is out.
Coral Sea CV-43 8 Jan @ 12:49am 
Winnie the pooh
F1tgal911 5 Jan @ 12:59pm 
Is the propane at gas stations unlimited or limited (like fuel)?
SillySmallTwo 5 Jan @ 12:50am 
非常感谢
[BRTD]Luewen 4 Jan @ 8:49am 
Does not work with propane tanks. Pump is looking for BBQ tank but propane tanks taken out of bbq are called propane tank.
Revenant Adam 🥇 3 Jan @ 9:58pm 
Hey, there is a bug with self-depleeting batteries and propane tank. Could you make recipe to refill propane tanks full somehow? It's fine if it is from thin air, it's gonna be 1:1 for bugs trouble it causes. I don't want to just sit and wait for fix update, who knows when it will come out.
hoshie 3 Jan @ 8:16pm 
@QAstral thank you :love_seagull:
西伯利亚酥皮烤鸭  [author] 3 Jan @ 7:58pm 
@QAstral
Thank you very much. I will take some time to create a separate mod for this project to avoid any further negative issues
GIGAPintofWine 3 Jan @ 4:12pm 
@QAstral
Worked like a charm! thanks my man <3
QAstral 3 Jan @ 4:20am 
To fix debug mode you need to do those steps:

1. Open Propane_Refill_recipes.txt from this location:
.\steam\steamapps\workshop\content\108600\3394378143\mods\[B42]PumpsHavePropane-transplant\42.0\media\scripts

2. Update line 3. Instead of CN characters you need to have this:
craftRecipe PropaneRefillMod

3. Remove line 7 (with CN characters)

4. Add a new file Recipes_EN.txt into :
.\steam\steamapps\workshop\content\108600\3394378143\mods\[B42]PumpsHavePropane-transplant\42.0\media\lua\shared\Translate\EN

5. Modify this file from step 4 and add there this block:
Recipes_EN =
{
Recipe_PropaneRefillMod = "Refill Propane",
}

6. Repeat steps 4 and 5 for CN version, where instead of EN would be CN