Project Zomboid

Project Zomboid

Eggon's Have I Found This Book???
Eggon  [开发者] 2022 年 4 月 13 日 上午 11:37
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
最后由 Eggon 编辑于; 2022 年 4 月 13 日 上午 11:42
< >
正在显示第 1 - 2 条,共 2 条留言
EAST 2023 年 4 月 15 日 上午 12:11 
This method is very complex. All inventory resets need to be available in-game.
Sythalin 2023 年 11 月 11 日 下午 1:31 
引用自 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.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50