====== Scarecrow NPC - Code References ====== ===== Java Classes ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/nyrds/pixeldungeon/mobs/common/MobFactory.java|MobFactory.java]] - Registers ScarecrowNPC entity kind * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/java/com/watabou/pixeldungeon/Journal.java|Journal.java]] - Journal entry for ScarecrowNPC ===== JSON Configuration ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/mobsDesc/ScarecrowNPC.json|ScarecrowNPC.json]] - Mob description (sprite, script reference) ===== String Resources ===== scarecrow neuter scarecrow 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. Why hello little boy, how do you do? I've got something exciting for you! Oh how grateful would I be, If you go and collect some candies for me! Why hello little girl, how do you do? I've got something exciting for you! Oh how grateful would I be, If you go and collect some candies for me! Five candies is all I need. Oh, the reward will be so sweet! Oh jolly, oh my! For this, you'll get a sweet slice of pie! ===== Lua Scripts ===== * [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/scripts/npc/ScarecrowNPC.lua|ScarecrowNPC.lua]] - NPC behavior and quest logic (replaces Java implementation) ===== Related mr Entities ===== * [[mr:candy_item|Candy Item]] * [[mr:pumpkin_pie_item|Pumpkin Pie Item]] {{tag> rpd npc mr}}