Wow, I never expected my mod to be big enough that other people want to make addons for it, thank you so much!
I've just made a bit of documentation and put it up on the github in API.md. This includes what I hope is a relatively through explanation of the resourcecrops.add_crop() function which should cover most of your needs for setting up a new resource. I feel that I'm terrible at writing documentation, so if you have any questions or feedback on it please let me know so I can make it better!
Please note: there is a fire_essence_smelt() function mentioned at the bottom of API.md, but it is not yet available to other mods. This is because it needs a code change, so I'll have to push an actual update to the mod through ContentDB to make it compatible. I want to combine that with another small tweak that I've been meaning to do, so hopefully I'll have this done within a day or two, and I'll reply here when it's done.
I've just published v2.0.2, which makes the function resourcecrops.register_fire_essence_smelting(input, result) available to other mods. API.md should now have all you need to add a crop for any material!
I'm considering to nake an add-on mod that adds more essences, ie. for Baborium from Techage, how do I do so?
Wow, I never expected my mod to be big enough that other people want to make addons for it, thank you so much!
I've just made a bit of documentation and put it up on the github in API.md. This includes what I hope is a relatively through explanation of the
resourcecrops.add_crop()function which should cover most of your needs for setting up a new resource. I feel that I'm terrible at writing documentation, so if you have any questions or feedback on it please let me know so I can make it better!Please note: there is a
fire_essence_smelt()function mentioned at the bottom of API.md, but it is not yet available to other mods. This is because it needs a code change, so I'll have to push an actual update to the mod through ContentDB to make it compatible. I want to combine that with another small tweak that I've been meaning to do, so hopefully I'll have this done within a day or two, and I'll reply here when it's done.I've just published v2.0.2, which makes the function
resourcecrops.register_fire_essence_smelting(input, result)available to other mods. API.md should now have all you need to add a crop for any material!Uploaded the mod, it just needs to get approved.