Starbound/attic/old_version_scripts/worldmetadata_4_5.lua
2025-03-21 22:23:30 +11:00

14 lines
462 B
Lua

function update(store)
if store.worldTemplate.celestialParameters then
if store.worldTemplate.celestialParameters.scanData then
-- added weather pool information to world metadata
-- if it's not there... just fake it
if not store.worldTemplate.celestialParameters.scanData.weatherPool then
store.worldTemplate.celestialParameters.scanData.weatherPool = vlist()
-- close enough!
end
end
end
return store
end