mr:dried_rose_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mr:dried_rose_item [2026/02/26 21:21] – Wiki maintenance: Fix 5 random pages for standards compliance Qwen Assistant | mr:dried_rose_item [2026/04/08 20:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== mr: | ||
| + | |||
| + | Machine-readable reference page for Dried Rose item in Remixed Dungeon. | ||
| + | |||
| + | ==== Java Implementation ==== | ||
| + | |||
| + | **Class File:** | ||
| + | * File: [[https:// | ||
| + | * Package: com.watabou.pixeldungeon.items.quest | ||
| + | * Extends: Artifact | ||
| + | * Entity Kind: DriedRose | ||
| + | |||
| + | **Item Properties: | ||
| + | * Type: Quest Artifact | ||
| + | * Image: ItemSpriteSheet.ROSE | ||
| + | * Identified: Always identified (isIdentified() returns true) | ||
| + | * Stackable: No (single item) | ||
| + | * Price: Not overridden (uses base Artifact price) | ||
| + | |||
| + | ==== Code Implementation ==== | ||
| + | |||
| + | <code java> | ||
| + | package com.watabou.pixeldungeon.items.quest; | ||
| + | |||
| + | 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; | ||
| + | import com.watabou.pixeldungeon.ui.BuffIndicator; | ||
| + | |||
| + | public class DriedRose extends Artifact { | ||
| + | |||
| + | public DriedRose() { | ||
| + | image = ItemSpriteSheet.ROSE; | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public ArtifactBuff buff() { | ||
| + | if (!isCursed()) { | ||
| + | return new OneWayLoveBuff(); | ||
| + | } else { | ||
| + | return new OneWayCursedLoveBuff(); | ||
| + | } | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public boolean isIdentified() { | ||
| + | return true; | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public String info() { | ||
| + | return super.info() + " | ||
| + | } | ||
| + | |||
| + | public static class OneWayLoveBuff extends ArtifactBuff { | ||
| + | @Override | ||
| + | public int icon() { | ||
| + | return BuffIndicator.ROSE; | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public String name() { | ||
| + | return StringsManager.getVar(R.string.DriedRoseBuff_Name); | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public String desc() { | ||
| + | return StringsManager.getVar(R.string.DriedRoseBuff_Info); | ||
| + | } | ||
| + | } | ||
| + | |||
| + | public static class OneWayCursedLoveBuff extends ArtifactBuff { | ||
| + | @Override | ||
| + | public int icon() { | ||
| + | return BuffIndicator.CURSED_ROSE; | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public String name() { | ||
| + | return StringsManager.getVar(R.string.DriedRoseCursedBuff_Name); | ||
| + | } | ||
| + | |||
| + | @Override | ||
| + | public String desc() { | ||
| + | return StringsManager.getVar(R.string.DriedRoseCursedBuff_Info); | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ==== Buffs ==== | ||
| + | |||
| + | **Uncursed State:** | ||
| + | * Buff Class: OneWayLoveBuff (inner class) | ||
| + | * Icon: BuffIndicator.ROSE | ||
| + | * Name String: DriedRoseBuff_Name - " | ||
| + | * Description String: DriedRoseBuff_Info - "The rose looks very charming." | ||
| + | * Effect: Provides charm-related benefits | ||
| + | |||
| + | **Cursed State:** | ||
| + | * Buff Class: OneWayCursedLoveBuff (inner class) | ||
| + | * Icon: BuffIndicator.CURSED_ROSE | ||
| + | * Name String: DriedRoseCursedBuff_Name - " | ||
| + | * Description String: DriedRoseCursedBuff_Info - "The rose looks beautiful but not very charming." | ||
| + | * Effect: Reduced charm effectiveness | ||
| + | |||
| + | ==== String Resources ==== | ||
| + | |||
| + | **English (values/ | ||
| + | * DriedRose_Name - "dried rose" | ||
| + | * DriedRose_Info - "This rose dried up long time ago, but it has somehow kept all its petals." | ||
| + | * DriedRose_Info2 - " And it hasn't lost it's charm. It looks so pretty, that you want to keep it forever." | ||
| + | * DriedRoseBuff_Name - " | ||
| + | * DriedRoseBuff_Info - "The rose looks very charming." | ||
| + | * DriedRoseCursedBuff_Name - " | ||
| + | * DriedRoseCursedBuff_Info - "The rose looks beautiful but not very charming." | ||
| + | |||
| + | **Russian (values-ru/ | ||
| + | * DriedRose_Name - Russian item name | ||
| + | * DriedRose_Info - Russian description | ||
| + | * DriedRose_Info2 - Russian additional description | ||
| + | * DriedRoseBuff_Name - Russian buff name | ||
| + | * DriedRoseBuff_Info - Russian buff description | ||
| + | * DriedRoseCursedBuff_Name - Russian cursed buff name | ||
| + | * DriedRoseCursedBuff_Info - Russian cursed buff description | ||
| + | |||
| + | ==== Acquisition ==== | ||
| + | |||
| + | **Primary Source:** | ||
| + | * Ghost NPC quest reward | ||
| + | * Location: Sewers (depth 1-5) | ||
| + | |||
| + | **Alternative Sources:** | ||
| + | * Special dungeon circumstances | ||
| + | * Mod-dependent spawns | ||
| + | |||
| + | ==== Mechanics ==== | ||
| + | |||
| + | **Curse Mechanics: | ||
| + | * Can be cursed like other artifacts | ||
| + | * Curse state determines which buff is applied (OneWayLoveBuff vs OneWayCursedLoveBuff) | ||
| + | * The buff() method checks isCursed() to return appropriate buff | ||
| + | * Curse removal restores normal buff | ||
| + | |||
| + | **Info Display:** | ||
| + | * Always shows additional description from DriedRose_Info2 string resource | ||
| + | * Additional text appended via info() method override | ||
| + | |||
| + | ==== Related Entities ==== | ||
| + | |||
| + | **Related NPCs:** | ||
| + | * [[mr: | ||
| + | |||
| + | **Related Buffs:** | ||
| + | * mr: | ||
| + | * mr: | ||
| + | |||
| + | **Related Mobs:** | ||
| + | * [[mr: | ||
| + | |||
| + | **Related Spells:** | ||
| + | * [[mr: | ||
| + | |||
| + | ==== Wiki Pages ==== | ||
| + | |||
| + | **English: | ||
| + | * [[en: | ||
| + | |||
| + | **Russian: | ||
| + | * [[ru: | ||
| + | |||
| + | **Portuguese: | ||
| + | * [[pt: | ||
| + | |||
| + | ==== Code References ==== | ||
| + | |||
| + | * Item implementation: | ||
| + | * String resources: [[https:// | ||
| + | |||
| + | {{tag> mr items quest artifact dried_rose reference machine-readable}} | ||
