SpecialAPI-TribeAPI icon

TribeAPI

TribeAPI is a BepInEx plugin that allows for easy addition of custom tribes.

Last updated 4 years ago
Total downloads 1981
Total rating 2 
Categories Cards Libraries
Dependency string SpecialAPI-TribeAPI-1.0.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack_Inscryption-5.4.1701 icon
BepInEx-BepInExPack_Inscryption

BepInEx pack for Inscryption. Preconfigured and ready to use.

Preferred version: 5.4.1701

README

TribeAPI

TribeAPI is a BepInEx plugin that allows for easy addition of custom tribes. To use TribeAPI in your mod, just add it as a project reference, and do something like this:

// if insertYourTribeIconHere is null, the tribe will not show on the card (just like the squirrel tribe). if appearAsTribeChoice is false, the tribe won't appear as a possible choice in the "tribe card selection" event.
// tribeChoiceCardBack can be null if appearAsTribeChoice is false.
NewTribe yourTribe = new NewTribe(insertYourTribeIconHere, appearAsTribeChoice, tribeChoiceCardBack);

Then to actually use the tribe on a card, just use yourTribe.tribe in the tribe list for the card.

Installation

To use TribeAPI, put TribeAPI.dll inside of your BepInEx plugins folder. It also probably works for Thunderstore Mod Manager or r2modman but I don't know for sure (I don't use them)

NOTE: This mod was developed for Kaycee's Mod beta, but it should work for the normal game.