v1.4.4
This commit is contained in:
commit
9c94d113d3
10260 changed files with 1237388 additions and 0 deletions
19
assets/devel/versioning/WorldMetadata_7_8.lua
Normal file
19
assets/devel/versioning/WorldMetadata_7_8.lua
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue