Curation round 16: Mom's Knife and the bone club, sin minibosses and death rewards, slots and beggars, NPC rendering and twelve bosses, alt path visuals, the Forgotten's flight and tainted HUDs, Sheol and the Cathedral to the credits, familiars and transformations

This commit is contained in:
shweet committed 2026-11-20 22:44:36 -05:00
1 parent 76c594f9a0
commit e9de039d0f
151 files changed
+14996 -5208

No files matched your search

+23 -5
View File
@@ -1,6 +1,7 @@
#include "entity_player_characters.h"
#include "entity_effect.h"
#include "entity_familiar.h"
#include "entity_player_tainted.h"
#include "game.h"
#include "hud.h"
#include "item_overlay.h"
@@ -85,10 +86,28 @@ bool is_azazel(Entity_Player& player)
player.temporaryEffects.HasTrinketEffect(TRINKET_AZAZELS_STUMP);
}
// Whether the frame and the stat evaluation are reconstructed for the player's character: the normal ones.
bool is_character_reconstructed(const Entity_Player& player)
// Whether the frame and the stat evaluation are reconstructed for the player's character: the normal ones and the
// tainted ones the frame (00782af0, 00794e50) has no branch for. Tainted Judas's and Tainted Keeper's Birthright have
// one.
bool is_character_reconstructed(Entity_Player& player)
{
return player.playerType >= PLAYER_ISAAC && player.playerType <= PLAYER_ESAU;
switch (player.playerType)
{
case PLAYER_JUDAS_B:
case PLAYER_KEEPER_B:
return !player.HasCollectible(COLLECTIBLE_BIRTHRIGHT);
case PLAYER_ISAAC_B:
case PLAYER_CAIN_B:
case PLAYER_EVE_B:
case PLAYER_AZAZEL_B:
case PLAYER_EDEN_B:
case PLAYER_THELOST_B:
case PLAYER_APOLLYON_B:
case PLAYER_BETHANY_B:
return true;
default:
return player.playerType >= PLAYER_ISAAC && player.playerType <= PLAYER_ESAU;
}
}
// The tears up or down a character adds to the items' before Binge Eater's: Samson's, the tainted ones', Azazel's (or
@@ -736,8 +755,7 @@ void Entity_Player::player_type_change_prepare(int oldType)
if (oldType == PLAYER_JACOB || oldType == PLAYER_THEFORGOTTEN_B) remove_twin();
}
if (oldType == PLAYER_LAZARUS_B || oldType == PLAYER_LAZARUS2_B) remove_twin();
if (playerType == PLAYER_ISAAC_B)
reconstruction_missing("Entity_Player::player_type_change_prepare 007cf610 (Tainted Isaac's inventory)");
if (playerType == PLAYER_ISAAC_B) tainted_isaac_inventory_trim(*this);
if ((playerType == PLAYER_JACOB_B || playerType == PLAYER_JACOB2_B) &&
!temporaryEffects.HasNullEffect(NULLITEM_JACOBS_CURSE))
reconstruction_missing("Entity_Player::player_type_change_prepare 007cf610 (Tainted Jacob's curse)");