1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00
RedMew/map_gen/maps/danger_ores/modules/helper.lua
2021-04-19 22:15:46 +01:00

14 lines
256 B
Lua

local Public = {}
function Public.split_ore(ores, split_count)
local new_ores = {}
for _ = 1, split_count do
for _, ore in pairs(ores) do
new_ores[#new_ores + 1] = ore
end
end
return new_ores
end
return Public