User Tools

Site Tools


mr:corpse_dust_item

Differences

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

Link to this comparison view

mr:corpse_dust_item [2025/12/24 21:03] – Update Corpse Dust item page with comprehensive code references mikemr:corpse_dust_item [2025/12/24 21:11] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== Corpse Dust Item - Code References ======
 +
 +===== Java Classes =====
 +''<code java>''
 +package com.watabou.pixeldungeon.items.quest;
 +
 +import com.nyrds.pixeldungeon.mechanics.buffs.RageBuff;
 +import com.nyrds.pixeldungeon.ml.R;
 +import com.nyrds.platform.util.StringsManager;
 +import com.watabou.pixeldungeon.items.rings.Artifact;
 +import com.watabou.pixeldungeon.items.rings.ArtifactBuff;
 +import com.watabou.pixeldungeon.sprites.ItemSpriteSheet;
 +
 +public class CorpseDust extends Artifact {
 +
 + public CorpseDust() {
 + image = ItemSpriteSheet.DUST;
 +
 + setCursed(true);
 + setCursedKnown(true);
 + }
 +
 + @Override
 + public boolean isIdentified() {
 + return true;
 + }
 +
 + @Override
 + public ArtifactBuff buff() {
 + return new RageBuff();
 + }
 +
 + @Override
 + public String info() {
 +        return super.info() + "\n\n" + StringsManager.getVar(R.string.CorpseDust_Info2);
 + }
 +
 +}
 +''</code>''
 +
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/quest/CorpseDust.java|CorpseDust.java]] - Main implementation
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mechanics/buffs/RageBuff.java|RageBuff.java]] - Related buff implementation
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/rings/Artifact.java|Artifact.java]] - Base class
 +
 +===== JSON Configuration =====
 +This entity does not use JSON configuration.
 +
 +===== String Resources =====
 +''<code xml>''
 +<string name="CorpseDust_Name">corpse dust</string>
 +<string name="CorpseDust_Info">The ball of corpse dust doesn\'t differ outwardly from a regular dust ball. However, you know somehow that it\'s better to get rid of it as soon as possible.</string>
 +<string name="CorpseDust_Info2"> Maybe because just holding it makes you feel anxious and angry.</string>
 +<string name="CorpseDustBuff_Name">Bloodlust</string>
 +<string name="CorpseDustBuff_Info">Attacks are greatly increased for those filled with bloodlust, making them especially dangerous.</string>
 +''</code>''
 +
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L522-L524|strings_all.xml]] - English strings
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values-ru/strings_all.xml#L522-L524|strings_all.xml]] - Russian strings
 +
 +===== Lua Scripts =====
 +This entity is implemented in Java, no Lua script exists
 +
 +===== Related Code References =====
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/ItemFactory.java|ItemFactory.java]] - Registration
 +  * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/actors/mobs/npcs/WandMaker.java|WandMaker.java]] - Used in quest
  
mr/corpse_dust_item.txt · Last modified: (external edit)