Jump to content

Recommended Posts

  • Developer

Hi fellow modders

After a very long time working on it, I'm happy to announce a brand new mod API that allows many cool new things it can be found at: https://steamcommunity.com/workshop/filedetails/?id=1378549454

Big Feature Overview:
Shard RPC's  - allowing you to finally communicate to different shards
Dynamic Tile Manager - gone are the day's when mods tile id's can conflict, and worlds getting corrupted from missing tiles.
Custom Tech Tree's - efficient tech tree manager that lets you skip all the nasty crashes that come with implementing one yourself
Component Spoofing - Allows you to mimic a component with a brand new one, allowing you to implement for instance custom containers that don't crash when another mod post init's it, and edits non existent values

How to use:
Go to the Gem Core wiki to see all its functionality: https://gitlab.com/DSTAPIS/GemCore/wikis/Home

Very special thanks to:

@Fidooop who made sure stuff was done right
@rezecib for his wonderful upvalue hacker
@simplex for memspikefix, which I ported to DST

Some frequently asked questions: (If you have any more questions post them down below! I'll reply as soon as I can!)

How do I use it?
The tutorial is up above! It has all the usable functions inside and how to use them! Please don't rip the code and put it in your mod through... Make sure that when you upload your mod you add this mod as a required item, and use the LibraryManager module to auto subscribe and download it (It is set up this way so that the same code doesn't run multiple times if someone has multiple mods that use this library!)

What is an API?
An API (Application Programming Interface) is a set of functions which allows you to use advanced techniques without having to write your own code or copy/paste the code in your mod... In order to use this API you must add this mod as a requirement on your mods workshop page.

What mods are currently using this library:
The Laziest Deserter: https://steamcommunity.com/sharedfiles/filedetails/?id=1378613951
Island Adventures: https://steamcommunity.com/sharedfiles/filedetails/?id=1467214795
Quantum-linked chests: https://steamcommunity.com/sharedfiles/filedetails/?id=1319379338
Nightmare Chest: https://steamcommunity.com/sharedfiles/filedetails/?id=1536235936

Sorry for the repost, but my previous post got archived and can't be updated :(

Edited by Zarklord
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...