From be78ee91232790f26ace26eca134d9346efb9b00 Mon Sep 17 00:00:00 2001 From: Kevin Granade Date: Sat, 31 Jul 2021 13:10:22 -0700 Subject: [PATCH] Add a fallback for a parameterized terrain entry (#50366) --- data/json/mapgen/lab/lab_modular/lab_1x1x2_RES_8.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/data/json/mapgen/lab/lab_modular/lab_1x1x2_RES_8.json b/data/json/mapgen/lab/lab_modular/lab_1x1x2_RES_8.json index 1f494c7ac1058..7cef9e9b85911 100644 --- a/data/json/mapgen/lab/lab_modular/lab_1x1x2_RES_8.json +++ b/data/json/mapgen/lab/lab_modular/lab_1x1x2_RES_8.json @@ -145,7 +145,12 @@ } }, "palettes": [ "lab_common_palette", "lab_residential_palette", "standard_domestic_lino_bathroom" ], - "terrain": { "U": "t_linoleum_gray", "Y": "t_linoleum_gray", "!": { "param": "carpet_type" }, "ÿ": { "param": "floor_type" } }, + "terrain": { + "U": "t_linoleum_gray", + "Y": "t_linoleum_gray", + "!": { "param": "carpet_type", "fallback": "t_carpet_concrete_yellow" }, + "ÿ": { "param": "floor_type", "fallback": "t_floor" } + }, "place_nested": [ { "chunks": [