Starbound/assets/devel/versioning/WorldMetadata_14_15.lua
2025-03-21 22:23:30 +11:00

11 lines
474 B
Lua

require "/scripts/versioningutils.lua"
function update(data)
transformInData(data, "image", function(imagePath)
local newPath = string.gsub(imagePath, "/celestial/system/terrestrial/dynamics/%d%d?", "/celestial/system/terrestrial/dynamics/temperate/" .. math.random(1,30))
newPath = string.gsub(newPath, "/celestial/system/gas_giant/gas_giant_clouds.png", "/celestial/system/gas_giant/gas_giant_clouds_0.png")
return newPath
end)
return data
end