Additions:
- Backdrops:
- Custom Backdrop support! with contents/backdrops.xml!
- Custom attribute reftype to specify the base backdrop for the custom ones
- Isaac.GetBackdropIdByName (self-explanatory make sure to give your backdrops a name!)
- MC_PRE/POST_BACKDROP_CHANGE callback accepting callbacktype as a return value on pre and recieving callbacktype as a param
- Stages:
- Isaac.SetCurrentFloorMusic(musicid): changes the default music for the current floor(will reset after you leave the floor).
- Isaac.SetCurrentFloorBackdrop(backdropid): changes the default backdrop for the current floor(will reset after you leave the floor).
- Isaac.SetCurrentFloorName(string): changes the stage name for the current floor(will reset after you leave the floor).
- Isaac.GetCurrentStageConfigId(): returns the stagesid from the stages xml for the current floor.
- Challenges:
- Added the "hidden" attribute to the challenges.xml that can hide modded challenges from the menu when it's anything but "false".
- Added support for the "achievements" attribute for modded challenges, so modded challenges can now be locked. This param also supports using modded achievements.
- Added a new "lockeddesc" attribute, so you can a custom message to be displayed when your challenge is locked (default is "LOCKED :("). Pretty useful for unlock hints.
- Familiar :
- RemoveFromPlayer
- CanBlockProjectiles
- CanBeDamagedByProjectiles
- CanBeDamagedByEnemies
- CanBeDamagedByLasers
- EntityNPC :
- GetDarkRedChampionRegenTimer
- EntityBomb:
- GetRocketAngle / SetRocketAngle
- GetRocketSpeed / SetRocketSpeed
- EntityPlayer:
- GetUrnSouls
- EntitiesSaveStateVector:
- Clear
- Minimap :
- SetState
- SetHoldTime
- EntityConfig:
- Added EntityConfig.GetBaby(i) and EntityConfig.GetMaxBabyID(), as well as the corresponding EntityConfigBaby class (its co-op babies).
- XMLData :
- XMLData.GetEntryByOrder: gets entries in the order they appear on the xmls.
- Callbacks :
- MC_POST_NPC_DARK_RED_CHAMPION_REGEN: Called right after a dark red champion regenerates out of goo form
- MC_POST_ACHIEVEMENT_UNLOCK: Called after an achievement is unlocked, has the achievement id as its param
- MC_PRE/POST_MINIMAP_UPDATE: Called right before or right after the minimap is updated
- MC_PRE/POST_MINIMAP_RENDER: Called right before or right after the minimap is rendered
- MC_PRE/POST_PLAYER_ADD_HEARTS(EntityPlayer Player, int Amount, AddHealthType AddHealthType, bool OptionalArg): Called when hearts are added to the player, allows changing the added amount of hearts.
- MC_POST_RENDER_PLAYER_HEAD/BODY we had the pre but not the post. Same args as the pre, but with the updated vector if its changed on pre
- MC_POST_PLAYERHUD_ACTIVE_ITEM now has an additional "ChargeBarOffset" arg (the screen position where the charge bar would be rendered)
- ImGui :
- Now supports multiline input. Use CTRL + Enter for a newline, useful for pasting Lua scripts or making fortunes
- Now has a horizontal scrollbar when needed for console input
- Console history reimplementation is now more accurate, properly removing duplicate entries from history when a command is executed from history
Modified:
- Entity :
- GetCollisionCapsule offset vector argument is now optional (Vector.Zero)
- Pickup :
- Pickup:IsBlind method now checks natural blind effect (also added "CheckForcedBlindOnly" optional argument)
- Changed the destination goal sprites from the daily menu to match the style of the other paper sprites
Fixes:
* Fixed a vanilla game crash that happens with detonator+godhead which has been around for years
* Fixed issue that preventing the root attributes on repentogon-supported xmls(achievements,giantbook,backdrops) from working properly
* Fixed an issue that prevented custom parsed attributes from working on xmls with hugeass comments at the beginning of the file
* Fixed an issue where the console would behave sporadically when closed with numpad enter
* Fixed MC_POST_SFX_PLAY not firing properly when there was no PRE added.
* Fixed Achievement Reversed Hierophant enum naming (deprecated ones left for compatibility)
* Fixed a bug where adding modded follower familiars could sometimes freeze the game (especially while using MC_GET_FOLLOWER_PRIORITY).
* Fixed EntityNPC:GetBossColorIdx() not matching the values of the function in vanilla
* Callbacks re-implemented by REPENTOGON (such as MC_ENTITY_TAKE_DMG) now use their original callback IDs rather than a new one (fixes cases where the original ID was used directly, instead of the enum).
* MC_POST_PLAYERHUD_ACTIVE_ITEM's "Offet" arg now accounts for Book of Virtues & Judas' Birthright
* MC_POST_PLAYERHUD_ACTIVE_ITEM's "Scale" arg is now correctly halved for the secondary (schoolbag) slot
* Removed ImGui's automatic window resizing as it caused more issues than it solved
* Set a larger padding for ImGui to instruct it to always keep at least (100, 100) pixels of debug windows visible