Project Zomboid

Project Zomboid

Better Batteries
dtoxic 11. jan. 2023 kl. 6:32
[Fixed]Another Mod Conflict Possibly
It seems that your mod in some way interferes with the Littering 3.0, B41 Beta,
specifically with "replaceondeplete" that the littering mod uses trough item tweaker api

so,say you use duct tape to fix items,you use up all the duct tape the littering mod replaces it with a empty duct tape roll item witch in turn can be used as burning fuel at camp fire etc...

with your mod enabled this does not happen,but strangely other items in the littering mod do get replaced with the empty version,it;s just the duct tape that does not work for some reason,i am not a 100% sure it;s your mod thou,so could you please give it a look?

the specific item/line from the littering mod is this one in LitteringB41_ItemTweaks.lua

TweakItem("Base.DuctTape","ReplaceOnDeplete", "LitteringB41.DuctTapeEmpty");

i have been hunting for hours to find witch mod causes this and more often then not i find it to be this one,i am saying this because i am not 100% sure,so apologies if i am wrong on this
Sidst redigeret af dtoxic; 12. feb. 2023 kl. 0:54
< >
Viser 1-3 af 3 kommentarer
dtoxic 11. jan. 2023 kl. 7:45 
Ok so i did a little tinkering with your mod and found that if you comment out the following lines in RecipeUpdates.Lua in your mod From Line 63 to 66 the Littering mod problem i described is fixed,obviously commenting out those lines breaks your mod,so if you can have a look at that since my coding skills reached a limit i think but it's a start to finding out what's going on...let me know if you need more info

Edit: Correction commented out from line 63 to 67 (forgot to include "end" in commenting out) now there are no errors on start up but i don't know what actually breaks inside your mod,at first glance nothing...
Sidst redigeret af dtoxic; 11. jan. 2023 kl. 12:44
pwrcosmic  [udvikler] 11. feb. 2023 kl. 18:46 
This may be patched now, I advise you check if you find the time. Thank you for reporting!
dtoxic 12. feb. 2023 kl. 0:54 
Works like a charm,thx for your time to look into this
< >
Viser 1-3 af 3 kommentarer
Per side: 1530 50