mr:sheep_mob
Table of Contents
Sheep Mob - Code References
Java Classes
- WandOfFlock.java - Contains the Sheep inner class
- Sheep static class - Actual implementation of the sheep NPC
JSON Configuration
- Sheep.json - Sprite animation configuration
String Resources
<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>
Lua Scripts
This entity is implemented in Java, no Lua script exists
Implementation Details
- Entity Kind: sheep (from getEntityKind() returning simple class name)
- Sprite: ItemSpriteSheet.SHEEP (sprite defined in Sheep.json)
- NPC Type: A temporary NPC summoned by 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
