Tourismustal: Oeko-Marker Panoramaweg = Muelleimer statt Solarzelle

Ein Weg hat kein Dach - der gepflegte Muelleimer am Wegrand (rechte
Ecke) erzaehlt sanften Tourismus besser. Position weiter ueber den
Editor-Solar-Modus justierbar (gleiches SOLAR_POS-System).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-12 00:48:31 +02:00
parent acde652ee7
commit ecc70a333d
+14
View File
@@ -125,6 +125,7 @@ export const SOLAR_POS = {
'badesee@L2': { dx: -28, dy: -3, s: 1 },
'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
};
// Feinjustierung aus dem Editor (editor.html): überschreibt SPRITE_DEFS-
@@ -2283,6 +2284,19 @@ 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') {
ctx.fillStyle = '#3f6b4f'; // Korpus
ctx.fillRect(-2.4, -5.2, 4.8, 5.6);
ctx.fillStyle = this._shade('#3f6b4f', -18); // Schattenseite
ctx.fillRect(0.6, -5.2, 1.8, 5.6);
ctx.fillStyle = '#2f3e46'; // Deckel
ctx.fillRect(-3, -6.6, 6, 1.7);
ctx.fillStyle = 'rgba(255,255,255,0.75)'; // Einwurf
ctx.fillRect(-1.4, -6.2, 2.8, 0.8);
ctx.restore();
return;
}
ctx.fillStyle = '#2d4a66';
ctx.beginPath();
ctx.moveTo(-9, 3); ctx.lineTo(1, -2); ctx.lineTo(10, 2.5); ctx.lineTo(0, 7.5);