mirror of
https://github.com/peter-tanner/spidertron-squad-control.git
synced 2024-11-30 11:00:17 +08:00
31 lines
1.2 KiB
Lua
31 lines
1.2 KiB
Lua
--[[ 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
|
|
}
|
|
}) |