JSON Boss Dialogue
LESHY + ROYAL UPDATE! Easily load custom dialogue for all bosses in Kaycee's Mod with a JSON file.
Screenshots 1 screenshots
About this mod Author’s original text
This is a BepInEx plugin mod made for Inscryption.
This mod lets you load custom dialogue for all bosses in Kaycee's Mod with a JSON file.
It adds a custom menu screen to Kaycee's Mod, which looks like this:
This mod doesn't change your original game files and shouldn't affect your main game save data, but making a backup of your save file before installation is still advised.
Installation
This mod’s only dependencies are BepInEx and the InscryptionAPI mod.
There are two ways of installing this mod: with the help of a mod manager (like r2modman or the Mod Manager) or manually.
Installation (Mod Manager)
- Download and install r2modman or the Mod Manager.
- Install this mod and all of its dependencies with the help of the mod manager!
Installation (Manual)
- Download and install BepInEx.
- If you're downloading it from its Github page, follow this installation guide.
- If you're downloading "BepInExPack Inscryption", follow the manual installation guide page itself. This one comes with a preconfigured BepInEx.cfg file, so it's advised.
- Download and install the Inscryption API mod following its manual installation guide.
- Find the BepInEx > plugins folder.
- Place the contents of "JSONBossDialogue.zip" in a new folder within the plugins folder.
Creating the JSON File
When making the JSON file for your custom dialogue, you should be mindful of the following:
- Your JSON file’s name must end in _bd.json. This is required in order for this mod to find it.
- Your JSON file can be anywhere in the BepInEx/plugins folder, including subfolders. (And yes, you can put it in the same folder as your own mod.)
- None of the fields are required, but it's strongly encouraged you put something in the 'FileName' and 'Description' fields so that your file is easy to identify in the dialogue selection screen inside the game.
If you don't know how to create a JSON file, an easy way to do it is creating a.txt file and renaming it to end in.json.
Afterward, paste the following into the file:
{
"FileName": "",
"Description": "",
"Prospector": {
"PreIntro": "",
"Intro": "",
"BeforePickaxe": "",
"AfterPickaxe": "",
"IfNoGold": "",
"MuleKilled": ""
},
"Angler": {
"PreIntro": "",
"Intro": "",
"GoFish": "",
"AimingHook": "",
"EasyChoose": "",
"HookPull": ""
},
"TrapperTrader": {
"PreIntro": "",
"Intro": "",
"PrePhase2": "",
"Phase2": "",
"PreTrade": "",
"Trade": "",
"PostTrade": ""
},
"Leshy": {
"Intro": "",
"AddCandle": "",
"Deathcards_Intro": "",
"Deathcards_Outro": "",
"PreMoon": "",
"MoonPlayed": "",
"StinkyMoon": "",
"MoonDestroyed": ""
},
"Royal": {
"LeshyConfusion": "",
"WakeUp": "",
"PreIntro": "",
"Intro": "",
"Cannons": "",
"CannonFire": "",
"Rodents": "",
"Limoncello_Charge": "",
"LeshyStop": "",
"Limoncello_Intro": "",
"Limoncello_Mutinee": "",
"Limoncello_NoCards": "",
"Limoncello_Sunk": "",
"Defeated": "",
"Farewell": ""
}
}
Your custom dialogue should go between the second pair of quotation marks in each line. Be sure not to erase any commas!
All custom dialogue can only be one line, regardless of how many lines there normally are in the corresponding original dialogue. I'm sorry, but it's simpler that way. I may add support for multiple lines eventually, though!
Empty Fields
You can leave as many fields empty as you wish. If a field is empty, the mod will let the game play the regular dialogue for the corresponding part.
You can erase any fields, so long as you're mindful of JSON syntax!
For example, let's say I'm making a mod that replaces the Pack Mule with an Unicorn, and I want to add custom dialogue for the Prospector only when he talks about his Pack Mule, making him talk about my unicorn instead. I can simply do:
{
"FileName": "Unicorn Mod",
"Description": "Changes Prospector dialogue so he'll talk about my Unicorn.",
"Prospector": {
"MuleKilled": "YE COWARD!! THAT UNICORN WAS DEFENSE
Install & use Install: BepInEx plugin
- The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
- Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
- Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
- Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.
Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.
Install these first, or the mod will not work: