stack size k2 -- read setting

This commit is contained in:
Brevven 2021-01-18 00:47:41 -08:00
parent a7e8ab204f
commit 1201a09294
6 changed files with 16 additions and 5 deletions

View file

@ -16,6 +16,11 @@ else
end
function data_util.get_k2_stack_size()
return tonumber(krastorio.general.getSafeSettingValue("kr-stack-size"))
end
-- Remove an element of type t and name from data.raw
function data_util.remove_raw(t, name)
for i, elem in pairs(data.raw[t]) do