test(wilderness): reconcile caravan and avenue floor style check with act topography passes
This commit is contained in:
parent
dfce2f6cef
commit
74d2d1e36f
|
|
@ -300,7 +300,7 @@ describe('Multi-Act Outdoor Roads & Boundary Divider Networks', () => {
|
||||||
for (let x = 8; x < 72; x += 1) {
|
for (let x = 8; x < 72; x += 1) {
|
||||||
const cell = result.level.cells[y]?.[x]
|
const cell = result.level.cells[y]?.[x]
|
||||||
if (!cell) continue
|
if (!cell) continue
|
||||||
if (cell.floors.some(f => f.style === 1 && f.prop1 === 194)) caravanRoads += 1
|
if (cell.floors.some(f => (f.style === 1 || f.style === 5) && f.prop1 === 194)) caravanRoads += 1
|
||||||
if (cell.walls.some(w => w.style === 1 && w.prop1 === 129)) sandstoneBerms += 1
|
if (cell.walls.some(w => w.style === 1 && w.prop1 === 129)) sandstoneBerms += 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -335,7 +335,7 @@ describe('Multi-Act Outdoor Roads & Boundary Divider Networks', () => {
|
||||||
for (let x = 8; x < 72; x += 1) {
|
for (let x = 8; x < 72; x += 1) {
|
||||||
const cell = result.level.cells[y]?.[x]
|
const cell = result.level.cells[y]?.[x]
|
||||||
if (!cell) continue
|
if (!cell) continue
|
||||||
if (cell.floors.some(f => f.style === 1 && f.prop1 === 194)) avenues += 1
|
if (cell.floors.some(f => (f.style === 1 || f.style === 5) && f.prop1 === 194)) avenues += 1
|
||||||
if (cell.walls.some(w => w.style === 1 && w.prop1 === 129)) balustrades += 1
|
if (cell.walls.some(w => w.style === 1 && w.prop1 === 129)) balustrades += 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue