User Tools

Site Tools


mr:sheep_mob

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
mr:sheep_mob [2026/01/02 00:29] – Update sheep_mob.txt with accurate code references and implementation details mikemr:sheep_mob [2026/01/02 00:32] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== 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 =====
 +<code xml>
 +<string name="Sheep_Name">sheep</string>
 +<string name="Sheep_Name_Objective">sheep</string>
 +<string name="Sheep_Gender">feminine</string>
 +<string name="Sheep_Desc">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.</string>
 +<string name="WandOfFlock_SheepBaa_0">Baa!</string>
 +<string name="WandOfFlock_SheepBaa_1">Baa?</string>
 +<string name="WandOfFlock_SheepBaa_2">Baa.</string>
 +<string name="WandOfFlock_SheepBaa_3">Baa...</string>
 +<string name="WandOfFlock_SheepBaa_4">Bee...</string>
 +<string name="WandOfFlock_SheepBaa_5">Ble...</string>
 +</code>
 +
 +===== 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
  
mr/sheep_mob.txt · Last modified: by 127.0.0.1