Project Zomboid

Project Zomboid

538 ratings
Retroactive Skill Books
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
133.320 KB
27 Dec, 2022 @ 4:00pm
31 Dec, 2022 @ 5:50pm
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
8 Mar, 2023 @ 10:52am
Translations
Bryan
69 Comments
Adi 11 Jun @ 2:56pm 
I've noticed a small issue. The retroactive XP only applies when a book is fully read, but you gain XP multiplier each time you hit a certain percentage threshold in a book. Because of this, it's possible to stop on the last few pages to get the majority of the XP buff, train half a level or 2/3 of a level, then finish the book to finish your current level and the next level, since you effectively get the skill book multiplier twice. You can use this to get to Carpentry level 10 without ever even touching a hammer if you use VHS tapes. The retroactive XP should probably be applied bit by bit each time the book XP multiplier changes so that this can't be abused
Beater Of Buzzers 7 May @ 8:00am 
This EXACT mod is needed for Build 42! Not xp recovery, unless it is EXACTLY like this just different name...
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_ 30 Jan @ 10:37am 
please update for b42
Kride500 29 Jan @ 11:40am 
Does anybody know of an alternative?
TreeTrunk 17 Jan @ 11:46pm 
PLEEEEEEASE update for B42. This was one of my favorite mods, one I considered essential in all my runs.
DeathEmber 25 Dec, 2024 @ 2:34pm 
Also asking for b42 update.
early_retirement 24 Dec, 2024 @ 5:39pm 
I miss this mod already lol. Hope you update to B42!
Carnage Cat 24 Dec, 2024 @ 5:31am 
My fomo and ocd need this mod, I'm missing cooking xp I'll never use!
John Wayne Guan 19 Dec, 2024 @ 8:58pm 
True, cant live without this mod