Files
isaac-port/notes/_tools/fbtools/mausoleum_mom.py
T
shweetandClaude Opus 5.5 ad8f933086 Salvage Repentance+ 1.9.7.17 decompilation toolkit, notes and name database
Ghidra 12.2 project and full dump of isaac-ng.exe v1.9.7.17, query scripts, notes
indexed by entity, anm2/rooms reimplementations, and db/ (names + fields) that
build.sh re-applies. Fixes awk numeric address comparison in find.sh/decompile.sh.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 13:08:19 -04:00

23 lines
1.4 KiB
Python

import copy, json, sys; sys.path.insert(0, '../../b5tools'); from rec import upsert
ROCK = {"art": {"anm2": "gfx/effects/rock_explosion/rock_explosion.anm2", "animation": "Break", "scale": 1, "offset_y": 0},
"period": 3, "radius": 14, "enemy_damage": 2, "player_damage": 0.5, "friendly": False,
"wave": {"spacing": 30, "period": 3, "breaking": True}}
mom = next(e for e in json.load(open('resources/data/entities.json'))['entities'] if e['key'] == 'mom')
record = copy.deepcopy(mom)
for key in ('eternal', 'champions', 'boss_heart'):
record.pop(key, None)
behavior = record['behavior']
for key in ('eternal', 'champion'):
behavior.pop(key, None)
record.update({"key": "mausoleum_mom", "name": "Mom (Mausoleum)", "flash_id": 4500003})
behavior.update({
# NpcAI::ENTITY_MOM's subtype 3 (the Mausoleum's, never a champion): no hand slams, her stomps at Isaac come three
# at a time (QuickStomp, two more), the last blasting out four ways; her eyes beam across the room instead of
# summoning, her flesh (SummonBulge) bringing her own pool.
"near_range": 0, "near_radius": 0,
"stomp_repeat": {"count": 2, "effects": [{"effect": "bolts", "directions": "cardinal", "offset": 30, "bolt": ROCK}]},
"eye_laser": {"pose": "Summon", "from": "Release", "width": 30, "player_damage": 1},
"spawn_pool": ["attack_fly", "cursed_globin", "fetal_demon", "ragling", "sucker", "psychic_horf"],
})
upsert(record)