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

Both sides previous revisionPrevious revision
Next revision
Previous revision
mr:corpse_dust_item [2026/02/23 19:34] – Improve 5 random wiki pages for standards compliance Qwen Assistantmr:corpse_dust_item [2026/02/23 19:36] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +====== 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 ====
 +<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>
 +
 +==== 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 ====
 +<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 (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]]