mr:soul_shard_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:soul_shard_item [2026/02/22 11:27] – Fix wiki standards compliance issues on 5 random pages Qwen Assistant | mr:soul_shard_item [2026/02/22 11:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Soul Shard Item - Code References ====== | ||
| + | |||
| + | ==== Java Classes ==== | ||
| + | * **Main Class**: [[https:// | ||
| + | * **Package**: | ||
| + | * **Parent Class**: Item | ||
| + | * **Registration**: | ||
| + | * **Related Mob**: [[https:// | ||
| + | |||
| + | ==== Java Class Content ==== | ||
| + | <code java> | ||
| + | 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 = " | ||
| + | image = 0; | ||
| + | identify(); | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public Glowing glowing() { | ||
| + | return new Glowing((int) (Math.random() * 0xaaaaff)); | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ==== Key Properties from Code ==== | ||
| + | * **Stackable**: | ||
| + | * **Image File**: items/ | ||
| + | * **Image Index**: 0 (first sprite in the sheet) | ||
| + | * **Auto-identified**: | ||
| + | * **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 ==== | ||
| + | <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | </ | ||
| + | |||
| + | ==== Lua Scripts ==== | ||
| + | This entity is implemented entirely in Java, no Lua script exists. | ||
| + | |||
| + | ==== Sprite References ==== | ||
| + | * **Sprite Sheet**: [[https:// | ||
| + | * **Wiki Image**: {{ rpd: | ||
| + | * **Sprite Index**: 0 (first sprite in materials.png) | ||
| + | |||
| + | ==== Related Entities ==== | ||
| + | * **Jar of Souls**: [[mr: | ||
| + | * **Enslaved Soul**: [[mr: | ||
mr/soul_shard_item.txt · Last modified: by 127.0.0.1
