Project Zomboid

Project Zomboid

More Traits
TnT4u 3 月 13 日 下午 6:56
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");
< >
正在显示第 1 - 8 条,共 8 条留言
kjh273 3 月 18 日 上午 2:32 
good!
APOLLO 3 月 18 日 下午 1:25 
TnT4u thank you very much !!!
Ty work perfect now
Mountainmanmad 3 月 19 日 下午 5:08 
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
Mountainmanmad 3 月 19 日 下午 6:54 
Never mind I got it. Was in the wrong directory.
Lemons 3 月 22 日 上午 7:04 
SteamLibrary\steamapps\workshop\content\108600\1299328280\mods\More Traits\42\media\lua\shared\NPCs
Extant 3 月 23 日 下午 3:51 
引用自 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
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50