Data Driven Customisation
Various parts of Kingdom Keys are data driven using JSON files which which allows for customisation via a data pack. See how to create a data pack here. The namespace folder for Kingdom Keys is simply kingdomkeys
Most of these files are generated by the mod's own build tooling into src/generated/resources/data/kingdomkeys/<folder>, while a couple (organization and savepoints) are hand written directly under src/main/resources/data/kingdomkeys/<folder>. Either way, to override them with a data pack you just need to place/replace files at data/kingdomkeys/<folder>/*.json in your world's datapacks folder. Note that a few folder names don't match the system's name exactly (eg. Magic uses the magics folder, and the Moogle Shop synthesis recipes use the synthesis folder, not recipe), this is called out on each element's page.
Here is a list of every data driven element:
- Keyblades: Keyblade base/level stats, forge upgrade recipes and abilities.
- Drive Forms: Drive Form costs, stat multipliers and level up abilities.
- Magic: spell cost, cooldown, damage multipliers and tiers.
- Leveling Paths: per-level stat/reward growth for the Warrior, Mystic and Guardian paths.
- Limits: Limit cost, cooldown and damage multiplier.
- Melding: melding ingredients, cost, tier and results.
- Organization Weapons: base stats, description and abilities for Organization weapons.
- Synthesis Recipes (Moogle Shop): ingredients, cost, tier and output for Moogle Shop synthesis.
- Savepoints: upgrade materials and restored stats per savepoint tier.
- Sell: Munny price paid when selling items to a Moogle.
- Shop: what a Moogle offers to synthesise/sell, its cost/tier/requirements, and Moogle name pools.
- Shotlocks: Shotlock cooldown, damage multiplier, level scaling and minigame.
- Castle Oblivion: floor types, room types, room structures and encounters.