====== Exploding Skull Mob - Code References ====== {{ rpd:images:exploding_skull_mob.png|Exploding Skull }} ===== JSON Configuration ===== { "name": "ExplodingSkull_Name", "name_objective": "ExplodingSkull_Name_Objective", "description": "ExplodingSkull_Desc", "gender": "ExplodingSkull_Gender", "attackSkill": 125, "defenseSkill": 1, "dmgMin": 25, "dmgMax": 45, "dr": 1, "str": 17, "ht": 10, "exp": 1, "maxLvl": 1, "baseSpeed": 1.5, "attackDelay": 1, "viewDistance": 8, "walkingType": "NORMAL", "flying": true, "spriteDesc": "spritesDesc/ExplodingSkull.json", "scriptFile": "scripts/mobs/ExplodingSkull", "lootChance": 0.02, "loot": { "kind": "Gold" }, "undead": true, "carcassChance": 0, "canBePet": true, "friendly": false, "fraction": "DUNGEON", "hasBodyParts": false } ===== Java Classes ===== This entity is implemented via JSON + Lua; no dedicated Java class exists. See `CustomMob.java` for the base loader. * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/common/CustomMob.java|CustomMob.java]] - Base JSON mob loader ===== String Resources ===== exploding skull neuter exploding skull This Undead enemy is a flying skull that explodes on contact with the hero, dealing heavy damage. It moves very quickly. ===== Lua Scripts ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/mobs/ExplodingSkull.lua|ExplodingSkull.lua]] - Custom behavior script (if present) ===== Entity Usage Analysis ===== Using find_entity_usage.py: * JSON config: RemixedDungeon/src/main/assets/mobsDesc/ExplodingSkull.json * Lua script reference: scripts/mobs/ExplodingSkull * String resources: ExplodingSkull_Name, ExplodingSkull_Gender, ExplodingSkull_Name_Objective, ExplodingSkull_Desc * Bestiary references: RemixedDungeon/src/main/assets/levelsDesc/Bestiary.json ===== Related mr Entities ===== * [[mr:undead_mob|Undead (Mob)]] - Mob type classification * [[mr:necromancer_class|Necromancer Class]] - Related to necropolis theme * [[mr:skeleton_mob|Skeleton Mob]] - Another undead mob