====== Scarecrow NPC ====== {{ rpd:images:scarecrownpc_sprite.png|Scarecrow NPC }} The Scarecrow NPC is a special quest-giving character found in the early levels of the dungeon. It gives a quest where the player must collect candies to receive a reward. ==== Quest Mechanics ==== * **Quest Start**: Talk to the Scarecrow to begin the quest * **Candy Collection**: After talking to the NPC, kill enemies to have a chance to generate candies * **Candy Requirement**: Collect 5 candies to complete the quest * **Reward**: After turning in 5 candies, receive 5 Pumpkin Pies * **Quest Completion**: The NPC disappears after the quest is completed ==== Interaction ==== * **First Meeting**: The Scarecrow will give a quest to collect candies * **Reminder**: If you have candies but fewer than 5, talking to the Scarecrow will remind you of the quest * **Completion**: When you have 5 candies and talk to the Scarecrow, it will take the candies and give you the reward * **Gender-specific Dialogues**: The Scarecrow uses different dialogues depending on the hero's gender ==== Special Behavior ==== * The Scarecrow moves to a new position after each reminder if the quest is not completed * Candies are generated as you kill enemies during the quest (after talking to the scarecrow) * The quest is automatically tracked in the Journal until completed ==== Technical Details ==== * **Java Class:** [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/npc/ScarecrowNPC.java|com.nyrds.pixeldungeon.mobs.npc.ScarecrowNPC]] * **Implementation:** Extends ImmortalNPC base class * **Quest Mechanics:** Implemented in inner Quest class * **Candy Generation:** 1 candy per 5 kills (after quest initiation), up to 25 kills total to complete quest * **Reward Quantity:** 5 Pumpkin Pies per quest completion * **Quest Storage:** Stored in bundle with key "scarecrow" * **Journal Feature:** Added to journal as "SCARECROW" ==== Content Verification ==== * Information source: Java Class com.nyrds.pixeldungeon.mobs.npc.ScarecrowNPC * Quest mechanics verified from source code analysis * Candy generation rate confirmed as 1 per 5 kills (Quest.process() method) with stop after 25 kills total * Implementation details from ScarecrowNPC.java source * String resources: [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/res/values/strings_all.xml#L1575-L1583|ScarecrowNPC_Name, ScarecrowNPC_Desc, ScarecrowNPC_Quest_Start_Male, ScarecrowNPC_Quest_Start_Female, ScarecrowNPC_Quest_Reminder, ScarecrowNPC_Quest_End, Journal_ScarecrowNPC]] ==== Related Pages ==== * [[en:rpd:candy_item|Candy]] - The quest item needed for the Scarecrow's quest * [[en:rpd:pumpkin_pie_item|Pumpkin Pie]] - The reward item received from the Scarecrow * [[en:rpd:journal|Journal]] - Where the quest is tracked {{tag> rpd npcs quest}}