1
0
mirror of https://github.com/veden/Rampant.git synced 2024-12-26 20:54:12 +02:00

restored settings

This commit is contained in:
Aaron Veden 2020-02-01 19:47:51 -08:00
parent 1060fb8ff9
commit 6dadb10e3b
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
4 changed files with 29 additions and 2 deletions

View File

@ -475,6 +475,9 @@ local function onModSettingsChange(event)
upgrade.compareTable(natives, "deadZoneFrequency", settings.global["rampant-deadZoneFrequency"].value)
upgrade.compareTable(natives, "raidAIToggle", settings.global["rampant-raidAIToggle"].value)
upgrade.compareTable(natives, "attackPlayerThreshold", settings.global["rampant-attackPlayerThreshold"].value)
upgrade.compareTable(natives, "attackUsePlayer", settings.global["rampant-attackWaveGenerationUsePlayerProximity"].value)
upgrade.compareTable(natives, "attackWaveMaxSize", settings.global["rampant-attackWaveMaxSize"].value)
upgrade.compareTable(natives, "aiNocturnalMode", settings.global["rampant-permanentNocturnal"].value)
upgrade.compareTable(natives, "aiPointsScaler", settings.global["rampant-aiPointsScaler"].value)

View File

@ -1,7 +1,7 @@
{
"name" : "Rampant",
"factorio_version" : "0.18",
"version" : "0.18.3",
"version" : "0.18.4",
"title" : "Rampant",
"author" : "Veden",
"homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",

View File

@ -18709,6 +18709,9 @@ rampant-disableVanillaAI=AI: Disable Vanilla AI
rampant-enableMigration=AI: Enable Migration
rampant-liteMode=Optimization: Lite mode
rampant-attackWaveGenerationUsePlayerProximity=Attack Wave: Use Player Proximity as attack trigger
rampant-attackPlayerThreshold=Attack Wave: Player score contribution threshold
rampant-unkillableLogisticRobots=World: Unkillable logistic bots
rampant-unkillableConstructionRobots=World: Unkillable construction bots
@ -18800,6 +18803,8 @@ rampant-disableVanillaAI=This will turn off the vanilla attack waves and the van
rampant-enableMigration=This will allow the ai to expand its worms and nests. Respects the map settings for biter expansion.
rampant-enableShrinkNestsAndWorms=Reduce the collision box size of nests and worms by 50%. May cause overlapping entities due to the collision box being smaller than the entity graphic.
rampant-attackWaveGenerationUsePlayerProximity=Include player pheromones amount for threshold on chunks with biter nests that will generate a Rampant attack wave. DOES NOT affect vanilla biters waves
rampant-attackPlayerThreshold=The score that a chunk must reach for it to contribute to the attack threshold. Increasing reduces player pheromone cloud impact.
rampant-unkillableLogisticRobots=This will make logistic bots immune to all damage
rampant-unkillableConstructionRobots=This will make construction bots immune to all damage

View File

@ -773,6 +773,25 @@ data:extend({
maximum_value = 100000.0,
order = "p[modifier]-r[unit]",
per_user = false
}
},
{
type = "bool-setting",
name = "rampant-attackWaveGenerationUsePlayerProximity",
setting_type = "runtime-global",
default_value = true,
order = "b[modifier]-b[trigger]",
per_user = false
},
{
type = "double-setting",
name = "rampant-attackPlayerThreshold",
setting_type = "runtime-global",
minimum_value = 0,
default_value = 7,
order = "b[modifier]-c[threshold]",
per_user = false
}
})