-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.lua
More file actions
23 lines (21 loc) · 895 Bytes
/
settings.lua
File metadata and controls
23 lines (21 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require('init')
-- Register chest in base mod
MergingChests.create_mergeable_chest_setting(MergingChestsLogistic.chest_names.passive_provider, { default_value = 'none' })
MergingChests.create_mergeable_chest_setting(MergingChestsLogistic.chest_names.active_provider, { default_value = 'none' })
MergingChests.create_mergeable_chest_setting(MergingChestsLogistic.chest_names.storage, { default_value = 'none' })
MergingChests.create_mergeable_chest_setting(MergingChestsLogistic.chest_names.buffer, { default_value = 'none' })
MergingChests.create_mergeable_chest_setting(MergingChestsLogistic.chest_names.requester, { default_value = 'none' })
data:extend(
{
{
name = MergingChestsLogistic.copy_requests_setting_name,
type = "string-setting",
setting_type = "runtime-per-user",
allowed_values = {
'copy',
'split-count',
'split-requests'
},
default_value = 'copy'
}
})