Open Drullkus opened 6 years ago
Hi! I was wondering if it is possible for someone like me to help writing, or updating this book with text, images, or else in java or ... . Do you have some template that I may be able to fill, expand (mostly copy and paste), then share?
Current Progress using @Vazkii's Patchouli mod: https://github.com/TeamTwilight/twilightforest/tree/1.12.x/src/main/resources/assets/twilightforest/patchouli_books
Book Functionality
folder
: Acts as a grouper of topics and more folders.table_of_contents
: Table of Contents.enable
: A boolean, if true, a ToC will be added to this folder in the front. False will not add a ToC.depth
: Integer of depth limit of listing topics.mode
: Mode of displaying topics.text
: Plain text list of linkable titles. Allows depth.icons
: Text list of linkable titles with icons to the left. Allows depth.gallery
: "Gallery" of icons. Disallows depth. Tooltip shows title.title
: Title of content. Providing a translation key is optional.bookmarked
: A boolean to render a bookmark on top. Will show icon.item
: ItemStack to be presented as an icon. If invalid, defer toimage
. Should use common ItemStack deserializer provided by Vanilla.image
: Image to be presented as an icon. If invalid, defer to a default symbol or something.criteria
: A list of unlock criteria. If not assigned or empty, this group will be automatically unlocked.contents
: A list of ResourceLocations pointing to more content.topic
: Will contain content.title
: Title of content. Providing a translation key is optional.bookmarked
: A boolean to render a bookmark on top. Will show icon.item
: ItemStack to be presented as an icon. If invalid, defer toimage
. Should use common ItemStack deserializer provided by Vanilla.image
: Image to be presented as an icon. If invalid, defer to a default symbol or something.criteria
: A list of unlock criteria. If not assigned or empty, this topic will be automatically unlocked.content
: A list of content.title
: Single-line fanciable title.text
: A string. Providing a translation key is optional in place. Add a parser to parse any formatting too.criteria
: A list of unlock criteria. If not assigned or empty, this paragraph will be automatically unlocked.paragraph
: Regular paragraph. Spilling over to next page is fine.text
: A list of text strings. Providing a translation key is optional in place. Add a parser to parse any formatting or hyperlinking too.criteria
: A list of unlock criteria. If not assigned or empty, this paragraph will be automatically unlocked.image
: An image to be rendered, without any border. Should be used for sketches of things. Spilling over to next page not allowed.criteria
: A list of unlock criteria. If not assigned or empty, this image will be automatically unlocked.items
: A list of items. Spilling over to next page allowed.criteria
: A list of unlock criteria. If not assigned or empty, this list will be automatically unlocked.polaroid
: An image to be rendered, with a polaroid frame. Image will be masked and scaled. Spilling over to next page not allowed.criteria
: A list of unlock criteria. If not assigned or empty, this image will be automatically unlocked.polaroid_3d
: A world of blocks to be rendered, with a polaroid frame. Visuals will be masked to fit frame. Image description too if provided. Spilling over to next page not allowed.blocks
: A list of layers of rows of blocks. Stacks in Y axis.index
: A list of character proxy keys to add blocks to. Think crafting recipes.criteria
: A list of unlock criteria. If not assigned or empty, this visual will be automatically unlocked.crafting_recipe
: Display a crafting recipe.criteria
: A list of unlock criteria. If not assigned or empty, this recipe listing will be automatically unlocked./reload
command.Book Content
This should be added all added via json. Androsa and Killer Demon can help flesh this out if they'd like. These are to be written in the eye of an explorer, and avoid explaining lore to keep the visual storytelling narrative. Keep descriptions to observations. Names are also essentially in the eyes of the explorer, avoiding true names of structures. "Explorer" should be abiguously the player themselves or some one who has long before the player entered the Forest themselves.
Non-locked stuff is prioritized over locked stuff in terms of ordering. Secondary ordering prioritization should follow old progression line (swamp -> dark forest -> snow area) despite newer delineated progression line, just for consistency. After that, order them by when the player would encounter them, and lastly, order them by rarity/threat level. If ordering lists, order the group of lists by whichever one of their child elements is considered first.
A lot, if not perhaps all, will be locked until a piece is discovered.