Other user's assetsSome assets in this file belong to other authors. You will need to seek permission from these authors before you can use their assets
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
Modders can provide their own text in the config lua file as another mod and put the priority to replace this mod. Avoid editing the file in this mod directly. To help in writing, modders can remove the comment at line 386 to enable editing the text in real time without the need to restart the game.
File credits
ffgriever for LUA Loader Xeavin for the permission of using his lua script template
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.1.2
fixed the 128 page limit bug, now it fully supports 255 pages
added more digits to the page number UI, it can now shows 3 digits maxed at 255/255
Version 1.1.1
fixed some bugs
removed unnecessary codes
Version 1.1.0
merged the foedex bestiary page extension (now that mod is deleted)
added new config files for Traveler's Tips
removed baseLastPage table from config file
unlocked the 6 pages limitation, the limit is 128
Version 1.0.4
fixed an issue of text conversion error prompt not showing properly
Version 1.0.3
fixed some issues with text reload during gameplay
Version 1.0.2
fixed newLastPage table not being emptied upon new loop/text change
removed unnecessary 4 bytes at the end of new text
Version 1.0.1
fixed an issue where reloading save files will degrade performance (thanks to Xeavin)
merged the previous "FBTR config.lua" to the bestiary text config file
Version 1.0.0
====Initial Version====
added the ability to replace subentry text in Bestiary
Foedex Clan Primer Text Replacer
This mod runs a lua script that can replace the original text of any bestiary and traveler's tips subentries with a custom text in a config file of each languages, add new text beyond vanilla and unlock the 6 pages limitation and now the limit is 255.
Bestiary
Subentry 0, which is used as the Classification and Genus text on the bottom left part of the screen. This subentry has 2 lines which are divided by normal "enter" or \n.
Subentry 1+, which is used as the entry text on the right. This subentry is further divided into 2 by the {wait} text tag. Text before that tag will be taken as the header text and can only shows a single line, text after that tag will be taken as the body text and can shows multiple lines with a limit of 255.
Traveler's Tips
Subentry 0+, which is used as the body text and can shows multiple lines with a limit of 255.
There are 2 ways of writing string text in lua, which the user is responsible for putting the proper text so that error won't occur.
The first one is quotation mark (single or double, ' or "). New line (or "enter") is indicated by the tag \n
The second one is double square brackets [[ ]], using this will ignore normal lua string tag. The user can instead write text in multiple lines.