mirror of
https://github.com/Such-Software/wownerogue.git
synced 2026-10-23 09:08:32 +02:00
feat(packs): Fancy dies as a mode → topdown packs; Roguelike Dungeon tile pack (B)
Modes are TECHNIQUES; 'Fancy' (tiles+FX) was really a topdown PACK, so: - Remove 'fancy' from RENDER_MODES (saved 'fancy' falls back to tiles; its dead Pixi branch is short-circuited by canUseMode). Modes = Tiled/ASCII/Iso/3D. - Modes now carry a ; a premium mode unlocks once the user has ANY unlocked pack for that projection (not a single hardcoded pack) — needed now that iso is multi-pack. - New 'roguelike-dungeon' topdown pack: same sheet, a DUNGEON palette (stone floors + barrels/crates vs the wood interior) — a distinct 2D tileset with zero new assets. Registered + catalog (migration 027, topdown tier 1 / 1 credit). The tiled renderer's lighting/shadows/vignette are the built-in FX. - Also: iso facing fix (Male 0=NW..6=NE) reflected in tests. So the Tiled pack picker now offers Roguelike Interior <-> Dungeon, and Iso offers Dungeon <-> Medieval — packs as products, proven in the best-looking mode too. Suite 58/419 green.
This commit is contained in:
@@ -21,6 +21,10 @@ const DEFAULT_CATALOG = Object.freeze({
|
||||
id: 'generated-skins', label: 'Premium Generated Skins', kind: 'render-pack',
|
||||
projection: 'topdown', tier: 1, unlockMinCredits: 1, grantOnly: false, premium: true
|
||||
}),
|
||||
'roguelike-dungeon': Object.freeze({
|
||||
id: 'roguelike-dungeon', label: 'Roguelike Dungeon (Tiles)', kind: 'render-pack',
|
||||
projection: 'topdown', tier: 1, unlockMinCredits: 1, grantOnly: false, premium: true
|
||||
}),
|
||||
'iso-dungeon': Object.freeze({
|
||||
id: 'iso-dungeon', label: 'Kenney Isometric Dungeon', kind: 'render-pack',
|
||||
projection: 'iso', tier: 2, unlockMinCredits: 10, grantOnly: false, premium: true
|
||||
|
||||
Reference in New Issue
Block a user