Project Zomboid

Project Zomboid

Eggon's Have I Found This Book???
Eggon  [developer] Apr 13, 2022 @ 11:37am
How to remove a book from remembered books?
If for some reason you want to "forget" a book or magazine being picked up (it was lost or something), you can follow this procedure:
1) Open in any text editor "items_literature.txt" file from "ProjectZomboid\media\scripts" folder.
2) Find the book definition by searching for the title in English (the title is the DisplayName line). If you don't know the English title check the PZ Wikia. The definition will look something like this:
item BookTrapping1 { DisplayCategory = SkillBook, NumberOfPages = 220, Weight = 0.8, Type = Literature, DisplayName = Trapping for Beginners, Icon = Book4, SkillTrained = Trapping, LvlSkillTrained = 1, NumLevelsTrained = 2, StaticModel = Book, WorldStaticModel = BookYellowBrown_Ground, }
3) Copy the item's name (in this example "BookTrapping1" and add "Base." in front of it, creating "Base.BookTrapping1" name string.
4) Open the game in debug mode. If you don't know how, there are movies on Youtube that explain it.
5) After you load your saved game a console window will appear in the bottom left corner displaying various logs. On the bottom of it there's a text input box. Input the following command and hit Enter:
getPlayer():getModData().EHIFTB.rememberedBooks["NameOfTheBookToForget"] = nil
so for this particular example it will be:
getPlayer():getModData().EHIFTB.rememberedBooks["Base.BookTrapping1"] = nil
6) Repeat for every book that you want to forget.
7) If you want to forget ALL items enter the following command instead:
getPlayer():getModData().EHIFTB = nil
Last edited by Eggon; Apr 13, 2022 @ 11:42am
< >
Showing 1-2 of 2 comments
EAST Apr 15, 2023 @ 12:11am 
This method is very complex. All inventory resets need to be available in-game.
Sythalin Nov 11, 2023 @ 1:31pm 
Originally posted by EAST:
This method is very complex. All inventory resets need to be available in-game.
Late to the party on this (obviously) after using the mod for the first time. While yes, in-game resets would be nice, it does not "need to be" anything just because you say so. Unless you're employing the author, maybe turn down the entitlement tone a bit there champ. If it's such an issue, you could always make a patch for it yourself. Otherwise, be grateful for the mod even existing.
< >
Showing 1-2 of 2 comments
Per page: 1530 50