mr:wand_maker_mob
Table of Contents
Wand Maker Mob - Code References
Java Classes
- Main class: WandMaker.java - Extends NPC, implements wand maker quest mechanics
- Mob factory registration: MobFactory.java#L250 - Registers WandMaker.class
- Quest window: WndWandmaker.java - Dialog for wand selection
- Level objects factory: LevelObjectsFactory.java#L79 - Registers Rotberry.class
JSON Configuration
This entity does not use JSON configuration. It is implemented entirely in Java.
String Resources
<string name="WandMaker_Name">old wandmaker</string> <string name="WandMaker_Desc">This old but hale gentleman wears a slightly confused expression. He is protected by a magic shield.</string> <string name="WandMaker_Defense">absorbed</string> <string name="WandMaker_Berry1">Oh, what a pleasant surprise to meet a decent person in such place! I came here for a rare ingredient - a _Rotberry seed_. Being a magic user, I'm quite able to defend myself against local monsters, but I'm getting lost in no time, it's very embarrassing. Probably you could help me? I would be happy to pay for your service with one of my best wands.</string> <string name="WandMaker_Berry2">Any luck with a Rotberry seed, %s? No? Don't worry, I'm not in a hurry.</string> <string name="WandMaker_Dust1">Oh, what a pleasant surprise to meet a decent person in such place! I came here for a rare ingredient - _corpse dust_. It can be gathered from skeletal remains and there is an ample number of them in the dungeon. Being a magic user, I'm quite able to defend myself against local monsters, but I'm getting lost in no time, it's very embarrassing. Probably you could help me? I would be happy to pay for your service with one of my best wands.</string> <string name="WandMaker_Dust2">Any luck with corpse dust, %s? Bone piles are the most obvious places to look through.</string> <string name="WandMaker_RotberryName">Rotberry</string> <string name="WandMaker_RotberryDesc">Berries of this shrub taste like sweet, sweet death.</string> <string name="WandMaker_RotberryInfo">The seed emits a roar that echoes throughout the dungeon!</string>
Available in multiple languages:
- English: strings_all.xml#L1876
- Russian: values-ru/strings_all.xml
- And other languages in the respective resource files
Lua Scripts
This entity is implemented in Java, no Lua script exists.
Implementation Details
- Parent Class: NPC (com.watabou.pixeldungeon.actors.mobs.npcs.NPC)
- Defense: Immune to damage (defenseSkill returns 1000, damage method does nothing)
- Immune to Buffs: add(Buff buff) returns false
- Reset Immunity: reset() returns true
- Spawn Location: PrisonLevel, in a random room
- Spawn Condition: Dungeon depth > 6, random chance (10 - depth)
- Quest Types:
- Alternative 0: Collect Corpse Dust from skeletons
- Alternative 1: Collect Rotberry Seed (plant grows when placed)
- Rewards:
- Battle wand (random from: Avalanche, Disintegration, Firebolt, Lightning, Poison)
- Non-battle wand (random from: Amok, Blink, Regrowth, Slowness, Telekinesis)
- Inner Classes:
- Quest: Manages quest state (spawned, alternative, given)
- Rotberry: Plant class with toxic gas effect
- Rotberry.Seed: Alchemy seed that produces Potion of Strength
Related Files
- NPC base class: NPC.java
- Corpse Dust item: CorpseDust.java
- Rotberry plant: Implemented as inner class in WandMaker.java
- Prison Level: PrisonLevel.java
- Journal feature: Journal.java
mr/wand_maker_mob.txt · Last modified: by 127.0.0.1
