User Tools

Site Tools


mr:scarecrow_npc

Scarecrow NPC - Code References

Java Classes

JSON Configuration

This entity is implemented in Java, no JSON configuration exists

String Resources

<string name="ScarecrowNPC_Name">scarecrow</string>
<string name="ScarecrowNPC_Gender">neuter</string>
<string name="ScarecrowNPC_Name_Objective">scarecrow</string>
<string name="ScarecrowNPC_Desc">There is no doubt... this scarecrow is watching your every move. It's red glowing eyes pierce right through you, but surprisingly enough, you don't feel threatened by it.</string>
<string name="ScarecrowNPC_Quest_Start_Male">Why hello little boy, how do you do?\nI've got something exciting for you!\n\nOh how grateful would I be,\nIf you go and collect some candies for me!\n\n</string>
<string name="ScarecrowNPC_Quest_Start_Female">Why hello little girl, how do you do?\nI've got something exciting for you!\n\nOh how grateful would I be,\nIf you go and collect some candies for me!\n\n</string>
<string name="ScarecrowNPC_Quest_Reminder">Five candies is all I need.\nOh, the reward will be so sweet!</string>
<string name="ScarecrowNPC_Quest_End">Oh jolly, oh my!\nFor this, you'll get a sweet slice of pie!</string>

Lua Scripts

This entity is implemented in Java, no Lua script exists

Entity Implementation Details

  • Package: com.nyrds.pixeldungeon.mobs.npc
  • Base Class: ImmortalNPC
  • Entity Kind: ScarecrowNPC
  • Type: NPC (Non-Player Character)
  • Behavior: Immortal (cannot be killed), Quest-giver
  • Purpose: Gives candy collection quest in early dungeon levels
  • Quest Mechanics: Collect 5 candies from enemy drops, receive 5 Pumpkin Pies as reward
  • Candy Generation: 1 candy per 5 kills after quest initiation, stops after 25 kills total
  • Gender-specific Dialogue: Uses different dialogue based on hero gender
mr/scarecrow_npc.txt · Last modified: by 127.0.0.1