stack size k2 -- read setting
This commit is contained in:
parent
a7e8ab204f
commit
1201a09294
6 changed files with 16 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue