Project Zomboid
Оценок: 84
Stat Tweaks Lib
   
Наградить
В избранное
В избранном
Удалить
Размер файла
Добавлен
Изменён
87.724 KB
26 янв в 14:42
1 фев в 6:55
Обновлений: 2 (просмотреть)

Подпишитесь, чтобы загрузить
Stat Tweaks Lib

Описание
Library of tools for modders and myself
Adds tools for applying gradual changes to stats, as well as gain/loss modifiers for all stats.
Check discussions for modders guide

Workshop ID: 3415375593
Mod ID: LazoloStatTweaksLib
Популярные обсуждения Просмотреть все (1)
0
26 янв в 17:42
Modder's Guide
Dr. Lalaoz
Комментариев: 18
Dr. Lalaoz  [создатель] 25 авг в 8:59 
can you tell if its the regular stress or the cigarette stress? cause those are two separate values in the code.
And how consistent is it?

if its normal stress then its probably you gaining stress from a TV or anything that gives the (^ Stress) icon, which has a bug where every time you gain stress that way, it adds the smoker stress to your current stress again. so if you had 0 stress and 25 smoker stress, then gain 10 stress. you'd end up with 35 stress and 25 smoker stress. Its a bug you have to account for whenever you modify the stress value in any mod.

if its consistent and regular stress, then i might need to go adjust the formula to account for whatever fix they tried to do in b42.
if its CigStress then i'll have to go debug it.
Ryu 24 авг в 16:52 
Can confirm smoker goes to max anxiety after a few minutes of playing
Manam Deaf 12 июл в 1:07 
rate 4/10
AI WitchHunt 2069 16 июн в 15:26 
The smoker stress spikes at a certain point to max stress.:steamsad: Fix my precious smoker please!
空白回想 19 мая в 6:18 
Now there is a bug that will cause smokers' stress to rise to 100 quickly.
Dr. Lalaoz  [создатель] 4 фев в 14:26 
@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 фев в 14:43 
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 фев в 12:33 
Thanks, @Dr. Lalaoz! I'll check it out right away.
Kyrox 1 фев в 8:44 
Appreciate you looking into it! You're the man! Thank you
Dr. Lalaoz  [создатель] 1 фев в 7:04 
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.