Table of Contents

Soul Shard Item - Code References

Java Classes

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

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