Use a "set" for surface list rather than a plain table

(requires biome_lib from commit a96f015c or later)
This commit is contained in:
Vanessa Dannenberg 2019-05-22 20:03:00 -04:00
parent e912fba6c8
commit f45ffc09bf
1 changed files with 15 additions and 16 deletions

View File

@ -4,26 +4,25 @@
-- limited, in the interest of speed. -- limited, in the interest of speed.
local dirt_surfaces = { local dirt_surfaces = {
"default:dirt", set = true,
"default:dirt_with_grass", ["default:dirt"] = true,
"default:dirt_with_dry_grass", ["default:dirt_with_grass"] = true,
"default:dirt_with_coniferous_litter", ["default:dirt_with_dry_grass"] = true,
"default:dirt_with_rainforest_litter", ["default:dirt_with_coniferous_litter"] = true,
"default:dirt_with_snow", ["default:dirt_with_rainforest_litter"] = true,
"woodsoils:dirt_with_leaves_1", ["default:dirt_with_snow"] = true,
"woodsoils:dirt_with_leaves_2", ["woodsoils:dirt_with_leaves_1"] = true,
"woodsoils:grass_with_leaves_1", ["woodsoils:dirt_with_leaves_2"] = true,
"woodsoils:grass_with_leaves_2" ["woodsoils:grass_with_leaves_1"] = true,
["woodsoils:grass_with_leaves_2"] = true
} }
local cold_surfaces = { local cold_surfaces = "default:dirt_with_snow"
"default:dirt_with_snow"
}
local sand_surfaces = { local sand_surfaces = {
"default:sand", ["default:sand"] = true,
"default:desert_sand", ["default:desert_sand"] = true,
"cottages:loam", ["cottages:loam"] = true,
-- note, no silver sand here. -- note, no silver sand here.
-- too cold for a palm, too... well... sandy for anything else. -- too cold for a palm, too... well... sandy for anything else.
} }