Project Zomboid

Project Zomboid

227 ratings
[B42]PumpsHavePropane-transplant丙烷
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
129.184 KB
28 Dec, 2024 @ 9:36am
3 Jan @ 4:54am
4 Change Notes ( view )

Subscribe to download
[B42]PumpsHavePropane-transplant丙烷

Description
Instructions for use: The propane tank and propane blowtorch cannot be placed in the backpack as they will not be recognized. Please place them in the character's own container when filling. The new propane cylinder filling function has been released as a separate mod, and those who need it can subscribe to it themselves.

加油泵可以给丙烷喷灯、丙烷罐、丙烷车充能。已经测试B42版本可以正常使用。
丙烷瓶出现故障目前已经删除,恢复对调试模式的支持。

使用说明:丙烷罐和丙烷喷灯不能放在背包里,它不会被识别到,需要填充时请放在角色自己的容器。新曾的丙烷气瓶填充功能已作为单独的mod,需要的小伙伴们可以自己订阅。

FillPropaneCylinder丙烷 https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3400223054


The debugging mode login test shows that there is indeed a problem with the propane cylinder. I deeply apologize for the inconvenience caused and have now deleted the propane bottle project. Debugging mode can now run normally.
The propane cylinder function has been split and repaired. Those who need it can subscribe separately.
------------------------------------------------------------------------------------------------------

I am not the original author, only a transplant. If any problems are found, I cannot handle them. It has been tested and can be used in B42. If necessary, it can be deleted at any time.
Thank you very much for the prompt in the discussion forum @ WHY


Original author:

This mod allows propane trucks, tanks and torches to be filled at any working gas pump. if you can 'Take fuel' you should be able to 'Take propane'
Filling tanks and torches: simply have a not full tank near a working pump and right click on the pump.
To fill a propane truck, right click on the truck when close to a working pump.
Support for Snakes Mod Pack Refill Propane tanks has been added.
Place a large propane tank next to a pump to refill.
Support for The Workshop (new version) has been added, workshop tanks must be in inventory though.... which is a problem since they weigh so much!
Support for Propane and Gasoline mod is now working to accept 'Empty Propane Tanks'.
Support for Long Term Survival mod is now working to accept 'Empty Propane Tanks'.
Support for Hydrocraft Empty Propane Tanks has been added.
Uncle Griz

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2739570406

Workshop ID: 3394378143
Mod ID: [B42]PumpsHavePropane-transplant
60 Comments
Forthias 19 hours ago 
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?