1
0
mirror of https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git synced 2024-12-12 10:13:58 +02:00
FactorioScenarioMultiplayer.../settings.lua

179 lines
4.8 KiB
Lua
Raw Normal View History

data:extend({
{
type = "string-setting",
name = "oarc-mod-scenario-config-note",
setting_type = "runtime-global",
default_value = "message-info",
allowed_values = {"message-info"},
order = "-"
},
{
type = "bool-setting",
name = "oarc-mod-enable-main-team",
setting_type = "runtime-global",
default_value = true,
order = "a"
},
{
type = "bool-setting",
name = "oarc-mod-enable-separate-teams",
setting_type = "runtime-global",
default_value = true,
order = "aa"
},
{
type = "bool-setting",
name = "oarc-mod-enable-buddy-spawn",
setting_type = "runtime-global",
default_value = true,
order = "aaa"
},
{
type = "bool-setting",
name = "oarc-mod-enable-spawning-on-other-surfaces",
setting_type = "runtime-global",
default_value = true,
order = "b"
},
-- Vanilla spawn point are not implemented yet.
-- {
-- type = "bool-setting",
-- name = "oarc-mod-enable-vanilla-spawn-points",
-- setting_type = "runtime-global",
-- default_value = true
-- },
-- {
-- type = "int-setting",
-- name = "oarc-mod-number-of-vanilla-spawn-points",
-- setting_type = "runtime-global",
-- default_value = 5,
-- minimum_value = 1,
-- maximum_value = 10
-- },
-- {
-- type = "int-setting",
-- name = "oarc-mod-vanilla-spawn-point-spacing",
-- setting_type = "runtime-global",
-- default_value = 10,
-- minimum_value = 5,
-- maximum_value = 20
-- },
{
type = "bool-setting",
name = "oarc-mod-enable-regrowth",
setting_type = "runtime-global",
default_value = true,
order = "e1"
},
{
type = "bool-setting",
name = "oarc-mod-enable-abandoned-base-cleanup",
setting_type = "runtime-global",
default_value = true,
order = "e2"
},
{
type = "bool-setting",
name = "oarc-mod-enable-offline-protection",
setting_type = "runtime-global",
default_value = true,
order = "f"
},
{
type = "bool-setting",
name = "oarc-mod-enable-shared-team-vision",
setting_type = "runtime-global",
default_value = true,
order = "g1"
},
{
type = "bool-setting",
name = "oarc-mod-enable-shared-team-chat",
setting_type = "runtime-global",
default_value = true,
order = "g2"
},
{
type = "bool-setting",
name = "oarc-mod-enable-shared-spawns",
setting_type = "runtime-global",
default_value = true,
order = "g3"
},
{
type = "int-setting",
name = "oarc-mod-number-of-players-per-shared-spawn",
setting_type = "runtime-global",
default_value = 4,
minimum_value = 2,
maximum_value = 10,
order = "g4"
},
{
type = "bool-setting",
name = "oarc-mod-enable-friendly-fire",
setting_type = "runtime-global",
default_value = false,
order = "g5"
},
{
type = "bool-setting",
name = "oarc-mod-enable-allow-moats-around-spawns",
setting_type = "runtime-global",
default_value = true,
order = "h1"
},
{
type = "bool-setting",
name = "oarc-mod-enable-force-bridges-next-to-moats",
setting_type = "runtime-global",
default_value = true,
order = "h2"
},
{
type = "int-setting",
name = "oarc-mod-minimum-distance-to-existing-chunks",
setting_type = "runtime-global",
default_value = 10,
minimum_value = 5,
maximum_value = 25,
order = "h3"
},
{
type = "int-setting",
name = "oarc-mod-near-spawn-min-distance",
setting_type = "runtime-global",
default_value = 100,
minimum_value = 50,
maximum_value = 200,
order = "h4"
},
{
type = "int-setting",
name = "oarc-mod-near-spawn-max-distance",
setting_type = "runtime-global",
default_value = 200,
minimum_value = 100,
maximum_value = 300,
order = "h4"
},
{
type = "int-setting",
name = "oarc-mod-far-spawn-min-distance",
setting_type = "runtime-global",
default_value = 500,
minimum_value = 300,
maximum_value = 700,
order = "h5"
},
{
type = "int-setting",
name = "oarc-mod-far-spawn-max-distance",
setting_type = "runtime-global",
default_value = 700,
minimum_value = 500,
maximum_value = 900,
order = "h6"
}
})