Project Zomboid

Project Zomboid

More Traits
Temporary Bug Fix
I found a fix for when you get an error on lines 401 and 402 in the MoreTraitsMainCreationMethods.lua file.

Delete the spaces between Weight Gain and Weight Loss so that they look like this:

TraitFactory.setMutualExclusive("idealweight", "WeightGain");
TraitFactory.setMutualExclusive("idealweight", "WeightLoss");
< >
Showing 1-8 of 8 comments
kjh273 Mar 18 @ 2:32am 
good!
APOLLO Mar 18 @ 1:25pm 
TnT4u thank you very much !!!
Ty work perfect now
I think I might be looking at the wrong file. Where is it located? The file I looked at only had the below options for "idealweight":

TraitFactory.setMutualExclusive("idealweight", "Overweight");
TraitFactory.setMutualExclusive("idealweight", "Underweight");
TraitFactory.setMutualExclusive("idealweight", "Very Underweight");
TraitFactory.setMutualExclusive("idealweight", "Obese");

Is this the correct file path? Otherwise I'm at a loss:

workshop\content\108600\1299328280\mods\More Traits\media\lua\shared\NPCs
Never mind I got it. Was in the wrong directory.
SteamLibrary\steamapps\workshop\content\108600\1299328280\mods\More Traits\42\media\lua\shared\NPCs
Originally posted by Mountainmanmad:
Never mind I got it. Was in the wrong directory.
i can only find those as well. what directory is it in?
sorry im not good with all this file stuff i cant find it can anyone help me figure it out
< >
Showing 1-8 of 8 comments
Per page: 1530 50