Curation round 13: grid entities, more enemies, Caves, boss helpers and five bosses, chests and costumes, curses and alt stages, the Lua API
This commit is contained in:
1 parent
f8ce24fc6c
commit
8ae02a8422
160 files changed
+16231
-1689
No files matched your search
@@ -66,8 +66,6 @@ constexpr int DAILY_CHRISTMAS = 19;
|
||||
constexpr int EMPTY_HEART_RED_HEARTS = 3;
|
||||
constexpr int EVENT_BONUS_ITEMS = 114;
|
||||
constexpr int GIANTBOOK_EMPTY_HEART = 41;
|
||||
constexpr int GIANTBOOK_ETERNAL = 6;
|
||||
constexpr int GIANTBOOK_ETERNAL_BLACK = 46;
|
||||
constexpr int LOCUST_SUBTYPE_START = 25;
|
||||
constexpr int PEE_ALPHA = 180;
|
||||
constexpr int PEE_OFFSET = 244;
|
||||
@@ -77,7 +75,6 @@ constexpr float PICKUP_SPAWN_RADIUS = 40;
|
||||
constexpr int POCKET_ACTIVE_SLOT = 2;
|
||||
constexpr float RANDOM_FLOAT_SCALE = 2.3283064e-10f;
|
||||
constexpr int RED_REDEMPTION_KEY_CHARGES = 20;
|
||||
constexpr uint32_t STAGE_BLUE_WOMB = 11;
|
||||
constexpr uint8_t WOODEN_CROSS_STACK = 0x10;
|
||||
constexpr std::string_view COSTUMES_DIR = "costumes";
|
||||
constexpr std::array<std::string_view, 6> SKIN_COLOR_SUFFIXES = {"_white", "_black", "_blue",
|
||||
@@ -395,6 +392,7 @@ void Entity_Player::stats_reset()
|
||||
isBrokenRemotePending = false;
|
||||
cursedPennyPending = 0;
|
||||
vampireCharmKills = 0;
|
||||
jumperCablesKills = 0;
|
||||
isActiveUsed = false;
|
||||
isPlayingExtraAnimation = false;
|
||||
isHurtPending = false;
|
||||
@@ -902,7 +900,7 @@ void Entity_Player::start_position_set()
|
||||
if (game.stage + (isAltStage ? 1 : 0) != 1 || game.IsAscent())
|
||||
{
|
||||
pos = PlayerManager::get_player_start_position(this, {});
|
||||
if (game.challenge == CHALLENGE_BACKASSWARDS && game.stage == STAGE_BLUE_WOMB)
|
||||
if (game.challenge == CHALLENGE_BACKASSWARDS && game.stage == STAGE_DARK_ROOM)
|
||||
pos.y += BACKASSWARDS_START_OFFSET_Y;
|
||||
|
||||
uint32_t curses =
|
||||
@@ -962,9 +960,7 @@ void Entity_Player::level_items_apply(bool isForced)
|
||||
if (player && player->eternalHearts > 0)
|
||||
{
|
||||
player->eternalHearts = 0;
|
||||
bool isBlackSoul = player->GetHealthType() == HEALTH_SOUL &&
|
||||
(player->playerType == PLAYER_BLACKJUDAS || player->playerType == PLAYER_JUDAS_B);
|
||||
game.itemOverlay.Show(isBlackSoul ? GIANTBOOK_ETERNAL_BLACK : GIANTBOOK_ETERNAL, 1, nullptr);
|
||||
player->eternal_heart_overlay_show();
|
||||
player->AddMaxHearts(2, false);
|
||||
player->AddHearts(2, false, false);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user