mr:soul_shard_item
Table of Contents
Soul Shard Item - Code References
Java Classes
- Main Class: SoulShard.java
- Package: com.nyrds.pixeldungeon.items.material
- Parent Class: Item
- Registration: Registered in ItemFactory.java
- Related Mob: JarOfSouls.java (commented out loot)
Java Class Content
package com.nyrds.pixeldungeon.items.material; import com.watabou.pixeldungeon.items.Item; import com.watabou.pixeldungeon.sprites.Glowing; public class SoulShard extends Item { public SoulShard() { stackable = true; imageFile = "items/materials.png"; image = 0; identify(); } @Override public Glowing glowing() { return new Glowing((int) (Math.random() * 0xaaaaff)); } }
Key Properties from Code
- Stackable: true (can be stacked in inventory)
- Image File: items/materials.png (sprite sheet)
- Image Index: 0 (first sprite in the sheet)
- Auto-identified: identify() called in constructor
- Glowing Effect: Random blue-ish glow (0xaaaaff color range)
JSON Configuration
No dedicated JSON configuration file found. The item uses default Item behavior.
String Resources
<string name="SoulShard_Name">soul shard</string> <string name="SoulShard_Info">It's a shard taken from the remains of the Jar of Souls. It shimmers with mysterious power, maybe there is someone who might be interested in something like this.</string> <string name="SoulShard_Gender">masculine</string>
Lua Scripts
This entity is implemented entirely in Java, no Lua script exists.
Sprite References
- Sprite Sheet: items/materials.png
- Sprite Index: 0 (first sprite in materials.png)
Related Entities
- Jar of Souls: jar_of_souls_mob - Boss mob that may drop soul shards
- Enslaved Soul: enslaved_soul_mob - Related mob in necropolis
- English Page: soul_shard_item
- Russian Page: soul_shard
mr/soul_shard_item.txt · Last modified: by 127.0.0.1

