Cevin2006-GiantCardAPI icon

GiantCardAPI

Simplifies Giant Card making

Last updated a month ago
Total downloads 126
Total rating 4 
Categories
Dependency string Cevin2006-GiantCardAPI-0.0.1
Dependants 0 other mods depend on this mod

This mod requires the following mods to function

API_dev-API-2.10.0 icon
API_dev-API

The de-facto standard core API for all Inscryption mods. This lets you create new cards, abilities, challenges, map nodes, starter decks, and more.

Preferred version: 2.10.0
MADH95Mods-JSONCardLoader-2.4.5 icon
MADH95Mods-JSONCardLoader

This is a BepInEx plugin made for Incryption to create custom cards, sigils, starter decks, tribes and encounters using JSON files and the API.

Preferred version: 2.4.5

README

A mod to simplify the Method of making Giant cards in both Jsonloader and C-Sharp. :)

The Texture has to be 523 x 216!

How To Use

JsonLoader

Complete .jldr2 file setup( they have to have "name_giant.jldr2"):

{
  "giantCards": [
    {
      "name": "Example", => name of the Card (include the ModPrefix)
      "texture": "example.png" => texture that you want the Giant Card to be
    }
  ]
}

Csharp

Complete Card Creation Example:

        public void AddTest()
        {
            CardInfo info = CardManager.New(

                // Card ID Prefix
                modPrefix: "TestTest",

                // Card internal name.
                "TestiusBigBallius",
                // Card display name.
                "IDunnoBigBalls",
                // Attack.
                1,
                // Health.
                200,
                // Descryption.
                description: "Test Purposes only."
            )
            .SetCost(0, 0, 0, null)
            .AddAbilities(Ability.AllStrike, Ability.MadeOfStone, Ability.Sharp, Ability.Reach)
            .AddTraits(Trait.Giant)
            .AddSpecialAbilities(SpecialTriggeredAbility.GiantCard)
            .AddAppearances(CardAppearanceBehaviour.Appearance.GiantAnimatedPortrait)
            ;
            CardManager.Add("TestTest", info);


            info.animatedPortrait = CreateGiantCard(LoadYourTextureHere);

        }

the important part being this:

info.animatedPortrait = CreateGiantCard(LoadYourTextureHere);

Special Thanks

  • keks307#7315 for making the icon
  • Kelly Betty for adding JsonLoader support :)

Patch Notes

v 0.0.1

  • Release

Available versions

Please note that the install buttons only work if you have compatible client software installed, such as the Thunderstore Mod Manager. Otherwise use the zip download links instead.

Upload date Version number Downloads Download link  
2023-10-15 0.0.1 126 Version 0.0.1 Install