Tourismustal: Mega nur fuer sinnvolle Gebaeude
Panoramaweg aus der Merge-Liste entfernt (Linien-Bauwerk). MERGEABLE exportiert; Editor sperrt die Mega-Checkbox fuer alle nicht merge- faehigen Typen (Bahnen, Bus, Bikepark, Rodelbahn, Panoramaweg, Rettungsstation, Aufforsten, Plattform). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -432,9 +432,10 @@ function effVal(b, key) {
|
||||
}
|
||||
|
||||
// Verschmelzen: liegen 4 gleiche 1×1-Gebäude im 2×2-Quadrat, werden sie zu
|
||||
// EINEM Megabauwerk (size 2, mega). Bahnen, Bus & Bikepark ausgenommen.
|
||||
const MERGEABLE = ['restaurant', 'hotel', 'staffhouse', 'snow',
|
||||
'badesee', 'ropes', 'playground', 'bikerental', 'trail'];
|
||||
// EINEM Megabauwerk (size 2, mega). Ausgenommen: Bahnen, Bus, Bikepark,
|
||||
// Rodelbahn, Panoramaweg, Rettungsstation (Linien-/Sonderbauwerke).
|
||||
export const MERGEABLE = ['restaurant', 'hotel', 'staffhouse', 'snow',
|
||||
'badesee', 'ropes', 'playground', 'bikerental'];
|
||||
function tryMerge(state, c, r) {
|
||||
const type = state.map[r]?.[c]?.building;
|
||||
if (!type || !MERGEABLE.includes(type)) return null;
|
||||
|
||||
Reference in New Issue
Block a user