Sacrificial Altar compatibility for Modded Familiars and Items!

If you liked this item, please rate it up on Steam Workshop page.

Author: fedew

Last revision: 3 Dec, 2020 at 23:03 UTC (1)

File size: 141.31 KB

On Steam Workshop

Description:

This mod allows sacrificial altar to sacrifice modded familiars and spawn modded items from the devil pool!

Built-In Compatibility

This mod has already built-in compatibility for the familiars from these mods:

  • Revelations (ch.2)
  • Deliverance
  • Lost and Forgotten
  • IPECAC community mod
  • Retribution
  • Fiend Folio

For Modders

If you’re a modder, this is how you can allow your modded familiar to be sacrificed:
Add this to the beggining of your code to initialize:

if AltarFix and not AltarFix.AllowedVariants then AltarFix.AllowedVariants = {} end

Then to add a specific familiar you write this:

AltarFix.AllowedVariants[FamiliarVariant] = Collectible ID

For example:

AltarFix.AllowedVariants[FamiliarVariant.BROTHER_BOBBY] = CollectibleType.COLLECTIBLE_BROTHER_BOBBY

If the familiar is related to a trinket, do this:
Initialize the trinket table:

if AltarFix and not AltarFix.TrinketFamiliars then AltarFix.TrinketFamiliars = {} end

To add the familiar:

AltarFix.TrinketFamiliars[FamiliarVariant] = Trinket ID

If the familiar is not related directly to a collectible, do this:

AltarFix.AllowedVariants[FamiliarVariant] = "none"

If you have any questions my discord is fedew04#1943

Download
Required DLC:

These DLC should be installed in order to use this item.


The Binding of Isaac: Afterbirth
The Binding of Isaac: Afterbirth+
Revisions:

Old revisions of this mod are available below. Click the link to download.