feat: render interactive ashen fields world
This commit is contained in:
@@ -115,6 +115,18 @@ describe('seedVisibleVerticalSlice', () => {
|
||||
expect.objectContaining({ id: DEMO_CHARACTER_ID }),
|
||||
);
|
||||
expect(locationRepository.rows).toHaveLength(2);
|
||||
expect(locationRepository.rows).toEqual(
|
||||
expect.arrayContaining([
|
||||
expect.objectContaining({
|
||||
key: 'south-gate',
|
||||
artworkPath: '/images/backgrounds/Suedtor.png',
|
||||
}),
|
||||
expect.objectContaining({
|
||||
key: 'burned-road',
|
||||
artworkPath: '/images/backgrounds/Aschestrasse.png',
|
||||
}),
|
||||
]),
|
||||
);
|
||||
expect(connectionRepository.rows).toHaveLength(2);
|
||||
expect(characterRepository.rows).toHaveLength(1);
|
||||
expect(characterRepository.rows[0]).toEqual(
|
||||
|
||||
@@ -25,7 +25,7 @@ export async function seedVisibleVerticalSlice(
|
||||
dangerLevel: 0,
|
||||
isSafe: true,
|
||||
huntingEnabled: false,
|
||||
artworkPath: '/assets/locations/south-gate.webp',
|
||||
artworkPath: '/images/backgrounds/Suedtor.png',
|
||||
},
|
||||
{
|
||||
id: BURNED_ROAD_ID,
|
||||
@@ -39,7 +39,7 @@ export async function seedVisibleVerticalSlice(
|
||||
dangerLevel: 1,
|
||||
isSafe: false,
|
||||
huntingEnabled: true,
|
||||
artworkPath: '/assets/locations/burned-road.webp',
|
||||
artworkPath: '/images/backgrounds/Aschestrasse.png',
|
||||
},
|
||||
];
|
||||
let southGateId = SOUTH_GATE_ID;
|
||||
|
||||
Reference in New Issue
Block a user