Project Zomboid

Project Zomboid

Better Batteries
dtoxic 11 Jan, 2023 @ 6:32am
[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
Last edited by dtoxic; 12 Feb, 2023 @ 12:54am
< >
Showing 1-3 of 3 comments
dtoxic 11 Jan, 2023 @ 7:45am 
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...
Last edited by dtoxic; 11 Jan, 2023 @ 12:44pm
pwrcosmic  [developer] 11 Feb, 2023 @ 6:46pm 
This may be patched now, I advise you check if you find the time. Thank you for reporting!
dtoxic 12 Feb, 2023 @ 12:54am 
Works like a charm,thx for your time to look into this
< >
Showing 1-3 of 3 comments
Per page: 1530 50