The Binding of Isaac: Rebirth

The Binding of Isaac: Rebirth

Character Costume Protector
Showing 11-20 of 21 entries
< 1  2  3 >
Update: 29 Nov, 2021 @ 1:48pm

Update: 29 Nov, 2021 @ 1:25pm

v1.2.1
-Removed comment that disabled the functionality of readding costumes when changing into a non-protected player.
-All functions outside of the API functions are now not returned inside the library, preventing outside use.
-Capitalized the "init" function.
-Added type checks for costume whitelists inside the whitelist's table.
-Added the ability to specify whether a whitelisted costume is set to true or false.
-Improved error handling in API functions.
-Changing to a different character that's currently also under the library's protection removes previous character's costumes and player data.
-Fixed an issue where all whitelist costume functions were being assigned to the player's trinket whitelist.
-Instructions in wiki updated to reflect changes.

Update: 28 Nov, 2021 @ 3:05pm

-Updated, uh, stuff that was supposed to be in the v1.2.0 but I forgot to hit save

Update: 28 Nov, 2021 @ 2:53pm

v1.2.0
The following items now only apply when their effect is active:
  • Delirious
  • Larynx
  • Tooth and Nail
  • Holy Mantle
  • Berserk
  • Wavy Cap
  • Mom's Bra

The following actives now cause a costume reset:
  • Delirious
  • Larynx
  • Berserk
  • Wavy Cap
  • Mom's Bra

The following items are now whitelisted by default:
  • Book of Shadows

The following changes have been made:
  • AddPlayer now requires you pass the player as the first argument.
  • All costume whitelist functions have been renamed slightly
  • Added function: TrinketCostumeWhitelist. Instructions on how to use it included in the GitHub repository.
  • Added fuction: UpdatePlayerCostume. Instructions on how to use it included in the GitHub repository.
  • Instructions and explanation of all player data has been moved to the GitHub repository.
  • Taurus now has their costume removed when gaining invincibility for the room
  • Holy Mantle now has their glow removed properly upon losing its effect
  • Empty Vessel's null costume is now properly reapplied if a costume reset occurs while its effect is active
  • Empty Vessel, Taurus, Whore of Babylon, and items from Modeling Clay no longer cause an entire costume reset, instead removing their specific costume if not whitelisted.
  • The process of switching to a PlayerType not supported by your mod or other CCP mods has been improved upon, better detecting when to deinit a character and adding all costumes back.
  • When adding a character into the library, a flight costume is no longer required, but still recommended.
  • Protected characters now have a costume reset triggered when revived from a co-op ghost.
  • Double Brimstone, Double Guppy's Eye, and Double Glass Eye costumes are now readded if the single item was whitelisted.
  • Red Patch, Tick, and Azazel's Stump are now accounted for. Removed on the spot if not whitelisted, readded through costume resets, and readded if they're still active when switching to an unsupported character.

Dev stuff:
  • Some functions have been renamed to better reflect what they do
  • Some unnecessary comments were removed
  • Error prints have been added to API functions.
  • Forms of CCH in the code have been renamed to CCP for consistency with the name.
  • All player data for the mod has been put inside a table, aplty named "CCP".
  • Improved how whitelisted costumes are added

Update: 3 Aug, 2021 @ 1:53pm

v1.1.4
-Added a function to re-add transformations if the associated NullItemID was added to the NullEffectWhitelist.
-Re-added Holy Mantle to the default whitelist for item costumes (I know, dumb)
-Specified for initiating a player that it must not be a Co-Op Ghost. This is only an issue if you start messing with the character in a POST_COSTUME_RESET.

Update: 17 Jul, 2021 @ 4:26pm

v1.1.3
-Removed a print statement lol
-This should be the final update since I'm satisfied with everything as is, unless the bug with the Mineshaft sequence removing your costumes is fixed and I make sure that's all working fine.

Update: 13 Jul, 2021 @ 6:11pm

v1.1.2
-Added Lost Curse to effects can re-add the Holy Mantle costume

Update: 13 Jul, 2021 @ 2:06pm

v1.1.1
-Improved Astral Projection again

Update: 12 Jul, 2021 @ 3:12pm

v1.1.0
Additions
  • Added comments on list of player data and what they do, as well as credit to piber20 and AgentCucco for detecting the player on item use in AB+ and creating custom callbacks respectively
  • New system for controlling vanilla null costumes, alongside a custom function to whitelist vanilla null costumes by adding their NullItemID. Null costumes whitelisted by default are Mars, Tooth and Nail, Esau Jr., Spirit Shackles' Soul, Spirit Shackles when disabled, and the Lost Curse from the White Fireplace. This does NOT function for modded Null Costumes.
  • Your number of temporary effects (collectible, trinket, and null respectively) are tracked alongside how many collectibles you own. When a change is detected, your costume is reset.
  • When switching characters mid-run, both the global flight costume and extra costume are removed. Costumes you would have had on your character are re-added based on collectible effects active.
  • Added list of items of which their costumes should only be added if their collectible effect is added. Notably, various active items and Astral Projection. This cannot account for mods due to the specificity.

Changes
  • Improved when Astral Projection's costume is reset.
  • Changed the main costume reset to have the spritesheet updated before costumes are added

Fixes
  • Fixed Taurus being reapplied every room.
  • Fixed potential compatibility issues between multiple mods with Character Costume Protector
  • Actually works in AB+ now as it was previously untested (whoops)

Update: 8 Jul, 2021 @ 6:16pm

v1.0.1
-Added some dumb detection for Astral Projection to add and remove your ghost form
-Made Collectible and Null effects that are only for Repentance, only present in Repentance