Project Zomboid

Project Zomboid

Stat Tweaks Lib
16 Comments
Manam Deaf 11 hours ago 
rate 4/10
HighClarity 16 Jun @ 3:26pm 
The smoker stress spikes at a certain point to max stress.:steamsad: Fix my precious smoker please!
空白回想 19 May @ 6:18am 
Now there is a bug that will cause smokers' stress to rise to 100 quickly.
Dr. Lalaoz  [author] 4 Feb @ 2:26pm 
@Clem if you don't know where to put that line of code then you should read the modders guide on the pzwiki. that line is a line of lua code that goes in a script in media\lua\client and if you don't know how to write a script you bascially can't do anything with this mod.
Clem 3 Feb @ 2:43pm 
I will try this mod,but will be easy if you can put for dummies like me jajaja.For example,I dont know how to put this StatsLib.HungerLossModifiers.SomeOtherStatIdentifier = 0.5,in which part have to put it.
Jebus oTO 1 Feb @ 12:33pm 
Thanks, @Dr. Lalaoz! I'll check it out right away.
Kyrox 1 Feb @ 8:44am 
Appreciate you looking into it! You're the man! Thank you
Dr. Lalaoz  [author] 1 Feb @ 7:04am 
Fixed the MoodleFR incompatibility. StatTweaks defined PerformanceSettings as the getPerformance() function so it could get the current framerate for scaling the gradual stat changes. but that caused MoodleFR to be unable to call its PerformanceSettings.getLockFPS() call because the value was changed.
This means that global values within mods (even "local" ones) can be changed by other mods, accidentally or otherwise. which is what happened here.
Kyrox 30 Jan @ 10:05am 
I am getting thousands of errors with Moodle Framework.

function: updateOscilatorXOffset -- file: MF_ISMoodle.lua line # 221 | MOD: MoodleFramework
function: render -- file: MF_ISMoodle.lua line # 241 | MOD: MoodleFramework.
[30-01-25 11:04:33.000] ERROR: General f:2497, t:1738260273000> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: Object tried to call nil in updateOscilatorXOffset at KahluaUtil.fail(KahluaUtil.java:82).
RuralMoss 29 Jan @ 2:22am 
I am getting the Moodle Framework error as well and shortlisted it to this mod
Jebus oTO 27 Jan @ 3:28pm 
I tested it again with only this mod, and not EMT. The errors persisted, so it's only the framework that's incompatible.

Hope you manage to figure out what's going on! I appreciate the work you're doing on this.
Looking forward to being able to use EMT!
27 Jan @ 1:58pm 
@Dr. Lalaoz I'm experiencing the same issue, this is interfering with several mods I'm using that use Moodle Framework, they all work again when I disable this.
Dr. Lalaoz  [author] 27 Jan @ 1:33pm 
Oh wow, i didnt realise moodle FR had updated to b42.
i'll have to do some testing and figure out whats going on. which i can't do until tomorrow
are you sure its the library mod and not EMT?
Jebus oTO 27 Jan @ 12:19pm 
Hi, I can confirm this mod causes Moodle Framework to cease working (the Sixth Sense moodle doesnt work and generates errors, for instance).
Moodle framework has been updated to B42: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3396446795

I used this version of framework specifically made for B42.
Dr. Lalaoz  [author] 27 Jan @ 7:03am 
this is for B42. you don't need it for B41.
Moodle Framework isnt updated to B42 but if its enabled then Even More Traits will call it even if its gonna break.
LumberingTroll 26 Jan @ 9:10pm 
When I activate this it causes the Moodle Framework to throw errors, no clue why, only way I could make it stop was to deactivate this.