Kingdoms and Castles

Kingdoms and Castles

32 ratings
[Beta] Custom Spells API
   
Award
Favorite
Favorited
Unfavorite
Mods: Kcmod
File Size
Posted
Updated
47.671 KB
13 Oct, 2020 @ 1:36am
18 Jun, 2023 @ 10:55pm
4 Change Notes ( view )

Subscribe to download
[Beta] Custom Spells API

Description
WARNING:
This mod has just been updated for Infrastructure & Industry and is currently in BETA. The examples may be out of date. It may cause issues for your game. If you encounter any issues please comment them below. Please backup your saves before using this mod.


Summary:
This mod will not add any additional spells to the vanilla game by itself. It upgrades the Witch hut interface and adds an API to help modders easily add custom spells.


How to use Custom Spells API in your mod:
Download THESE[github.com] shared files and include them in your project. You will also need to include them in your mod release. Make sure to include this mod as a dependency.

HERE[github.com] is a simple, well commented example showing how to register a custom spell and how to activate your effect.

Contact:
Feel free to reach out to me on the official Kingdoms and Castles discord[discord.gg] as @Phedg1
2 Comments
The Griffin King 24 Dec, 2024 @ 11:27pm 
update please!!
SlavKing 23 May, 2022 @ 6:38am 
update please!!