User Tools

Site Tools


mr:ring_of_stone_walking_item

Differences

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

Link to this comparison view

mr:ring_of_stone_walking_item [2025/12/19 01:23] – docs: Update crystal_mob.txt with source references and mr: link mikemr:ring_of_stone_walking_item [2025/12/19 01:23] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Ring of Stone Walking Item - Code References ======
  
 +This page contains raw code references and configuration excerpts for the Ring of Stone Walking item entity.
 +
 +==== Entity Kind ====
 +* **getEntityKind() value:** StoneWalking
 +
 +==== Java Implementation ====
 +* **Class location:** [[code:RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/armor/RingOfStoneWalking.java|RingOfStoneWalking.java]]
 +* **Parent Class:** [[code:RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/Item.java|Item]]
 +
 +==== Code Fragments ====
 +**Constructor:**
 +<code java>
 +public class RingOfStoneWalking extends Artifact {
 +
 + {
 + name = "Ring of Stone Walking";
 + image = ItemSpriteSheet.ARTIFACT_STONEWALKING;
 + }
 +</code>
 +
 +**Properties:**
 +<code java>
 +@Override
 +protected ArtifactBuff passiveBuff() {
 + return new StoneWalkingTracker();
 +}
 +
 +@Override
 +public String desc() {
 + return Messages.get(this, "desc");
 +}
 +</code>
 +
 +**Stone Walking Tracker Buff:**
 +<code java>
 +public class StoneWalkingTracker extends ArtifactBuff {
 +    // Implementation details for stone walking mechanics
 +}
 +</code>
 +
 +==== Configuration ====
 +* **Sprite Image:** ItemSpriteSheet.ARTIFACT_STONEWALKING
 +* **Entity Kind:** StoneWalking
 +
 +==== String Resources ====
 +* **StoneWalking_Name:** Ring of Stone Walking
 +* **StoneWalking_Info:** A ring that allows the wearer to walk through stone.