1
0
mirror of https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git synced 2024-12-04 09:43:00 +02:00
FactorioScenarioMultiplayer.../settings.lua

417 lines
11 KiB
Lua

data:extend({
{
type = "bool-setting",
name = "oarc-mod-default-enable-secondary-spawns-on-other-surfaces",
setting_type = "startup",
default_value = false,
order = "a1"
},
{
type = "string-setting",
name = "oarc-mod-main-force-name",
setting_type = "startup",
default_value = "Main Force",
order = "a2"
},
{
type = "int-setting",
name = "oarc-mod-linked-chest-size",
setting_type = "startup",
default_value = 100,
minimum_value = 1,
maximum_value = 1000,
order = "a3"
},
{
type = "string-setting",
name = "oarc-mod-welcome-msg-title",
setting_type = "runtime-global",
default_value = "Insert Server Title Here!",
order = "a1"
},
{
type = "string-setting",
name = "oarc-mod-welcome-msg",
setting_type = "runtime-global",
default_value = "Insert Server Welcome Message Here!",
order = "a2"
},
{
type = "string-setting",
name = "oarc-mod-discord-invite",
setting_type = "runtime-global",
default_value = "Insert Discord Invite Here!",
order = "a4"
},
{
type = "bool-setting",
name = "oarc-mod-enable-main-team",
setting_type = "runtime-global",
default_value = true,
order = "b1"
},
{
type = "bool-setting",
name = "oarc-mod-enable-separate-teams",
setting_type = "runtime-global",
default_value = true,
order = "b2"
},
{
type = "bool-setting",
name = "oarc-mod-allow-moats-around-spawns",
setting_type = "runtime-global",
default_value = true,
order = "b4"
},
{
type = "bool-setting",
name = "oarc-mod-enable-moat-bridging",
setting_type = "runtime-global",
default_value = false,
order = "b5"
},
{
type = "int-setting",
name = "oarc-mod-minimum-distance-to-existing-chunks",
setting_type = "runtime-global",
default_value = 20,
minimum_value = 5,
maximum_value = 50,
order = "c1"
},
{
type = "int-setting",
name = "oarc-mod-near-spawn-distance",
setting_type = "runtime-global",
default_value = 100,
minimum_value = 50,
maximum_value = 250,
order = "c2"
},
{
type = "int-setting",
name = "oarc-mod-far-spawn-distance",
setting_type = "runtime-global",
default_value = 500,
minimum_value = 250,
maximum_value = 5000,
order = "c3"
},
{
type = "bool-setting",
name = "oarc-mod-enable-buddy-spawn",
setting_type = "runtime-global",
default_value = true,
order = "d1"
},
{
type = "bool-setting",
name = "oarc-mod-enable-offline-protection",
setting_type = "runtime-global",
default_value = true,
order = "d2"
},
{
type = "bool-setting",
name = "oarc-mod-enable-shared-team-vision",
setting_type = "runtime-global",
default_value = true,
order = "d3"
},
{
type = "bool-setting",
name = "oarc-mod-enable-shared-team-chat",
setting_type = "runtime-global",
default_value = true,
order = "d31"
},
{
type = "bool-setting",
name = "oarc-mod-enable-friendly-teams",
setting_type = "runtime-global",
default_value = true,
order = "d32"
},
{
type = "bool-setting",
name = "oarc-mod-enable-cease-fire",
setting_type = "runtime-global",
default_value = true,
order = "d33"
},
{
type = "bool-setting",
name = "oarc-mod-enable-shared-spawns",
setting_type = "runtime-global",
default_value = true,
order = "d5"
},
{
type = "int-setting",
name = "oarc-mod-number-of-players-per-shared-spawn",
setting_type = "runtime-global",
default_value = 3,
minimum_value = 2,
maximum_value = 10,
order = "d6"
},
{
type = "bool-setting",
name = "oarc-mod-enable-friendly-fire",
setting_type = "runtime-global",
default_value = false,
order = "d7"
},
{
type = "string-setting",
name = "oarc-mod-default-surface",
setting_type = "runtime-global",
default_value = "nauvis",
order = "e2"
},
{
type = "bool-setting",
name = "oarc-mod-scale-resources-around-spawns",
setting_type = "runtime-global",
default_value = true,
order = "f1"
},
{
type = "bool-setting",
name = "oarc-mod-modified-enemy-spawning",
setting_type = "runtime-global",
default_value = true,
order = "f2"
},
-- {
-- type = "double-setting",
-- name = "oarc-mod-modified-enemy-easy-evo",
-- setting_type = "runtime-global",
-- default_value = 0,
-- minimum_value = 0,
-- maximum_value = 1,
-- order = "f21"
-- },
-- {
-- type = "double-setting",
-- name = "oarc-mod-modified-enemy-medium-evo",
-- setting_type = "runtime-global",
-- default_value = 0.3,
-- minimum_value = 0,
-- maximum_value = 1,
-- order = "f22"
-- },
{
type = "int-setting",
name = "oarc-mod-minimum-online-time",
setting_type = "runtime-global",
default_value = 15,
minimum_value = 0,
maximum_value = 60,
order = "f3"
},
{
type = "int-setting",
name = "oarc-mod-respawn-cooldown-min",
setting_type = "runtime-global",
default_value = 5,
minimum_value = 0,
maximum_value = 60,
order = "f4"
},
{
type = "bool-setting",
name = "oarc-mod-enable-shared-power",
setting_type = "runtime-global",
default_value = false,
order = "f10"
},
{
type = "bool-setting",
name = "oarc-mod-enable-shared-chest",
setting_type = "runtime-global",
default_value = false,
order = "f11"
},
{
type = "bool-setting",
name = "oarc-mod-enable-coin-shop",
setting_type = "runtime-global",
default_value = false,
order = "f12"
},
{
type = "bool-setting",
name = "oarc-mod-enable-regrowth",
setting_type = "runtime-global",
default_value = false,
order = "g1"
},
{
type = "bool-setting",
name = "oarc-mod-enable-world-eater",
setting_type = "runtime-global",
default_value = false,
order = "g2"
},
{
type = "bool-setting",
name = "oarc-mod-enable-abandoned-base-cleanup",
setting_type = "runtime-global",
default_value = true,
order = "g3"
},
{
type = "int-setting",
name = "oarc-mod-regrowth-cleanup-interval-min",
setting_type = "runtime-global",
default_value = 60,
minimum_value = 15,
maximum_value = 180,
order = "g4"
},
{
type = "int-setting",
name = "oarc-mod-spawn-general-radius-tiles",
setting_type = "runtime-global",
default_value = 64,
minimum_value = 32,
maximum_value = 320,
order = "h1"
},
{
type = "int-setting",
name = "oarc-mod-spawn-general-moat-width-tiles",
setting_type = "runtime-global",
default_value = 8,
minimum_value = 1,
maximum_value = 32,
order = "h2"
},
{
type = "int-setting",
name = "oarc-mod-spawn-general-tree-width-tiles",
setting_type = "runtime-global",
default_value = 5,
minimum_value = 1,
maximum_value = 32,
order = "h3"
},
{
type = "string-setting",
name = "oarc-mod-spawn-general-enable-resources-circle-shape",
setting_type = "runtime-global",
default_value = "circle",
allowed_values = {"circle", "square"},
order = "h4"
},
{
type = "bool-setting",
name = "oarc-mod-spawn-general-enable-force-tiles",
setting_type = "runtime-global",
default_value = true,
order = "h5"
}, {
type = "string-setting",
name = "oarc-mod-spawn-general-shape",
setting_type = "runtime-global",
default_value = "circle",
allowed_values = {"circle", "octagon", "square"},
order = "h6"
},
{
type = "bool-setting",
name = "oarc-mod-resource-placement-enabled",
setting_type = "runtime-global",
default_value = true,
order = "i1"
},
{
type = "int-setting",
name = "oarc-mod-resource-placement-distance-to-edge",
setting_type = "runtime-global",
default_value = 20,
minimum_value = 0,
maximum_value = 96,
order = "i2"
},
{
type = "int-setting",
name = "oarc-mod-resource-placement-degrees-offset",
setting_type = "runtime-global",
default_value = 120,
minimum_value = 0,
maximum_value = 359,
order = "i3"
},
{
type = "int-setting",
name = "oarc-mod-resource-placement-degrees-final",
setting_type = "runtime-global",
default_value = 240,
minimum_value = 0,
maximum_value = 359,
order = "i4"
},
{
type = "int-setting",
name = "oarc-mod-resource-placement-vertical-offset",
setting_type = "runtime-global",
default_value = 20,
minimum_value = 0,
maximum_value = 96,
order = "i5"
},
{
type = "int-setting",
name = "oarc-mod-resource-placement-horizontal-offset",
setting_type = "runtime-global",
default_value = 20,
minimum_value = 0,
maximum_value = 96,
order = "i6"
},
{
type = "int-setting",
name = "oarc-mod-resource-placement-linear-spacing",
setting_type = "runtime-global",
default_value = 6,
minimum_value = 0,
maximum_value = 32,
order = "i7"
},
{
type = "double-setting",
name = "oarc-mod-resource-placement-size-multiplier",
setting_type = "runtime-global",
default_value = 1.0,
minimum_value = 0,
maximum_value = 10,
order = "i8"
},
{
type = "double-setting",
name = "oarc-mod-resource-placement-amount-multiplier",
setting_type = "runtime-global",
default_value = 1.0,
minimum_value = 0,
maximum_value = 10,
order = "i9"
},
})