Project Zomboid

Project Zomboid

529 ratings
Retroactive Skill Books
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
133.320 KB
Dec 27, 2022 @ 11:00pm
Jan 1, 2023 @ 12:50am
3 Change Notes ( view )

Subscribe to download
Retroactive Skill Books

Description
Description

This mod allows you to regain XP you missed out on by training skills while you hadn't yet read a skill book. I like Project Zomboid's approach to skill books, but don't like how strict it can feel--feeling like I should drop everything to go read the next skill book immediately upon leveling. It also feels realistic to me that your character would remember recent experiences and could reflect on and grow from those as they read a skill book. So, I decided to make this mod for my own playthroughs.

How It Works

Whenever a player gains XP, this mod stores the difference in XP earned and the XP that could have been earned if the current skill book was fully read, taking into account any multipliers from partially read skill books. When a player finishes reading a skill book, this mod checks for stored XP for that skill book level and gives that XP back to the player, scaled by a factor that can be adjusted in sandbox options. The XP returned is also capped to the maximum trainable skill level of that skill book by default, but this can also be adjusted in sandbox options if you want an even more lenient system.

This mod now also optionally will return missed XP from obsolete skill books, or skill books the player has leveled beyond. The player character will comment differently when reading an obsolete skill book with available XP to be returned. For now, this XP can be returned in full or capped. In full means a player receives all (or most) of the missed XP from the trainable level range, which can be quite a lot. At max, this is the total XP needed to level times one less than the maximum multiplier. Capped means the player can receive, at most, what could have been returned before leveling out of the trainable range, or the max full XP divided by the maximum multiplier.

Compatibility

Any mod that grants un-boosted XP would result in the player gaining extra XP when reading a skill book.

Mods that add new skill books should work fine. At worst, you may not receive retroactive XP, but even that should work. However, if a mod somehow changes the trainable levels of skill books, this mod will no longer work correctly.

Obviously, any mod balanced around the vanilla XP and skill book system or that overhauls the skill book system may be disrupted by this mod.

Now includes an option to pause XP tracking to help compatibility with mods that grant XP for reading skill books.

You should be able to add this mod to existing saves with no issues, but XP earned before this mod was activated will not be stored.

Multiplayer

I'm a very amateur modder and this mod was only minimally tested in a locally hosted server, so I can't guarantee it will work in multiplayer.

Bugs

Possible bug that returns too much XP for reading a vol. 5 skill book.

Possible bug with the option to pause XP tracking, resulting in XP return from mods that grant XP for reading skill books.

Currently, XP that levels you out of a trainable skill range will not be counted as missed XP for the purposes of returning XP from an obsoleted skill book.

Workshop ID: 2908032114
Mod ID: JSRetroBooks
Popular Discussions View All (1)
0
Mar 8, 2023 @ 5:52pm
Translations
Bryan
67 Comments
𝚅𝚒𝚜𝚑𝚗𝚢𝚊 Feb 13 @ 10:24am 
I'm not sure if it's appropriate to mention my mod here :supersusguy:
But seeing that the original author is no longer active and people are looking for an update for b42, I've decided to mention my mod: Exp Recovery, which works on both b41 and b42
_LaVeLaZ_ Jan 30 @ 5:37pm 
please update for b42
Kride500 Jan 29 @ 6:40pm 
Does anybody know of an alternative?
TreeTrunk Jan 18 @ 6:46am 
PLEEEEEEASE update for B42. This was one of my favorite mods, one I considered essential in all my runs.
DeathEmber Dec 25, 2024 @ 9:34pm 
Also asking for b42 update.
early_retirement Dec 25, 2024 @ 12:39am 
I miss this mod already lol. Hope you update to B42!
Carnage Cat Dec 24, 2024 @ 12:31pm 
My fomo and ocd need this mod, I'm missing cooking xp I'll never use!
John Wayne Guan Dec 20, 2024 @ 3:58am 
True, cant live without this mod
Kride500 Dec 19, 2024 @ 11:28pm 
Please we need this in B42 man
ball inspector Mar 28, 2024 @ 11:16am 
this has been the ONE thing that has always bothered me in my PZ runs. thank you for making this mod