Project Zomboid

Project Zomboid

More Traits
Gordanite Renaming Crowbars Issue
Hello, love the mod, however I made a new multiplayer game (copied from working old multiplayer game) and for some reason when I pick up crowbars they get renamed to "Tooltip_MoreTraits_GordaniteDefault+".

This only happens to me, not my friends since I have the Gordanite trait.
< >
Viser 1-5 af 5 kommentarer
AlchemyExists 18. mar. 2024 kl. 16:43 
im having the same issue
jetti 8. apr. 2024 kl. 11:46 
happened to me too
Chad Chungus 5. sep. 2024 kl. 19:31 
yup. found a bloodied crowbar (extremely good) and it got renamed and the unique stats got removed (changed to normal crowbar+ stats). super disappointed
Blobphish 18. sep. 2024 kl. 13:43 
Same issue. It retains it's smaller size and lower weight but the damage is reduced.
Warmachine 1. dec. 2024 kl. 1:31 
The problem is that on line 4099 of the MoreTraits.lua there is a bit of checking for an "old gordonite" that checks if the TreeDamage stat of the weapon is greater than 0, and then normalizes the stats to a normal crowbar and sets a tooltip string to accommodate... something? It's checking for a mod that hasn't been updated since 2016 so question marks from me.

Anyway, this works fine for a normal Crowbar; tree damage should be zero so no problem, this code doesn't run. However the Bloodied Crowbar has a TreeDamage of 100, so this code executes and makes a selection of the Bloodied Crowbar Stats equal to a regular Crowbar and changes the tooltip name.

Frankly, the tooltip is a red herring, the bigger problem is the stats normalization. Adding "and crowbar:getTreeDamage() ~= 100" to line 4099 fixes the problem in a very blunt way; the code block won't run against a Bloodied Crowbar and this has a side effect of fixing the tooltip problem.
< >
Viser 1-5 af 5 kommentarer
Per side: 1530 50