====== bellanpc_mob - Code References ======
===== Java Classes =====
* **Note:** The original `BellaNPC.java` class has been deleted as the entity migrated to JSON+Lua data files. See data references below.
* [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spritesDesc/BellaNPC.json|BellaNPC.json]] - Sprite configuration (replaces deleted Java class reference)
===== Class Implementation =====
**Note:** The original Java class `BellaNPC.java` has been deleted (migrated to data-based definition). Historical code reference preserved below for context.
package com.nyrds.pixeldungeon.mobs.npc;
import com.nyrds.pixeldungeon.ml.R;
import com.nyrds.platform.util.StringsManager;
import com.watabou.pixeldungeon.actors.Char;
import com.watabou.pixeldungeon.scenes.GameScene;
import com.watabou.pixeldungeon.windows.WndQuest;
public class BellaNPC extends ImmortalNPC {
public BellaNPC() {
}
@Override
public boolean interact(final Char hero) {
getSprite().turnTo( getPos(), hero.getPos() );
GameScene.show(new WndQuest(this, StringsManager.getVar(R.string.BellaNPC_Message)));
return true;
}
}
===== JSON Configuration =====
* [[https://github.com/NYRDS/remixed-dungeon/blob/master/RemixedDungeon/src/main/assets/spritesDesc/BellaNPC.json|BellaNPC.json]] - Sprite configuration
===== String Resources =====
Bella
A very posh looking girl. Her whole appearance tells you "I am to good for everyone."
I bear no interest in such plebs as yourself!
Why hello there handsome, what do you have over there. Ah, such an exquisite amulet! And you... you stand above those plebs. What if we take a walk and discuss our mutual future?
Why hello there cutie pie, why do you have over there. Ah, such an exquisite amulet! And you... you shine so much brighter compared to anyone. What if we take a walk and discuss our mutual future?
How dare you... you pleb!
Sure (End game)
No, not with you
feminine
Bella
===== Lua Scripts =====
No dedicated Lua behavior script exists; behavior is handled via the base ImmortalNPC class and data configuration.
===== Entity Kind =====
* **Entity Kind:** BellaNPC (returned by getEntityKind() method)
* **Base Class:** ImmortalNPC
* **Mob Type:** NPC (Non-player character)
===== Behavior =====
* **Interaction:** When player interacts, Bella turns to face the hero and displays a quest window with her standard message
* **Gender:** Feminine (affects dialogue variations with amulet)
* **Quest Role:** Part of the end-game content involving the amulet of yendor
* **Personality:** Posh, condescending attitude toward the player ("plebs")
===== Registration =====
* **Data Migration Note:** The original `registerMobClass(BellaNPC.class)` in MobFactory.java is obsolete; entity is now defined via data files (spritesDesc/BellaNPC.json, mobsDesc/). See data references above.
* Available for spawning through the mob factory system
===== Related NPCs =====
* [[mr:immortal_npc|ImmortalNPC]] - Base class (entity now data-defined; Java class deleted)
* [[mr:townsfolk_npc|TownsfolkNPC]] - Similar town NPC type