From 41ecb4d5fed40192f06970d5e5a04914ebd47923 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sun, 12 Jul 2026 00:50:32 +0200 Subject: [PATCH] Tourismustal: Oeko-Marker Hochseilgarten ebenfalls Muelleimer Co-Authored-By: Claude Opus 4.8 (1M context) --- App/sims/tourismustal/js/iso.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/App/sims/tourismustal/js/iso.js b/App/sims/tourismustal/js/iso.js index 94d8809..73b30c5 100644 --- a/App/sims/tourismustal/js/iso.js +++ b/App/sims/tourismustal/js/iso.js @@ -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