The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Onvoldoende beoordelingen
Custom Consumable API [OBSOLETE]
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Tags: Lua, Pills, Cards
Bestandsgrootte
Geplaatst op
Bijgewerkt op
1.130 MB
24 nov 2019 om 1:30
28 nov 2019 om 13:43
13 wijzigingsnotities (weergeven)

Abonneren om te downloaden
Custom Consumable API [OBSOLETE]

In 3 verzamelingen van AgentCucco
AgentCucco's Serious mods
40 items
AgentCucco's Utility Mods
7 items
Cuccommissions
29 items
Omschrijving
Features:
This mod's focus is to make it easier on people who want to add new consumables to the game.

With this API all it takes is the standard procedure for sprites and a couple lines of code, and the mod will handle the rest!

Rune/Card Utilities:
- Dynamic rune/card pool: Automatically adds your consumable to its respective pool, with a proper chance of appearing based off the total amount of cards or runes.
- Easy giantbook animations: All you need to do is have your sprite in the designated root, add a simple line of code and the API will take charge of rendering it when the rune is used.
- Automated consumable texturing: This mod automates the process of changing your consumable's animation to that one of a rune or cardl, all you need to do is specify the cardback you want.
- Optional sound implementation: While creating your new consumable you can choose to add a sound effect for it, alongside a specific volume and pitch for it.

- This mod adds several new rune types! Double point, spiky, and a rune shard. You can use these rune types on your mod to have it differ from the bland pointy and chunky ones. Alternatively you can also use the black rune sprite.

Pill Utilities:
- Dynamic pill pool: Automatically adds your pill to a new custom pill pool. This is so it's guaranteed you get at least a few modded pills during each run.
- Automatic pill coloring: New pills added into the game will automatically get asigned a default color for them without any effort on your side!
- Great customization: While creating your brand new custom pill, you can choose to make it either a positive, negative or neutral pill, plus a few extra types.

General:
- Straighforward documentation: You can find easy to follow documentation in the documentation.lua file, inside of this mod's folder.
- Pools customization: You can customize how the pools operate by modifying the MOD CONFIG settings inside of the main.lua.

Unfortunately this mod does not support new rune types or cardbacks, but if you have one in mind and have the sprites, feel free to send them to me so I can add them in.

This mod also does not add new pill colors, since those are pretty incompatible to make

Here's an example mod I made using this API: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1922723188
Here's the documentation for the mod: https://gtm.steamproxy.vip/workshop/filedetails/discussion/1919865250/1742268227703736235/

Credits:
AgentCucco: Coding the API.
???: Double point rune.
Ilias: Rune shard.
Hox: Spiky rune.
Populaire discussies Alles weergeven (3)
0
29 nov 2019 om 16:59
BELANGRIJK: Incompatible Mods
AgentCucco
12 opmerkingen
Steel, my beloved 27 jun 2021 om 9:55 
Well that's good at least.
AgentCucco  [auteur] 26 jun 2021 om 23:33 
Not really, repentance made this api obsolete, all of the functionality this api offered is now officially supported.
Steel, my beloved 26 jun 2021 om 23:06 
That sucks that this will likely never be updated.
AgentCucco  [auteur] 13 dec 2020 om 7:24 
If anyone's aiming towards posting a mod on the workshop that requires this API, please don't. This tool is broken for all intents and purposes, it doesn't integrate well with the game or other mods, has little to no support from the rest of the community, and is also a bit outdated.

I'll be likely never updating this mod again, or at least not to a degree where I would recommend using it in real mods. Any mods I've posted that requires this tool will soon become independent from it.

If you wanna use this API for your own wackies, by all means go ahead. But avoid publishing any mods that require it.
AgentCucco  [auteur] 7 jan 2020 om 11:05 
:winter2019happybulb:
Elya Draganesti 7 jan 2020 om 6:12 
Always love mods like this, you're doing great job for everyone who is moding! ♥ And also for players like me which can use new mods ^^
AgentCucco  [auteur] 29 nov 2019 om 16:54 
I could given someone provided the sprite for me, I don't have access to antibirth sprites.
Badsy the Edgecat 29 nov 2019 om 16:17 
do you think you could add the sprite for the custom runes that Antibirth added?
AgentCucco  [auteur] 28 nov 2019 om 3:08 
Well, just in case someone didn't read the patchnotes, the overhaul is already live, make sure to update your mod!
AgentCucco  [auteur] 26 nov 2019 om 14:08 
ATTENTION

The Custom Rune API is going to get an overhaul soon. I'm working towards implementing support for custom cards and pills too.
This disclaimer is for the people who already download the mod. A lot is bound to change, so if you are working on new runes with this API, I'll highly recommend you to hold them off until after the update is up, then update your code.
Regards!