feat(web): add the local location view at /location
The screen a player stands on between activities: name, region, scene artwork with hotspots pinned by percentage, a four-button action bar and a context sidebar covering identity, danger, encounters, interactions and rewards. It owns no knowledge of any particular place. Hotspots and actions are routed by interaction type: HUNT and MAP hand off to the existing hunt and map screens, and everything that reveals text goes through the server-authoritative interaction endpoint. A second location therefore renders by supplying different content, which the Südtor case in the page spec exercises. The shell drops its generic area rail on /location, where the screen's own sidebar says the same thing better, and Ort joins the navigation as its first entry. Root and unknown routes now land on the location rather than the map: arriving somewhere should mean arriving at a place. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -118,12 +118,15 @@ export const BURNED_ROAD_LOCAL_CONTENT: LocalLocationContent = {
|
||||
enabled: true,
|
||||
},
|
||||
],
|
||||
// Only what the game actually grants today. Combat hands out silver and
|
||||
// experience; there is no loot system yet, so nothing else is promised
|
||||
// (spec §8, "Mögliche Belohnungen").
|
||||
// Only categories the loot tables on this road actually back: silver and
|
||||
// experience from every kill, gear from the raiders, pelts from the beasts.
|
||||
// Named items stay out — the view may not promise a drop the roll does not
|
||||
// guarantee (spec §8, "Mögliche Belohnungen").
|
||||
localRewardPreview: [
|
||||
{ key: 'silver', label: 'Silber', iconKey: 'silver' },
|
||||
{ key: 'experience', label: 'Erfahrung', iconKey: 'experience' },
|
||||
{ key: 'equipment', label: 'Ausrüstung', iconKey: 'equipment' },
|
||||
{ key: 'material', label: 'Material', iconKey: 'material' },
|
||||
],
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user