Project Zomboid

Project Zomboid

Udderly Skillbook XP
Showing 1-10 of 10 entries
Update: Nov 30, 2022 @ 2:56pm

- Fixed issue where some skills were misnamed and XP would not be gained (not skills that normally have skillbooks).
- Efficiency improvement in XP calculation function.

Update: Nov 6, 2022 @ 6:38pm

- Fixed a bug with XP gains when you have XP in a skill prior to reading the book, thanks to Diakon for reporting the bug and debugging/co-writing the fix with me.

Update: Oct 23, 2022 @ 1:47pm

- Rewrote entire XP granting function. There were issues in adapting the code I inherited/studied, ended up having to just roll my own XP math now that I know what I'm doing RE: the game's API and Lua. This fixes:
= Fractional XP is now granted flawlessly and precisely.
= Fixed bug with tier 4 book XP from last version.
= XP is granted smoothly over the course of a whole book.

Update: Oct 21, 2022 @ 3:41pm

- Fixed bug where XP is only given out toward the end of the book.
- Fixed rounding bug with fractional levels in calculation (e.g., 10% of tier XP will now yield 20% of a level instead of like.. a tiny few XP).

Update: Aug 4, 2022 @ 7:49pm

- Fixed bug where negative XP was applied when reading a book that was configured to give less than both levels and you'd already gained XP on the skill prior to reading in another way.

Update: Aug 3, 2022 @ 1:29pm

- Rewrote much of it.
- You now have the ability to set the percentage of the total levels a book can help with that it will help with, e.g., books normally give two levels, if we set a skill to ".5" it will give one level.
- Set up defaults with the new system:
100% (2 levels): Carpentry, Electrical, Mechanics, Metalworking
50% (1 level): Cooking, Farming, First Aid, Tailoring, Fishing, Trapping, Foraging, Maintenance
10% (20% of a level): Aiming, Reloading, Sprinting, Sneaking, Lightfooted, Nimble, Axe, Long Blunt, Short Blunt, Long Blade, Short Blade, Spear, Strength, Fitness

Obviously you'd need book mods that add books for a given skill for those that aren't in the base game.

Update: Jul 22, 2022 @ 6:26pm

-Fixed typo preventing the Skill Whitelist from showing up in sandbox options and preventing mechanics from working (one missing comma did all that :D).

Update: Jul 21, 2022 @ 7:43pm

Update: Jul 21, 2022 @ 5:28pm

- Fixed broken stuff in prerelease copy after initial testing (blindly wrote it with no testing so I didn't expect the initial build to work lol).
- Updated graphic to a nicer more readable one.

Update: Jul 21, 2022 @ 1:32pm