User Tools

Site Tools


mr:exploding_skull_mob

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
mr:exploding_skull_mob [2026/10/14 13:59] – Fix mr:exploding_skull_mob (JSON+Lua migration, stale Java refs); add nl:rpd:glyph_of_affection_item translation Wiki Maintenancemr:exploding_skull_mob [2026/10/14 14:04] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Exploding Skull Mob - Code References ======
 +
 +{{ rpd:images:exploding_skull_mob.png|Exploding Skull }}
 +
 +===== JSON Configuration =====
 +<code json>
 +{
 +   "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
 +}
 +</code>
 +
 +===== 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 =====
 +<code xml>
 +<string name="ExplodingSkull_Name">exploding skull</string>
 +<string name="ExplodingSkull_Gender">neuter</string>
 +<string name="ExplodingSkull_Name_Objective">exploding skull</string>
 +<string name="ExplodingSkull_Desc">This Undead enemy is a flying skull that explodes on contact with the hero, dealing heavy damage. It moves very quickly.</string>
 +</code>
 +
 +===== 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
  
mr/exploding_skull_mob.txt · Last modified: by 127.0.0.1