JSON Boss Dialogue

版本 v1.1.1·更新於 2022-09-14

LESHY + ROYAL UPDATE! Easily load custom dialogue for all bosses in Kaycee's Mod with a JSON file.

截圖 共 1 張

模組介紹 作者原文

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

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack_InscryptionAPI_dev-API

檔案與校驗

檔案名稱
JSON_Boss_Dialogue-1.1.1.zip
檔案大小
477.9 KiB