Kingdoms and Castles

Kingdoms and Castles

32 ratings
[Beta] Custom Research API
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
24.394 KB
21 Oct, 2020 @ 11:27pm
1 Change Note ( view )

Subscribe to download
[Beta] Custom Research API

Description
Summary:
This mod will not add any additional research to the vanilla game by itself. It upgrades the great library interface and adds an API to help modders easily add custom research.

Games that were saved with custom research still work perfectly after the mod is removed. Any custom research they have unlocked will still be unlocked if the custom research mod is added again.


How to use Custom Research 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 custom research 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 Vagrant 31 Jan, 2022 @ 9:15pm 
Hello, are you looking for suggestions? I was thinking that after a certain amount of tithed payed to the church you could get a special soldier unit called Templar Knight that basically works like the Ogres, but I don't know if it's possible but I got to thinking after I donated money but nothing happened, thanks for the mod by the way.
Vas 24 Oct, 2020 @ 1:27am 
If only I could code so I could add research to this. :P I don't even understand the example.