DarkNight/data-updates.lua

12 lines
369 B
Lua
Raw Normal View History

2020-04-02 02:47:39 +00:00
local function convertPath(path)
return path:gsub("__core__", "__DarkNight__") -- Mod change
end
for _, table in pairs(data.raw["utility-constants"]["default"].daytime_color_lookup) do
table[2] = convertPath(table[2])
end
for _, table in pairs(data.raw["utility-constants"]["default"].zoom_to_world_daytime_color_lookup) do
table[2] = convertPath(table[2])
end