====== Sheep Mob - Code References ====== ===== Java Classes ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/wands/WandOfFlock.java|WandOfFlock.java]] - Contains the Sheep inner class * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/wands/WandOfFlock.java#L90|Sheep static class]] - Actual implementation of the sheep NPC ===== JSON Configuration ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spritesDesc/Sheep.json|Sheep.json]] - Sprite animation configuration ===== String Resources ===== sheep sheep feminine This is a magic sheep. What's so magical about it? You can't kill it. It will stand in place until it magically fades away, all while chewing cud with a blank stare. Baa! Baa? Baa. Baa... Bee... Ble... ===== Lua Scripts ===== This entity is implemented in Java, no Lua script exists ===== Implementation Details ===== * **Entity Kind**: sheep (from getEntityKind() returning simple class name) * **Sprite**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/sprites/ItemSpriteSheet.java|ItemSpriteSheet.SHEEP]] (sprite defined in Sheep.json) * **NPC Type**: A temporary NPC summoned by [[en:rpd:wand_of_flock_item|Wand of Flock]] * **Lifespan**: Limited duration based on wand level + 3 * **Behavior**: Non-hostile, cannot be killed, disappears after a certain time * **Interaction**: Speaks random "baa" sounds when interacted with