Map editor — level1

Click object or NPC to select. Drag to move (must land on floor).
NPCs render with a cyan ring; objects with a gold ring.
F flip horizontal (object). R cycle NPC facing (down→left→up→right). 0 reset flip. Del remove (object).
+ / − / [ / ] resize selected (0.4×–2.5×). 1 reset size.
Cmd/Ctrl + scroll or the toolbar buttons to zoom the map.
Click empty floor → palette opens with every available sprite. Cells marked · are inactive (no glyph mapping) — placing them emits a tileMeta.sprite override.
Output is up to three blocks. tileMeta carries sprite, size, and flip overrides; tileOverrides emits when something was deleted; npcPlacements emits when at least one NPC was moved (replacement of the full array — re-applies any const-reference shorthand by hand). Paste relevant blocks into src/content/maps/level1.ts.