-
Notifications
You must be signed in to change notification settings - Fork 3
/
settings.lua
31 lines (29 loc) · 1.21 KB
/
settings.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--[[ Copyright (c) 2020 npc_strider
* For direct use of code or graphics, credit is appreciated. See LICENSE.txt for more information.
* This mod may contain modified code sourced from base/core Factorio
*
* settings.lua
* Mod settings
--]]
data:extend({
-- server
{
type = "double-setting",
name = "spidertron-follow-prediction-distance",
localised_name = "Follow prediction distance",
localised_description = "When in follow mode, the movement targets of the spider bot will be this far ahead of the player's position. Minimum value: 0.0, Maximum value: 500.0, Default value: 20.0",
setting_type = "runtime-global",
default_value = 20.0,
minimum_value = 0.0,
maximum_value = 500.0,
},
{
type = "int-setting",
name = "spidertron-follow-update-interval",
localised_name = "Follow update interval",
localised_description = "Rate at which the follow mode updates the target positions of the spidertrons. This value is in ticks. Larger values are less laggy but result in less responsive squad movement. Minimum value: 5, Default value: 20",
setting_type = "runtime-global",
default_value = 20,
minimum_value = 5
}
})