Skip to content

Commit

Permalink
Add a fallback for a parameterized terrain entry (#50366)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade authored Jul 31, 2021
1 parent 61be774 commit be78ee9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion data/json/mapgen/lab/lab_modular/lab_1x1x2_RES_8.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit be78ee9

Please sign in to comment.