From 22a7a9984d8b6e082321b0ddb4a3fc9f0c301385 Mon Sep 17 00:00:00 2001 From: shweet Date: Sat, 24 Oct 2026 19:37:43 -0400 Subject: [PATCH] Items sweep 12: second batch (Mom's Key to Hungry Soul) --- db/names.tsv | 9 ++++++++ notes/items/items_sweep_12.md | 41 +++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/db/names.tsv b/db/names.tsv index eca9bf3..6962f32 100644 --- a/db/names.tsv +++ b/db/names.tsv @@ -751,3 +751,12 @@ 0056cd60 NpcAI::ENTITY_MOTHER_2 912.10 by the 912 variant table at 006c4964 (boss_approx_3) 00565e00 NpcAI::ENTITY_MOTHER_worm 912.30 by the 912 variant table (boss_approx_3) 00566810 NpcAI::ENTITY_MOTHER_ball 912.100 by the 912 variant table (boss_approx_3) +004bc460 NpcHelper::hornfel_room_controller effect 1000.152 update (Entity_Effect::Update case 005da269): passing carts (boss_approx_3) +004bb350 NpcHelper::hornfel_free_door a random 967 rail door free of carts (boss_approx_3) +# +# No standalone AI exists for these types: their dispatcher case is inline code (Entity_NPC_UpdateAI_dispatch 006c2990) +# 93 ENTITY_MASK case 006c2d98: finds a Heart (type 92) in the room and parents itself to it +# 79 ENTITY_GEMINI case 006c2a45: builds ProjectileParams and fires +00866960 LuaEngine::RegisterAPI registers the Lua API (LUA_REG in build.sh; references "UseActiveItem" etc.) +00a08700 Weapon_MonstrosLung::FireBurst fires N burst tears around a velocity (items sweep 12) +006bbdc0 NpcHelper::npc_kill_item_spawns dump labelled Entity_Pickup::Update; holds the Hungry Soul spawn (items sweep 12, unverified name) diff --git a/notes/items/items_sweep_12.md b/notes/items/items_sweep_12.md index 369977c..b7db10b 100644 --- a/notes/items/items_sweep_12.md +++ b/notes/items/items_sweep_12.md @@ -29,3 +29,44 @@ `*param_1 = 0`, so the coin (20) is always in the redraw; the black subtype is skipped only in room type 8. - **Guillotine (206)**: `Entity_Familiar::Update` case 0x44 only orbits the head and hides it (collision class 0, invisible) under a temporary collectible effect / IsFullSpriteRendering; no costume in costumes2.xml. +- **Mom's Key (199)**: FUN_006dae40 (chest open): `FirstCollectibleOwner(199)` doubles the drawn pickup count. +- **Gnawed Leaf (210)**: FUN_00782af0: `_lastActionTriggers` bit 2 move, bit 4 fire (others: bombs, actives); with it 0, + `_gnawedLeafTimer` counts, past 60 (`0x3c < t`) he becomes a statue (mass 0x37c = 1000, null costume 4, sound + 0x35a); Entity_Player::HasInvincibility honours it unless the damage flags carry 0x20. +- **Monstro's Lung (229)**: Weapon_MonstrosLung::Fire 00a07d50 / GetMaxCharge 00a08c80 (max fire delay, x2.5 with + modifier 1): fires only full; per multishot way FUN_00a08700 fires `12 + 12/5 * tears` (12 = float bits 1.68e-44; + Haemolacria 5/7, Dr. Fetus 5): vel + rand dir * rand * 3.5, scale (coin*0.4 + 0.9 + rand*0.05), fall speed + -(5 + rand*15) - height, fall accel +0.5. EvaluateItems: HasWeaponType(7) fire rate / 4.3. +- **Abaddon (230)**: GetTearHitParams fear roll `rand % max(1, 100 - luck) < 15` shared with Mom's Perfume (0xe4). +- **Contract from Below (241)**: Room::SpawnClearAward 007fb250: count = N + 1, zeroed on RandomFloat() < pow(.666, N) * .5; + not for variant 350 (trinkets). +- **Tech.5 (244)**: FUN_0077b020 @0x77e1b1: counter player+0x1468 reset 15 (16-tick period) while firing, then + Isaac::Random(3) != 0 -> FireTechLaser(pos, 2, aim, ..., 1.0). +- **Starter Deck / Little Baggy (251/252)**: Pickup_PickVariant: pill 70 -> card 300 (Deck), card -> pill (Baggy); + both held cancel. +- **Missing Page 2 (262)**: take_damage_impl: (red - dmg + bone + soul) <= threshold < before -> sound 0x21, overlay + 0x1f, UseActiveItem(0x23); once-flag field 0x82c. +- **Clear Rune (263)**: UseActiveItem case 0x107: Card::IsRune on the held card, then its use. +- **Leech (270)**: FUN_00616db0 (also 0x47/0x48): target within 65 + 15 * scale, FindGridPath at 2.2 * 0.83. +- **BBF (272)**: Familiar::Update case 0x3a (MoveDiagonally; subtype 1 hidden, 0xda8 counter); HandleCollision: room + frame > 20, blast (scale - 1) * 25 + 100 with bomb flags, counter 300. +- **Dark Bum (278)**: FUN_0061a4e0: hearts subtype 1/2/5/9; tally 0xd80 >= 3 pays (-3, and -1 on 1/10 without BFFS); + %5: 0 spider (blue or ThrowSpider), 1 pill, 2 card, 3-4 black heart. +- **Sissy Longlegs (280)**: FUN_0061c3f0: spider timer 0xd88 = 150 + rand%300 (BFFS 120 + rand%210), <= 4 spiders (9 Hive + Mind), wanders to random points via FindGridPath 0.8. +- **D4 (284)**: FUN_005c88a0 + Entity_Player::CanRerollCollectible 007ce2a0 (not 0x102/0x290, quest, challenge items, + character items); new items from ItemPool::GetCollectible of each item's source pool. +- **Missing No. (258)**: FUN_007a4ba0 (new floor) -> UseActiveItem(0x11c) and the Glitch animation. +- **Libra (304)**: EvaluateItems' 0x130 block averages transformed stats ((speed + range + 2 * damage-tears)/4); the + transforms FUN_009bfc00..bfd20 are pow()s whose constants only the asm shows. +- **Flush! (291)**: Room::Update reads temporary effect 0x123 (water +0.1/tick to .9, pits filled). +- **Hushy (470)**: Familiar::Update case 0x6b: MoveDiagonally until Isaac fires; then still (v*0.85), 8 projectiles 45 + deg apart every 31 ticks. +- **Adrenaline (493)**: EvaluateItems: N = (bone*2 - red + max)/2, damage += (2N)^1.6 * 0.1 (pow arg from the wiki). +- **Dog Tooth (445)**: +0.3 in the flat damage sum, +0.1 speed. **Bozo (513)**: +0.1 damage after multipliers. +- **Shard of Glass (448)**: take_damage_impl: flag 4 + 600 timer (bleed), RandomInt(4) == 0 -> heart 10.1. +- **Hypercoagulation (724)**: take_damage_impl: heart 10 subtype 2 (or 1 for > half a heart), flung; Daemon's Tail 4/5 black. +- **Cracked Orb (675)**: take_damage_impl -> FUN_007d7c30 each hit. **Dream Catcher (566)**: FUN_007a4ba0 AddSoulHearts(1). +- **Hungry Soul (684)**: kill handler 006bbdc0 (dump label Entity_Pickup::Update, ICF?): seed % 3 == 0 -> 1000.186.0, timeout 180. +- Note: in this dump UseActiveItem's case labels cover low ids only (a second switch on an offset id), so + `find.sh active` misses most Rebirth+ actives.