====== Mimic Pie Mob - Code References ====== ===== Java Classes ===== This entity is implemented as a JSON-defined mob (CustomMob), no dedicated Java class exists * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/common/MobFactory.java|MobFactory.java]] - Defines MIMIC_PIE kind constant * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/common/CustomMob.java|CustomMob.java]] - Base class for JSON-defined mobs * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/food/PseudoPasty.java|PseudoPasty.java]] - Item that spawns MimicPie when picked up or eaten ===== JSON Configuration ===== { "name" : "MimicPie_Name", "name_objective": "MimicPie_Name_Objective", "description" : "MimicPie_Desc", "gender" : "MimicPie_Gender", "attackSkill" : 19, "defenseSkill" : 12, "dmgMin" : 6, "dmgMax" : 16, "dr" : 0, "str" : 10, "ht" : 65, "exp" : 5, "baseSpeed" : 1.25, "attackDelay" : 1, "viewDistance" : 8, "walkingType" : "NORMAL", "flying" : true, "spriteDesc" : "spritesDesc/MimicPie.json", "lootChance" : 1, "loot" : { "kind": "RottenPasty" }, "carcassChance" : 0, "canBePet" : false, "friendly" : false, "fraction" : "DUNGEON", "hasBodyParts" : false } ===== Sprite Configuration ===== { "texture" : "mimic_pie.png", "width" : 16, "height" : 16, "idle" : { "fps" : 5, "looped" : true, "frames" : [0, 0, 0, 1, 1] }, "run" : { "fps" : 10, "looped" : true, "frames" : [0, 1, 2, 3, 3, 2, 1] }, "attack" : { "fps" : 10, "looped" : false, "frames" : [0, 3, 4, 5] }, "die" : { "fps" : 12, "looped" : false, "frames" : [0,6,7,8,9] }, "states": ["levitating"], "bloodColor" : "0xFFcb9700" } ===== String Resources ===== mimic mimic Mimics are magical creatures which can take any shape they wish. This one looks like a big tasty pasty masculine ===== Dutch String Resources ===== mimic mimic masculine ===== Russian String Resources ===== мимик мимика Мимики — магические существа, способные принимать любую форму. Этот выглядит как большой аппетитный пирожок masculine ===== Lua Scripts ===== This entity is implemented via JSON configuration, no dedicated Lua script exists ===== Related mr Entities ===== * [[mr:pseudo_pasty_item|Pseudo Pasty (Item)]] - Food item that spawns this mob * [[mr:rotten_pasty_item|Rotten Pasty (Item)]] - Loot dropped by this mob