Project Zomboid

Project Zomboid

35 betyg
TiRekS' Propane Station & The Workshop Compatibility
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
157.989 KB
9 feb, 2022 @ 17:47
1 ändringsnotis ( visa )

Abonnera för att ladda ner
TiRekS' Propane Station & The Workshop Compatibility

Beskrivning
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 kommentarer
NobodyNew 24 dec, 2023 @ 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  [skapare] 27 feb, 2022 @ 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 26 feb, 2022 @ 13: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  [skapare] 15 feb, 2022 @ 10:20 
Cool, I'll fix that on my next day off. Friday I think it is.
NCrawler 15 feb, 2022 @ 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  [skapare] 11 feb, 2022 @ 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 10 feb, 2022 @ 21:40 
Thank you so much for this, i had 6 indys and one normal one. Refilling them was a pain in the zombie.