mirror of
https://github.com/Such-Software/wownerogue.git
synced 2026-11-12 10:13:52 +01:00
fix(tavern): render the reliable procedural room, drop the goblin 'cat'
- The imported .tmx tavern room renders as a block-scatter in the browser (the client falls back to the walkable grid, drawing furniture/walls as generic blocks). Gate it behind TAVERN_DESIGNED_ROOM=true and default to the hand-built procedural tavern (tavernMap.js) — bar + tables + walls — which renders reliably through the theme atlas. - Remove the tavern 'cat': it used the char-goblin sprite, so it read as a green monster stuck in the wall. Gone until there's a real critter sprite.
This commit is contained in:
@@ -219,12 +219,8 @@
|
||||
}));
|
||||
}
|
||||
|
||||
// Cat — a small wandering creature.
|
||||
var catSpot = findFloor(3, rows - 3);
|
||||
this.npcs.push(makeNPC('cat', 'cat', 'char-goblin', catSpot.x, catSpot.y, {
|
||||
label: null, color: '#e8a060', role: 'cat',
|
||||
roamArea: catArea(cols, rows)
|
||||
}));
|
||||
// (No "cat": it used the char-goblin sprite, which read as a green monster stuck in the
|
||||
// wall. Left out until there's an actual pet/critter sprite.)
|
||||
};
|
||||
|
||||
TavernLife.prototype._pickTarget = function (npc, scene) {
|
||||
|
||||
Reference in New Issue
Block a user