Files
ashen-realms/apps/web/src/app/layout/context-panel/context-panel.component.html
Bastian Wagner 18f4be586b fix(web): locations recommend Ansehen, not the abolished Stufe
Two location panels still labelled their recommended range "Empfohlene
Stufe". The player no longer has a Stufe -- this slice replaced the
1-7 level scale with Ansehen 1-15, so the UI was recommending a scale
the character cannot be measured on.

Source slice doc section 3 defines this concept as Recommended Renown
per region (Aschenfelder 1-5). The seeded values already sit inside
that range (south-gate 1-1, burned-road 1-2), so only the label was
wrong -- no data change needed.

The min_recommended_level / max_recommended_level column and property
names are left as-is: internal naming, no user-visible effect, and
renaming them would reach across the API, the entity, the DTO and the
seed for no behavioural gain.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-21 18:15:42 +02:00

45 lines
1.6 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<aside class="context-panel" aria-label="Gebietsinformationen">
@if (worldStore.currentLocation(); as location) {
<span class="context-panel__eyebrow">GEBIETSINFO</span>
<h2>{{ location.name }}</h2>
@if (worldStore.selectedConnection(); as selected) {
<p class="context-panel__selection">Ausgewähltes Ziel: {{ selected.targetLocation.name }}</p>
}
<picture class="context-panel__artwork">
@if (runtimeArtworkPath(location.artworkPath); as runtimeArtwork) {
<source [srcset]="runtimeArtwork" type="image/jpeg" />
}
<img [src]="location.artworkPath" [alt]="'Ortsansicht: ' + location.name" />
</picture>
<p class="context-panel__description">{{ location.description }}</p>
<dl class="context-panel__facts">
<div>
<dt>Empfohlenes Ansehen</dt>
<dd>{{ location.minRecommendedLevel }}{{ location.maxRecommendedLevel }}</dd>
</div>
<div>
<dt>Sicherheit</dt>
<dd [class.context-panel__safe]="location.isSafe">
{{ location.isSafe ? 'Sicherer Ort' : 'Gefährliches Gebiet' }}
</dd>
</div>
<div>
<dt>Jagd</dt>
<dd>{{ location.huntingEnabled ? 'Jagd möglich' : 'Keine Jagd' }}</dd>
</div>
@if (location.huntingEnabled && location.possibleMonsters.length) {
<div>
<dt>Mögliche Begegnungen</dt>
<dd>{{ location.possibleMonsters.join(', ') }}</dd>
</div>
}
</dl>
} @else {
<span class="context-panel__eyebrow">GEBIETSINFO</span>
<p class="context-panel__hint">Informationen erscheinen mit der Weltansicht.</p>
}
</aside>