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

TribeAPI

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

Date uploaded 4 years ago
Version 1.0.0
Download link SpecialAPI-TribeAPI-1.0.0.zip
Downloads 1980
Dependency string SpecialAPI-TribeAPI-1.0.0

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.