You are viewing a potentially older version of this package. View all versions.
GeckVolantMarin-ListSideDeck-1.0.0 icon

ListSideDeck

Library that makes available the side deck as a List<CardInfo> in code.

Date uploaded 2 months ago
Version 1.0.0
Download link GeckVolantMarin-ListSideDeck-1.0.0.zip
Downloads 135
Dependency string GeckVolantMarin-ListSideDeck-1.0.0

This mod requires the following mods to function

API_dev-API-2.22.3 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.22.3

README

Geck Volant Marin : List Side Deck

This library makes available the side deck as a List<CardInfo> in code.

How to modify the side deck at any moment.

  • Access the var ListSideDeck.CustomSideDeck.sideDeck.
  • Use any function to modify the side deck. (Ex: sideDeck.Clear(), sideDeck.Add(), sideDeck.Remove())
  • Use ListSideDeck.CustomSideDeck.saveSideDeck() to save any change you've done into the RunState (save file for run)
  • Don't forget you can patch vanilla functions to add functionalities!

Also, the source code is available in the plugin folder, in SourceCode.zip, along with an exemple.

Functionalities:

  • Works in Part1 and Kaycee's mod (Diferent save files for both, you don't need to handle it)
  • Automaticly replace squirrels with bees in part1 if the player has collected the Bee Figurine

Current minimal non-important flaws:

  • Don't work in part3 (If added, will be in a diferent mod)
  • Don't work with JSON

Thanks To:

  • The modding community
  • ILSpy developers

CHANGELOG

View Changelog

1.0.2

  • Fixed issue regarding saving CardInfo.mods.
    • Will save the good number of mods now.

1.0.1

  • Fixed load/save.
    • In breaf, while loading, it resetted the side deck, and when saving, it did not save the bool that was saying if it was saved.