The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Syringes! A New Consumable [Afterbirth+ Only]
Showing 1-9 of 9 entries
Update: 11 Feb, 2021 @ 11:44pm

----= Version 1.6.1 =----
- Further optimized code.
- Fixed a bug regarding modded cards not displaying their small
cardfront.

Update: 11 Feb, 2021 @ 11:43pm

Update: 27 Jan, 2021 @ 4:25pm

----= Version 1.6 =----
General:
- Added full Encyclopedia compatibility.

Update: 16 Dec, 2020 @ 12:26pm

----= Version 1.5.2 =----
General:
- Fixed a bug regarding how an API savedata table was saved.

Update: 16 Dec, 2020 @ 7:11am

----= Version 1.5.1 =----
General:
- Minor optimizations.

Balance Tweaks:
- Fixed a bug regarding Ultra Dampener still giving 0.7x Damage despite the description saying the debuff was 0.85x.

Modding API:
- Updated the documentation.

Update: 16 Dec, 2020 @ 6:06am

----= Version 1.5 =----
General:
- Fixed a bug that could potentially allow for syringe effects to be permanent in some situations.
- Added durations to Syringe EID descriptions.
....- This is automatic, you don't need to specify it in your mods. Formula is (duration/30).
- Syringe effects will now be stored when exiting and continuing runs.
- Added proper EID 3.0 support, instead of using Legacy methods.
- Added restock compatibility, kinda. It doesn't behave exactly like vanilla restock and won't be compatible with restock rebalance mods.

Balance Changes:
- Diuretic: Chance of tear deletion reduced: 50% -> 25%.
- Vampiric Blood: Duration decreased: 80s -> 50s.
- DPS Dampener: Damage debuff decreased: 0.6x -> 0.75x.
- Greed Genes: Duration reduced: 40s -> 35s.
- Ultra Dampener: Damage debuff decreased: 0.7x -> 0.85x.
- Hungry Goop:
....- Will now take away hp from enemies instead of instantly deleting them.
....- Will now consume slightly less invulnerable enemies (some might still work, or at least I hope so :P)

Modding API
Added a new function:
- M_SYR.CheckForEffect(player, syrID)
....- This function returns either true or nil, depending on whether or not the player has that effect active.
- M_SYR.GetDuration(player, syrID, getnil)
....- Returns the duration of the specified syringe. Returns 0 if the effect doesn't exist, if getnil is passed, it will return nil instead.
- M_SYR.SetDuration(player, syrID, duration)
....- Sets the duration of the specified syringe, to the specified duration. It is recommended to only pass numbers or nil as (duration).
- M_SYR.UpdateDescription(syrID, description, name)
....- Replaces the EID description of a syringe, used mainly for Withdrawal syringes.
....- This function handles compatibility on its own, you don't need to check for (EID) before calling it.

API Changes:
- Changed the way syringe effects are stored:
....- They will now use the global table M_SYR.PlayerSyringeEffects instead of player:GetData().SyringeEffects. This is done in order to properly save the durations for continues.
....- Note that M_SYR.PlayerSyringeEffects stores its indexes as strings and not numbers, to prevent errors in json, so to access them you need to do:
........- M_SYR.PlayerSyringeEffects[playerIndex][tostring(index)]
- Updated the M_SYR.PlayNeutral() function:
....- M_SYR.PlayNeutral(pIndex, sIndex) -> M_SYR.PlayNeutral(player, sIndex)
....- With this change, you can now just call this function and it will handle playing the hold up animation and updating player variables, so you don't have to manually change those.

Update: 11 Dec, 2020 @ 2:01am

General:
- Added slight EID 3.0 compatibility to prevent bugs.

Tweaks:
Bone Hurting Juice:
- Fixed a bug that could lead to the player losing all of their hp on hit (might still break with a few unkown mods).

Update: 1 Nov, 2020 @ 1:59pm

Version 1.3
- Fixed a bug in which you could always buy syringes for free.

Update: 5 Oct, 2020 @ 9:52pm

Version 1.2
- First release.