Project Zomboid

Project Zomboid

36 个评价
TiRekS' Propane Station & The Workshop Compatibility
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
157.989 KB
2022 年 2 月 9 日 下午 5:47
1 项改动说明 ( 查看 )

订阅以下载
TiRekS' Propane Station & The Workshop Compatibility

描述
This modlet updates a single file to allow for refilling the Industrial Propane Tank from The Workshop Mod.

That's it, it just works.

If for some reason you are carrying both a regular propane tank and an industrial one to refill, two refill propane tank options will show up. One for each type (even though they are worded the same).

Be sure to load this AFTER the other two mods that are required.

Workshop ID: 2748628874
Mod ID: PropStationWorkshop
7 条留言
NobodyNew 2023 年 12 月 24 日 上午 1:34 
The main mod (not compat) doesn't work for latest version, the propane tank behaves like regular gasoline pump(can't refill blow torch, but can fill empty bottle).
Joulkath  [作者] 2022 年 2 月 27 日 上午 11:56 
Eh, go ahead, it's not really my code, I just copied the lines that filled the propane tank, pasted them, and changed the item being refilled. I'm sure there was a better way of doing it, and in fact looking at Filibusters code, you can even do a mod check to see if The Workshop is installed then include the process, other wise don't, and remove the Dependency all together.

TLDR; Sure, but there's probably a better way of doing it.
Fie 2022 年 2 月 26 日 下午 1:47 
I am thinking of merging this into the original mod with the authors' permission and maintaining my own fork. Would you be fine with me using your code?
Joulkath  [作者] 2022 年 2 月 15 日 上午 10:20 
Cool, I'll fix that on my next day off. Friday I think it is.
NCrawler 2022 年 2 月 15 日 上午 6:07 
If you change the string "ContextMenu_RefillPropaneTank" to "ContextMenu_RefillPropaneTankLarge" for the large tank and then add a new file, ContextMenu_EN.txt, with the following text: ContextMenu_EN = {
ContextMenu_RefillPropaneTankLarge = "Refill Large Propane Tank",
} to lua\shared\Translate\EN then the text will be different for each of the tanks.
Joulkath  [作者] 2022 年 2 月 11 日 上午 8:21 
No problem, I was getting annoyed myself. This one was easy. The Propane Truck that Filibuster's adds is a whole nother kettle of fish, that I haven't figure out.
FreeBird-550 2022 年 2 月 10 日 下午 9:40 
Thank you so much for this, i had 6 indys and one normal one. Refilling them was a pain in the zombie.