This commit is contained in:
Aria 2025-03-21 22:23:30 +11:00
commit 9c94d113d3
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
10260 changed files with 1237388 additions and 0 deletions

View file

@ -0,0 +1,19 @@
function update(data)
if not data.worldTemplate or not data.worldTemplate.regionData or not data.worldTemplate.regionData.biomes then
return data
end
local biomes = data.worldTemplate.regionData.biomes
for _, biome in ipairs(biomes) do
if biome.surfacePlaceables then
biome.surfacePlaceables.ceilingGrassMod = biome.surfacePlaceables.ceilingGrassMod or 0
biome.surfacePlaceables.ceilingGrassModDensity = biome.surfacePlaceables.ceilingGrassModDensity or 0
end
if biome.undergroundPlaceables then
biome.undergroundPlaceables.ceilingGrassMod = biome.undergroundPlaceables.ceilingGrassMod or 0
biome.undergroundPlaceables.ceilingGrassModDensity = biome.undergroundPlaceables.ceilingGrassModDensity or 0
end
end
return data
end