Tourismustal: Oeko-Marker Hochseilgarten ebenfalls Muelleimer

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-12 00:50:32 +02:00
parent ecc70a333d
commit 41ecb4d5fe
+4 -2
View File
@@ -126,6 +126,7 @@ export const SOLAR_POS = {
'badesee@L3': { dx: -27, dy: -3, s: 1 },
'badesee@L4': { dx: -27, dy: -3, s: 1 },
trail: { dx: 18, dy: -4, s: 1 }, // Öko-Marker Panoramaweg = Mülleimer, rechte Ecke
ropes: { dx: 18, dy: -4, s: 1 }, // Öko-Marker Hochseilgarten = Mülleimer
};
// Feinjustierung aus dem Editor (editor.html): überschreibt SPRITE_DEFS-
@@ -2284,8 +2285,9 @@ export class IsoRenderer {
ctx.save();
ctx.translate(x + (pos.dx ?? 0), y + (pos.dy ?? 0));
ctx.scale(s, s);
// Panoramaweg: statt Solarzelle ein gepflegter Mülleimer am Wegrand
if (key.replace(/^mega_/, '') === 'trail') {
// Panoramaweg & Hochseilgarten: statt Solarzelle ein gepflegter
// Mülleimer am Wegrand (Natur-Attraktionen haben kein Dach)
if (['trail', 'ropes'].includes(key.replace(/^mega_/, ''))) {
ctx.fillStyle = '#3f6b4f'; // Korpus
ctx.fillRect(-2.4, -5.2, 4.8, 5.6);
ctx.fillStyle = this._shade('#3f6b4f', -18); // Schattenseite