JSON and CSV Loader API Documentation ‐ JSONLoaderV2 Support

Updated 2 weeks ago

JSONLoaderV2 Support:

This version of JSONLoader supports several types of data, and supports Modded Libraries pretty well. This is a Maintenance Version, outside of Bug Fixes it will NOT be updated.

JSONLoaderV2 Cards:

JSONLoaderV2 Cards support allows you to well make JSON Based Cards for the Game, these can be pretty complex but overall relatively simple.

The following are all of the fields available for JSONLoaderV2 Cards and what they do:

Card Fields
Key Description Type
fieldsToEdit Any items applied within this field will be used for overwriting the In-Game card associated with the field 'name'. String Array
name The In-Code name for the card, when referencing this card, it is the piece that comes after the 'modPrefix' field. String
modPrefix The In-Code identifier for the card, when referencing this card, it is the piece that comes before the 'name' field. String
displayedName The In-Game name for the card, it can be anything as long as this font can display it; https://font.download/font/heavyweight String
description The In-Game flavor for the card, this will show when receiving the card for the first time, if you want to prevent it being seen from saving use; https://thunderstore.io/c/inscryption/p/creator/Fuck_Dialouge_Saving/ String
metaCategories These Meta-Categories control how your card will show up within the game, see the following page for what each of them do; https://thunderstore.io/c/inscryption/p/MADH95Mods/JSONCardLoader/wiki/5396-vanilla-enums String Array
cardComplexity This controls WHEN your card can show up in the game, see the following page for what each of them do; https://thunderstore.io/c/inscryption/p/MADH95Mods/JSONCardLoader/wiki/5396-vanilla-enums
temple This controls which temple in Act 2 the card is apart of, as well as meant to determine which Act outside Act 2 the card shows up in, whether mods follow the convention is up to question, but that's what these do. So, Nature is Act 1 and the Nature Temple, Tech is Act 3 and the Technology Temple, Undead is the Grimora Portion of the Finale and the Undead Temple, Wizard is the Magnificus Portion of the Finale and the Magicks Temple. String
baseAttack This value determines the attack value of the card, it cannot be negative. Integer
baseHealth This value determines the health value of the card, it cannot be negative or 0. Integer
hideAttackAndHealth This boolean value determines whether the Attack and Health of the card should be hidden or not. Boolean
bloodCost This value determines the amount of Blood this card will cost. Integer
bonesCost This value determines the amount of Bones this card will cost. Integer
energyCost This value determines the amount of Energy this card will cost. Integer
gemsCost The following 3 values are accepted here: Green for the Green Gem, Orange for the Orange Gem, and Blue for the Blue Gem. Each of these correlates to the Gem Cost of a card. This version of JSONLoader does not support multiple of the same color of gem. String Array
specialStatIcon This determines which Stat Icon to show on the card, this must be used alongside the associated Special Ability. String
tribes This List determines what Tribes are applied to the card. You can find the full list here; https://thunderstore.io/c/inscryption/p/MADH95Mods/JSONCardLoader/wiki/5396-vanilla-enums String Array
traits This List determines what Traits are applied to this card. You can find the full list here; https://thunderstore.io/c/inscryption/p/MADH95Mods/JSONCardLoader/wiki/5396-vanilla-enums String Array
abilities This List determines what Abilities are applied to this card. You can find the full list here; https://thunderstore.io/c/inscryption/p/MADH95Mods/JSONCardLoader/wiki/5396-vanilla-enums String Array
specialAbilities This List determines what Special Abilities are applied to this card. You can find the full list here; https://thunderstore.io/c/inscryption/p/MADH95Mods/JSONCardLoader/wiki/5396-vanilla-enums String Array
evolveIntoName This represents the In-Code name of the card this card is meant to evolve into. It should match the following: [Mod Prefix]_[Name]. String
evolveTurns This value represents the amount of turns it takes for this card to evolve. This version's Turn Count must be greater than 1. Integer
defaultEvolutionName This determines what the Default Evolution Name will be, note it will appear in the format of; '[defaultEvolutionName] [displayedName]', just replace the variables with your JSON's values. String
tailName This represents the In-Code name of the card this card will leave in its old lane if Loose Tail triggers. It should match the following: [Mod Prefix]_[Name]. String
tailLostPortrait The Path to your cards Tail Lost Portrait, this is localized to your Plugins Folder. It's your job to keep it organized, do it as you would these 'JLDR' files. This must be a PNG File and must be a '114x94' image. This applies specifically when this card is struck and lost its tail. String
iceCubeName This represents the In-Code name of the card this card will leave behind in its place when it is to die. It should match the following: [Mod Prefix]_[Name]. String
flipPortraitForStrafe A bool determining whether this cards portrait will flip when the card moves. (like the sigil icon does) Boolean
onePerDeck A bool determining if there can only be one copy of this card within the Player's deck. Boolean
appearanceBehaviour This List determines the Appearance Behaviors in which will be applied to this card. Use a newer version of JSONLoader for Modded Appearance Behaviors. You can find the full list here; https://thunderstore.io/c/inscryption/p/MADH95Mods/JSONCardLoader/wiki/5396-vanilla-enums String Array
texture The Path to your cards Portrait, this is localized to your Plugins Folder. It's your job to keep it organized, do it as you would these 'JLDR' files. This must be a PNG File and must be a '114x94' image. String
emissionTexture The Path to your cards Emissive Portrait, this is localized to your Plugins Folder. It's your job to keep it organized, do it as you would these 'JLDR' files. This must be a PNG File and must be a '114x94' image. This applies in the case you've transferred a sigil at the Sacrificial Stones onto this card. String
altTexture The Path to your cards Alternative Portrait, this is localized to your Plugins Folder. It's your job to keep it organized, do it as you would these 'JLDR' files. This must be a PNG File and must be a '114x94' image. This applies in the case you have a Goat's Eye or possibly some other cases. String
altEmissionTexture The Path to your cards Alternative Portrait, this is localized to your Plugins Folder. It's your job to keep it organized, do it as you would these 'JLDR' files. This must be a PNG File and must be a '114x94' image. This applies in the case you have a Goat's Eye or possibly some other cases and, you've transferred a sigil at the Sacrificial Stones onto this card. String
pixelTexture The Path to your cards Pixel Portrait, this is localized to your Plugins Folder. It's your job to keep it organized, do it as you would these 'JLDR' files. This must be a PNG File and must be a '41x28' image. This applies specifically in Act 2, its just that act's version of the card portrait. String
titleGraphic The Path to your cards Title Graphic, this is localized to your Plugins Folder. It's your job to keep it organized, do it as you would these 'JLDR' files. This must be a PNG File and must be a '113x28' image. This applies specifically over your card name as a way of obscuring it like the Tentacle Cards are. String
decals This is a list of all the Decal Images in which will be stacked onto your card, this is localized to your Plugins Folder. It's your job to keep it organized, do it as you would these 'JLDR' files. This must be a PNG File and must be a '125x190' image. String Array
extensionProperties This is a list of all Extended Properties to this Card. You'll need to supply your own Field:Value pairs according to the mods specifications. If using the Editor, hit edit by the property to edit this Object. Object

JSONLoaderV2 Starter Decks

JSONLoaderV2 Starter Decks support allows you to well make JSON Based Starter Decks for the Game, these are incredibly simple to make.

The following are all of the fields available for JSONLoaderV2 Starter Decks and what they do:

Main Starter Deck Object
Key Description Type
decks A List of all Decks this Object holds. StarterDeckInfo Array
StarterDeckInfo Object
Key Description Type
fieldsToEdit Any items applied within this field will be used for overwriting the In-Game deck associated with the field 'name'. String Array
name The In-Code name for the Starter Deck, when referencing this Starter Deck, it is the piece that comes after the 'modPrefix' field. String
modPrefix The In-Code identifier for the Starter Deck, when referencing this Starter Deck, it is the piece that comes before the 'name' field. String
title The Display Title for the Starter Deck, this is the name that will appear in game. String
cards The Full List of Cards within the Starter Deck. String Array
iconTexture The Path to your Starter Decks Icon, this is localized to your Plugins Folder. It's your job to keep it organized, do it as you would these 'JLDR' files. This must be a PNG File and must be a '35x44' image. String
unlockLevel The Unlock Level of the Deck, this is used to determine what challenge level in which this Starter Deck will be unlocked. Integer