Polish Princess Lima map data and interaction feedback
All checks were successful
Build Org Website / build (push) Successful in 38s
All checks were successful
Build Org Website / build (push) Successful in 38s
This commit is contained in:
@@ -48,6 +48,16 @@ test("all authored actors and interaction points sit outside visible terrain col
|
||||
});
|
||||
});
|
||||
|
||||
test("every region exposes named Tiled-compatible collision and object layers", () => {
|
||||
const expected = ["Collision", "Dynamic Collision", "Exits", "NPCs", "Enemies", "Puzzles", "Items"];
|
||||
data.MAP_IDS.forEach((region) => {
|
||||
const layers = data.MAP_LAYERS[region];
|
||||
assert.deepEqual(layers.map((layer) => layer.name), expected);
|
||||
assert.ok(layers.every((layer) => layer.type === "objectgroup"));
|
||||
assert.equal(layers.find((layer) => layer.name === "Collision").objects, data.MAPS[region].obstacles);
|
||||
});
|
||||
});
|
||||
|
||||
test("keyboard-only page contains one left HUD and no touch controls", () => {
|
||||
assert.match(rpgSource, /class="lima-hud"/);
|
||||
assert.match(rpgSource, /Inventory <kbd>I<\/kbd>/);
|
||||
|
||||
Reference in New Issue
Block a user