Project Zomboid

Project Zomboid

118 ratings
Skill Recovery Journal (GAMMA)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
8.047 MB
Jan 28, 2022 @ 6:11am
1 Change Note ( view )

Subscribe to download
Skill Recovery Journal (GAMMA)

In 1 collection by Hunter
Dem Boines Zombiblio Modderonis
48 items
Description
A minor edit of Chuckleberry Finn's Skill Recovery Journal Mod ( https://steamcommunity.com/sharedfiles/filedetails/?id=2503622437 ) for my personal server that uses a Gamma distribution to make XP regain semi-random, with the property that it will trend lower at higher levels.

For example:
A level 10 skill has a 99% chance to regain >53% XP and a 50% chance to regain >76% XP
A level 5 skill has a 99% chance to regain >71% XP and a 50% chance to regain >88% XP
A level 3 skill has a 99% chance to regain >79% XP and a 50% chance to regain >93% XP
A level 1 skill has a 99% chance to regain >88% XP and a 50% chance to regain >98% XP

The idea being to balance the desire for a challenging game of consequence against the inconvenience of having to start all over after a minor mistake.
The base mod has a SandBoxVars variable for a scaling factor, but this is linear. Through the Gamma Distribution, the base functionality of the mod is augmented with RNG and diminishing XP losses with repeat deaths.
The scaling factor in the SandBoxVars still has the same effect, just combined with this new scaling.

Full credit for the base mod goes to Chuckleberry Finn, and I extend my thanks to the LuaSF library on GitHub ( https://github.com/HubertRonald/LuaSF ) which provided the Gamma function, as well as the randomlua module ( https://github.com/linux-man/randomlua ) which provided a mersenne twister for PRNG in place of math.random which Zomboid didn't like for some reason.
I am not a Lua coder, and make no promises that this mod-of-a-mod will be kept up-to-date.

Workshop ID: 2734189587
Mod ID: SkillRecoveryJournalGamma
36 Comments
hengni Jun 25, 2024 @ 1:56pm 
Romanchizmo so real
Chuckleberry Finn Jun 24, 2024 @ 11:49am 
When I updated the base mod to work better with other mods, and in general.
Nate_LapT Jun 24, 2024 @ 11:48am 
When did it stop working?
It worked fine back when I last played.
Wish Granter Jun 23, 2024 @ 3:27pm 
The comments are by far the worst place.

I mean its already challenging to get people to read just the description.
It would help if you put it in the name (OUTDATED) or in the description itself.


But still thanks for clearifying.
Didnt have any damage. Just put the standard mod in the server and the books still transfered all exp.
Hunter  [author] Jun 23, 2024 @ 2:57pm 
Guys, please read the comments. The mod does not work. The mod is outdated. The mod is not maintained. It will not be updated again until I host another Zomboid server, and then only if the included functionality has not been assumed into the base mod by then.
Wish Granter Jun 22, 2024 @ 12:34pm 
Idk if its just me but this mod doesnt work for me. Just throws 4 errors when trying to read the book and doesnt give back the skills Am I doing something wrong?
Romanchizmo Jun 6, 2024 @ 3:46pm 
(sorry for hate but i need to speak out) i hate this fucking mod CAUSE I WASTED 4 FUCKING HOURS TO FIND OUT THAT THIS MOD BREAKS MY GAME AND DELETES MAIN MENU
Nate_LapT Mar 14, 2024 @ 1:53pm 
Mod works still (as far as I can tell) on my server. I haven't died yet to test.
it worked 6 months ago when I last used it.
Chuckleberry Finn Mar 14, 2024 @ 3:23am 
No need to apologize, you made something good. :praisesun:
Hunter  [author] Mar 13, 2024 @ 10:47pm 
For context, this mod was developed for personal use out of frustration with balancing in that if skill recovery journals give you everything back, there's no risk. Without getting anything back though, the risk to losing hours or days of work is too great for casual play with friends. I made the mod public, but never expected it to garner any kind of attention. Apologies for the radio silence.