====== Corpse Dust Item - Code References ======
{{ rpd:images:corpse_dust_item.png|Corpse Dust }}
==== Java Classes ====
* **Main Class**: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/items/quest/CorpseDust.java|CorpseDust.java]]
* **Package**: com.watabou.pixeldungeon.items.quest
* **Parent Class**: Artifact
* **Registration**: Registered in [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/items/common/ItemFactory.java|ItemFactory.java]]
==== Java Class Content ====
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);
}
}
==== Key Properties from Code ====
* **Type**: Artifact (Quest Item)
* **Image**: ItemSpriteSheet.DUST
* **Cursed**: Yes (setCursed(true))
* **Cursed Known**: Yes (setCursedKnown(true))
* **Identified**: Always (isIdentified() returns true)
* **Buff**: RageBuff (applied when equipped)
* **Weight**: 1 (default Artifact weight)
==== JSON Configuration ====
This entity does not use JSON configuration.
==== String Resources ====
corpse dust
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.
Maybe because just holding it makes you feel anxious and angry.
Bloodlust
Attacks are greatly increased for those filled with bloodlust, making them especially dangerous.
* [[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 (drops from skeletons)
* [[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/assets/scripts/alchemy_recipes.lua|alchemy_recipes.lua]] - Used in alchemy recipes
==== Related Entities ====
* **Rage Buff**: [[mr:rage_buff|rage_buff]] - Buff applied by this item
* **English Page**: [[en:rpd:corpse_dust_item|corpse_dust_item]]
* **Russian Page**: [[ru:rpd:corpse_dust_item|corpse_dust_item]]
* **Chinese Page**: [[cn:rpd:corpse_dust_item|corpse_dust_item]]
* **Portuguese Page**: [[pt:rpd:corpse_dust_item|corpse_dust_item]]