Nevernamed-Graveyard_Manager icon

Graveyard Manager

A dependancy mod which tracks what cards have died so far in a battle, and stores them.

Last updated 10 months ago
Total downloads 14979
Total rating 3 
Categories Libraries
Dependency string Nevernamed-Graveyard_Manager-1.0.0
Dependants 4 other packages depend on this package

This mod requires the following mods to function

API_dev-API-2.13.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.13.3

README

Graveyard Manager

This mod serves to store and track a list of what cards have died so far in a battle, allowing for other mods to utilise this list for sigil effects. Works in every act.

How to Use

To use the Graveyard Manager, you will need to add it as a project reference in visual studio, and add 'using GraveyardHandler;' to the top of the relevant file/s. With that done, you can use 'GraveyardManager.instance.playerGraveyard' to access a list of all cards which have died in the hand, or the player's side of the board. You can also use 'GraveyardManager.instance.opponentGraveyard' to access a list of all cards that have died on the opponent's side of the board, or in the opponent's backlane. The last core feature of the Graveyard Manager is 'GraveyardManager.instance.GetCardsDiedInSlot(cardslot)', which returns a list of all cardinfos which have perished in the specified carslot, independant of the main graveyard lists.

Important to note, GraveyardManager.instance only exists in card battles, trying to access it outside of battles will lead to a null error.

Mod Guid - nevernamed.inscryption.graveyardhandler