diff --git a/Upgrade.lua b/Upgrade.lua index 2e7c57f..0fd9336 100755 --- a/Upgrade.lua +++ b/Upgrade.lua @@ -416,7 +416,7 @@ function upgrade.attempt(universe) end end - game.print("Rampant - Version 1.1.3") + game.print("Rampant - Version 1.1.4") end return (starting ~= global.version) and global.version diff --git a/changelog.txt b/changelog.txt index 08d4aa5..4f6c530 100755 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,11 @@ +--------------------------------------------------------------------------------------------------- +Version: 1.1.4 +Date: 25. 07. 2021 + Tweaks: + - Added mod setting to modify distance between factions + Bugfixes: + - Fixed factions being added to damage table incorrectly + --------------------------------------------------------------------------------------------------- Version: 1.1.3 Date: 24. 07. 2021 diff --git a/control.lua b/control.lua index 5fe2754..947e791 100644 --- a/control.lua +++ b/control.lua @@ -210,6 +210,12 @@ local function onModSettingsChange(event) "temperamentRateModifier", settings.global["rampant--temperamentRateModifier"].value) + upgrade.compareTable(universe, + "baseDistanceModifier", + settings.global["rampant--baseDistanceModifier"].value) + upgrade.compareTable(universe, + "printBaseAdaptation", + settings.global["rampant--printBaseAdaptation"].value) upgrade.compareTable(universe, "adaptationModifier", settings.global["rampant--adaptationModifier"].value) @@ -831,13 +837,13 @@ local function onEntitySpawned(event) else local x,y = positionToChunkXY(entity.position) onChunkGenerated({ - surface = entity.surface, - area = { - left_top = { - x = x, - y = y + surface = entity.surface, + area = { + left_top = { + x = x, + y = y + } } - } }) entity.destroy() end diff --git a/info.json b/info.json index 69bd6ba..7be7509 100755 --- a/info.json +++ b/info.json @@ -1,7 +1,7 @@ { "name" : "Rampant", "factorio_version" : "1.1", - "version" : "1.1.3", + "version" : "1.1.4", "title" : "Rampant", "author" : "Veden", "homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445", diff --git a/libs/BaseUtils.lua b/libs/BaseUtils.lua index eef9a57..095a7f4 100755 --- a/libs/BaseUtils.lua +++ b/libs/BaseUtils.lua @@ -19,7 +19,6 @@ local MAGIC_MAXIMUM_NUMBER = constants.MAGIC_MAXIMUM_NUMBER local FACTIONS_BY_DAMAGE_TYPE = constants.FACTIONS_BY_DAMAGE_TYPE local BASE_AI_STATE_ACTIVE = constants.BASE_AI_STATE_ACTIVE -local BASE_AI_STATE_MUTATE = constants.BASE_AI_STATE_MUTATE local FACTION_SET = constants.FACTION_SET @@ -28,8 +27,6 @@ local BASE_DEADZONE_TTL = constants.BASE_DEADZONE_TTL local BASE_AI_MIN_STATE_DURATION = constants.BASE_AI_MIN_STATE_DURATION local BASE_AI_MAX_STATE_DURATION = constants.BASE_AI_MAX_STATE_DURATION -local BASE_UPGRADE = constants.BASE_UPGRADE - local HIVE_BUILDINGS_COST = constants.HIVE_BUILDINGS_COST local BASE_DISTANCE_THRESHOLD = constants.BASE_DISTANCE_THRESHOLD @@ -336,42 +333,61 @@ local function pickMutationFromDamageType(map, damageType, roll, base) local baseAlignment = base.alignment local damageFactions = FACTIONS_BY_DAMAGE_TYPE[damageType] + local mutation if (damageFactions and (#damageFactions > 0)) then + mutation = damageFactions[math.random(#damageFactions)] if baseAlignment[2] then if (roll < 0.05) then baseAlignment[2] = nil - baseAlignment[1] = damageFactions[math.random(#damageFactions)] + baseAlignment[1] = mutation elseif (roll < 0.25) then - baseAlignment[1] = damageFactions[math.random(#damageFactions)] + baseAlignment[1] = mutation else - baseAlignment[2] = damageFactions[math.random(#damageFactions)] + baseAlignment[2] = mutation end else if (roll < 0.85) then - base.alignment[1] = damageFactions[math.random(#damageFactions)] + base.alignment[1] = mutation else - base.alignment[2] = damageFactions[math.random(#damageFactions)] + base.alignment[2] = mutation end end else + mutation = findBaseMutation(map) if baseAlignment[2] then if (roll < 0.05) then baseAlignment[2] = nil - baseAlignment[1] = findBaseMutation(map) + baseAlignment[1] = mutation elseif (roll < 0.25) then - baseAlignment[1] = findBaseMutation(map) + baseAlignment[1] = mutation else - baseAlignment[2] = findBaseMutation(map) + baseAlignment[2] = mutation end else if (roll < 0.85) then - base.alignment[1] = findBaseMutation(map) + base.alignment[1] = mutation else - base.alignment[2] = findBaseMutation(map) + base.alignment[2] = mutation end end end + if (map.universe.printBaseAdaptation) then + if (baseAlignment[2]) then + game.print({"description.rampant--adaptation2DebugMessage", + damageType, + {"description.rampant--"..baseAlignment[1].."EnemyName"}, + {"description.rampant--"..baseAlignment[2].."EnemyName"}, + base.x, + base.y}) + else + game.print({"description.rampant--adaptation1DebugMessage", + damageType, + {"description.rampant--"..baseAlignment[1].."EnemyName"}, + base.x, + base.y}) + end + end end local function upgradeBaseBasedOnDamage(map, base) @@ -443,7 +459,6 @@ function baseUtils.processBase(chunk, map, tick, base) if ((base.deathEvents > deathThreshold) and (upgradeRoll > 0.95)) then upgradeBaseBasedOnDamage(map, base) - -- print("upgraded") base.damagedBy = {} base.deathEvents = 0 end @@ -502,7 +517,7 @@ function baseUtils.createBase(map, chunk, tick, rebuilding) local base = { x = x, y = y, - distanceThreshold = distanceThreshold, + distanceThreshold = distanceThreshold * map.universe.baseDistanceModifier, tick = baseTick, alignment = alignment, state = BASE_AI_STATE_ACTIVE, diff --git a/libs/Constants.lua b/libs/Constants.lua index c4342a7..b550fbc 100755 --- a/libs/Constants.lua +++ b/libs/Constants.lua @@ -609,10 +609,10 @@ constants.FACTION_SET[#constants.FACTION_SET+1] = { } if settings.startup["rampant--acidEnemy"].value then - constants.FACTIONS_BY_DAMAGE_TYPE["physical"][#constants.FACTIONS_BY_DAMAGE_TYPE["physical"]] = "acid" - constants.FACTIONS_BY_DAMAGE_TYPE["poison"][#constants.FACTIONS_BY_DAMAGE_TYPE["poison"]] = "acid" - constants.FACTIONS_BY_DAMAGE_TYPE["explosion"][#constants.FACTIONS_BY_DAMAGE_TYPE["explosion"]] = "acid" - constants.FACTIONS_BY_DAMAGE_TYPE["acid"][#constants.FACTIONS_BY_DAMAGE_TYPE["acid"]] = "acid" + constants.FACTIONS_BY_DAMAGE_TYPE["physical"][#constants.FACTIONS_BY_DAMAGE_TYPE["physical"]+1] = "acid" + constants.FACTIONS_BY_DAMAGE_TYPE["poison"][#constants.FACTIONS_BY_DAMAGE_TYPE["poison"]+1] = "acid" + constants.FACTIONS_BY_DAMAGE_TYPE["explosion"][#constants.FACTIONS_BY_DAMAGE_TYPE["explosion"]+1] = "acid" + constants.FACTIONS_BY_DAMAGE_TYPE["acid"][#constants.FACTIONS_BY_DAMAGE_TYPE["acid"]+1] = "acid" constants.FACTION_SET[#constants.FACTION_SET+1] = { type = "acid", tint = {r=1, g=1, b=1, a=1}, @@ -694,8 +694,8 @@ if settings.startup["rampant--acidEnemy"].value then end if settings.startup["rampant--laserEnemy"].value then - constants.FACTIONS_BY_DAMAGE_TYPE["laser"][#constants.FACTIONS_BY_DAMAGE_TYPE["laser"]] = "laser" - constants.FACTIONS_BY_DAMAGE_TYPE["electric"][#constants.FACTIONS_BY_DAMAGE_TYPE["electric"]] = "laser" + constants.FACTIONS_BY_DAMAGE_TYPE["laser"][#constants.FACTIONS_BY_DAMAGE_TYPE["laser"]+1] = "laser" + constants.FACTIONS_BY_DAMAGE_TYPE["electric"][#constants.FACTIONS_BY_DAMAGE_TYPE["electric"]+1] = "laser" constants.FACTION_SET[#constants.FACTION_SET+1] = { type = "laser", tint = {r=0.3, g=0.3, b=0.42, a=1}, @@ -771,8 +771,8 @@ if settings.startup["rampant--laserEnemy"].value then end if settings.startup["rampant--fireEnemy"].value then - constants.FACTIONS_BY_DAMAGE_TYPE["fire"][#constants.FACTIONS_BY_DAMAGE_TYPE["fire"]] = "fire" - constants.FACTIONS_BY_DAMAGE_TYPE["acid"][#constants.FACTIONS_BY_DAMAGE_TYPE["acid"]] = "fire" + constants.FACTIONS_BY_DAMAGE_TYPE["fire"][#constants.FACTIONS_BY_DAMAGE_TYPE["fire"]+1] = "fire" + constants.FACTIONS_BY_DAMAGE_TYPE["acid"][#constants.FACTIONS_BY_DAMAGE_TYPE["acid"]+1] = "fire" constants.FACTION_SET[#constants.FACTION_SET+1] = { type = "fire", tint = {r=1, g=1, b=1, a=1}, @@ -854,8 +854,8 @@ if settings.startup["rampant--fireEnemy"].value then end if settings.startup["rampant--infernoEnemy"].value then - constants.FACTIONS_BY_DAMAGE_TYPE["fire"][#constants.FACTIONS_BY_DAMAGE_TYPE["fire"]] = "inferno" - constants.FACTIONS_BY_DAMAGE_TYPE["acid"][#constants.FACTIONS_BY_DAMAGE_TYPE["acid"]] = "inferno" + constants.FACTIONS_BY_DAMAGE_TYPE["fire"][#constants.FACTIONS_BY_DAMAGE_TYPE["fire"]+1] = "inferno" + constants.FACTIONS_BY_DAMAGE_TYPE["acid"][#constants.FACTIONS_BY_DAMAGE_TYPE["acid"]+1] = "inferno" constants.FACTION_SET[#constants.FACTION_SET+1] = { type = "inferno", tint = {r=0.5, g=0.1, b=0.1, a=1}, @@ -915,8 +915,8 @@ if settings.startup["rampant--infernoEnemy"].value then end if settings.startup["rampant--waspEnemy"].value then - constants.FACTIONS_BY_DAMAGE_TYPE["laser"][#constants.FACTIONS_BY_DAMAGE_TYPE["laser"]] = "wasp" - constants.FACTIONS_BY_DAMAGE_TYPE["electric"][#constants.FACTIONS_BY_DAMAGE_TYPE["electric"]] = "wasp" + constants.FACTIONS_BY_DAMAGE_TYPE["laser"][#constants.FACTIONS_BY_DAMAGE_TYPE["laser"]+1] = "wasp" + constants.FACTIONS_BY_DAMAGE_TYPE["electric"][#constants.FACTIONS_BY_DAMAGE_TYPE["electric"]+1] = "wasp" constants.FACTION_SET[#constants.FACTION_SET+1] = { type = "wasp", tint = {r=1, g=1, b=0, a=1}, @@ -982,10 +982,10 @@ if settings.startup["rampant--waspEnemy"].value then end if settings.startup["rampant--spawnerEnemy"].value then - constants.FACTIONS_BY_DAMAGE_TYPE["laser"][#constants.FACTIONS_BY_DAMAGE_TYPE["laser"]] = "spawner" - constants.FACTIONS_BY_DAMAGE_TYPE["electric"][#constants.FACTIONS_BY_DAMAGE_TYPE["electric"]] = "spawner" - constants.FACTIONS_BY_DAMAGE_TYPE["impact"][#constants.FACTIONS_BY_DAMAGE_TYPE["impact"]] = "spawner" - constants.FACTIONS_BY_DAMAGE_TYPE["physical"][#constants.FACTIONS_BY_DAMAGE_TYPE["physical"]] = "spawner" + constants.FACTIONS_BY_DAMAGE_TYPE["laser"][#constants.FACTIONS_BY_DAMAGE_TYPE["laser"]+1] = "spawner" + constants.FACTIONS_BY_DAMAGE_TYPE["electric"][#constants.FACTIONS_BY_DAMAGE_TYPE["electric"]+1] = "spawner" + constants.FACTIONS_BY_DAMAGE_TYPE["impact"][#constants.FACTIONS_BY_DAMAGE_TYPE["impact"]+1] = "spawner" + constants.FACTIONS_BY_DAMAGE_TYPE["physical"][#constants.FACTIONS_BY_DAMAGE_TYPE["physical"]+1] = "spawner" constants.FACTION_SET[#constants.FACTION_SET+1] = { type = "spawner", tint = {r=0.7, g=0.1, b=0.7, a=1}, @@ -1058,8 +1058,8 @@ if settings.startup["rampant--spawnerEnemy"].value then end if settings.startup["rampant--electricEnemy"].value then - constants.FACTIONS_BY_DAMAGE_TYPE["laser"][#constants.FACTIONS_BY_DAMAGE_TYPE["laser"]] = "electric" - constants.FACTIONS_BY_DAMAGE_TYPE["electric"][#constants.FACTIONS_BY_DAMAGE_TYPE["electric"]] = "electric" + constants.FACTIONS_BY_DAMAGE_TYPE["laser"][#constants.FACTIONS_BY_DAMAGE_TYPE["laser"]+1] = "electric" + constants.FACTIONS_BY_DAMAGE_TYPE["electric"][#constants.FACTIONS_BY_DAMAGE_TYPE["electric"]+1] = "electric" constants.FACTION_SET[#constants.FACTION_SET+1] = { type = "electric", tint = {r=0.7, g=0.7, b=1.0, a=1}, @@ -1119,9 +1119,9 @@ if settings.startup["rampant--electricEnemy"].value then end if settings.startup["rampant--physicalEnemy"].value then - constants.FACTIONS_BY_DAMAGE_TYPE["physical"][#constants.FACTIONS_BY_DAMAGE_TYPE["physical"]] = "physical" - constants.FACTIONS_BY_DAMAGE_TYPE["impact"][#constants.FACTIONS_BY_DAMAGE_TYPE["impact"]] = "physical" - constants.FACTIONS_BY_DAMAGE_TYPE["explosion"][#constants.FACTIONS_BY_DAMAGE_TYPE["explosion"]] = "physical" + constants.FACTIONS_BY_DAMAGE_TYPE["physical"][#constants.FACTIONS_BY_DAMAGE_TYPE["physical"]+1] = "physical" + constants.FACTIONS_BY_DAMAGE_TYPE["impact"][#constants.FACTIONS_BY_DAMAGE_TYPE["impact"]+1] = "physical" + constants.FACTIONS_BY_DAMAGE_TYPE["explosion"][#constants.FACTIONS_BY_DAMAGE_TYPE["explosion"]+1] = "physical" constants.FACTION_SET[#constants.FACTION_SET+1] = { type = "physical", tint = {r=0.9, g=0.9, b=0.9, a=1}, @@ -1181,9 +1181,9 @@ if settings.startup["rampant--physicalEnemy"].value then end if settings.startup["rampant--trollEnemy"].value then - constants.FACTIONS_BY_DAMAGE_TYPE["physical"][#constants.FACTIONS_BY_DAMAGE_TYPE["physical"]] = "troll" - constants.FACTIONS_BY_DAMAGE_TYPE["impact"][#constants.FACTIONS_BY_DAMAGE_TYPE["impact"]] = "troll" - constants.FACTIONS_BY_DAMAGE_TYPE["explosion"][#constants.FACTIONS_BY_DAMAGE_TYPE["explosion"]] = "troll" + constants.FACTIONS_BY_DAMAGE_TYPE["physical"][#constants.FACTIONS_BY_DAMAGE_TYPE["physical"]+1] = "troll" + constants.FACTIONS_BY_DAMAGE_TYPE["impact"][#constants.FACTIONS_BY_DAMAGE_TYPE["impact"]+1] = "troll" + constants.FACTIONS_BY_DAMAGE_TYPE["explosion"][#constants.FACTIONS_BY_DAMAGE_TYPE["explosion"]+1] = "troll" constants.FACTION_SET[#constants.FACTION_SET+1] = { type = "troll", tint = {r=0.4, g=0.4, b=0.4, a=1}, @@ -1244,9 +1244,9 @@ if settings.startup["rampant--trollEnemy"].value then end if settings.startup["rampant--poisonEnemy"].value then - constants.FACTIONS_BY_DAMAGE_TYPE["fire"][#constants.FACTIONS_BY_DAMAGE_TYPE["fire"]] = "poison" - constants.FACTIONS_BY_DAMAGE_TYPE["acid"][#constants.FACTIONS_BY_DAMAGE_TYPE["acid"]] = "poison" - constants.FACTIONS_BY_DAMAGE_TYPE["poison"][#constants.FACTIONS_BY_DAMAGE_TYPE["poison"]] = "poison" + constants.FACTIONS_BY_DAMAGE_TYPE["fire"][#constants.FACTIONS_BY_DAMAGE_TYPE["fire"]+1] = "poison" + constants.FACTIONS_BY_DAMAGE_TYPE["acid"][#constants.FACTIONS_BY_DAMAGE_TYPE["acid"]+1] = "poison" + constants.FACTIONS_BY_DAMAGE_TYPE["poison"][#constants.FACTIONS_BY_DAMAGE_TYPE["poison"]+1] = "poison" constants.FACTION_SET[#constants.FACTION_SET+1] = { type = "poison", tint = {r=0.4, g=0.6, b=0.5, a=1}, @@ -1310,8 +1310,8 @@ if settings.startup["rampant--poisonEnemy"].value then end if settings.startup["rampant--suicideEnemy"].value then - constants.FACTIONS_BY_DAMAGE_TYPE["impact"][#constants.FACTIONS_BY_DAMAGE_TYPE["impact"]] = "suicide" - constants.FACTIONS_BY_DAMAGE_TYPE["poison"][#constants.FACTIONS_BY_DAMAGE_TYPE["poison"]] = "suicide" + constants.FACTIONS_BY_DAMAGE_TYPE["impact"][#constants.FACTIONS_BY_DAMAGE_TYPE["impact"]+1] = "suicide" + constants.FACTIONS_BY_DAMAGE_TYPE["poison"][#constants.FACTIONS_BY_DAMAGE_TYPE["poison"]+1] = "suicide" constants.FACTION_SET[#constants.FACTION_SET+1] = { type = "suicide", tint = {r=0.8, g=0.8, b=0.8, a=1}, @@ -1371,8 +1371,8 @@ if settings.startup["rampant--suicideEnemy"].value then end if settings.startup["rampant--nuclearEnemy"].value then - constants.FACTIONS_BY_DAMAGE_TYPE["impact"][#constants.FACTIONS_BY_DAMAGE_TYPE["impact"]] = "nuclear" - constants.FACTIONS_BY_DAMAGE_TYPE["poison"][#constants.FACTIONS_BY_DAMAGE_TYPE["poison"]] = "nuclear" + constants.FACTIONS_BY_DAMAGE_TYPE["impact"][#constants.FACTIONS_BY_DAMAGE_TYPE["impact"]+1] = "nuclear" + constants.FACTIONS_BY_DAMAGE_TYPE["poison"][#constants.FACTIONS_BY_DAMAGE_TYPE["poison"]+1] = "nuclear" constants.FACTION_SET[#constants.FACTION_SET+1] = { type = "nuclear", tint = {r=0.1, g=0.95, b=0.1, a=1}, @@ -1431,8 +1431,8 @@ if settings.startup["rampant--nuclearEnemy"].value then end if settings.startup["rampant--energyThiefEnemy"].value then - constants.FACTIONS_BY_DAMAGE_TYPE["laser"][#constants.FACTIONS_BY_DAMAGE_TYPE["laser"]] = "energy-thief" - constants.FACTIONS_BY_DAMAGE_TYPE["electric"][#constants.FACTIONS_BY_DAMAGE_TYPE["electric"]] = "energy-thief" + constants.FACTIONS_BY_DAMAGE_TYPE["laser"][#constants.FACTIONS_BY_DAMAGE_TYPE["laser"]+1] = "energy-thief" + constants.FACTIONS_BY_DAMAGE_TYPE["electric"][#constants.FACTIONS_BY_DAMAGE_TYPE["electric"]+1] = "energy-thief" constants.FACTION_SET[#constants.FACTION_SET+1] = { type = "energy-thief", tint = {r=0.2, g=0.2, b=0.4, a=1}, @@ -1491,9 +1491,9 @@ if settings.startup["rampant--energyThiefEnemy"].value then end if settings.startup["rampant--fastEnemy"].value then - constants.FACTIONS_BY_DAMAGE_TYPE["physical"][#constants.FACTIONS_BY_DAMAGE_TYPE["physical"]] = "fast" - constants.FACTIONS_BY_DAMAGE_TYPE["explosion"][#constants.FACTIONS_BY_DAMAGE_TYPE["explosion"]] = "fast" - constants.FACTIONS_BY_DAMAGE_TYPE["fire"][#constants.FACTIONS_BY_DAMAGE_TYPE["fire"]] = "fast" + constants.FACTIONS_BY_DAMAGE_TYPE["physical"][#constants.FACTIONS_BY_DAMAGE_TYPE["physical"]+1] = "fast" + constants.FACTIONS_BY_DAMAGE_TYPE["explosion"][#constants.FACTIONS_BY_DAMAGE_TYPE["explosion"]+1] = "fast" + constants.FACTIONS_BY_DAMAGE_TYPE["fire"][#constants.FACTIONS_BY_DAMAGE_TYPE["fire"]+1] = "fast" constants.FACTION_SET[#constants.FACTION_SET+1] = { type = "fast", tint = {r=0.9, g=0.9, b=0.9, a=1}, diff --git a/locale/en/locale.cfg b/locale/en/locale.cfg index 6b0e868..d5e0c22 100755 --- a/locale/en/locale.cfg +++ b/locale/en/locale.cfg @@ -18789,6 +18789,8 @@ poison-worm-v20-t10-rampant=Poison worm: t10 Leviathan [entity-description] [mod-setting-name] +rampant--baseDistanceModifier=AI: Faction Base Distance Modifier +rampant--printBaseAdaptation=AI: Print Faction Mutations rampant--adaptationModifier=AI: Adaption Modifier rampant--unitsAffectedByTiles=World: Units affected by tiles rampant--oldRedEnemyMapColor=Map: Revert Enemy Map Color @@ -18891,6 +18893,8 @@ rampant--enableFadeTime=Enable corpse fade time rampant--temperamentRateModifier=AI: Temperament Rate Modifier [mod-setting-description] +rampant--baseDistanceModifier=Modifies the distance between factions as a percentage change. Low percentages may impact performance. +rampant--printBaseAdaptation=Display a message to the chat console when a faction mutates based on the number of enemies killed rampant--adaptationModifier=Modifies the number of units or enemy buildings that must be destroyed before the adaptation happens based on the damage types that killed the units or buildings. This modifier is a percentage change using the following as starting place (Default deaths events starts at 3000 under 0.5 evo, 0.7 is 4500, 0.9 is 6000, and +0.9 is 7500) rampant--unitAndSpawnerFadeTime=The time in seconds for how long biter corpses stay around rampant--unitsAffectedByTiles=(Can cause Desyncs) Units are affected by tile movement modifiers @@ -18992,3 +18996,20 @@ rampant--temperamentRateModifier=Change how quickly Rampant will hit extremes in [description] rampant-bobs-nee-newEnemies=Bobs enemies or NEE has been detected with Rampants new enemies,\nthe artifacts from each of these mods will still work with Rampants new enemies.\nThe generation of bobs or NEE unit spawners explicitly by Rampant is\nno longer supported when the Rampants new enemies are active. +rampant--adaptation2DebugMessage=Faction has mutated bacause the damage type called __1__. Now the Faction will produce __2__ and __3__. [gps=__4__,__5__] +rampant--adaptation1DebugMessage=Faction has mutated bacause the damage type called __1__. Now the Faction will produce __2__. [gps=__3__,__4__] +rampant--laserEnemyName=Laser Biter +rampant--waspEnemyName=Wasp Biter +rampant--spawnerEnemyName=Spawner Biter +rampant--trollEnemyName=Regenerative Biter +rampant--fastEnemyName=Fast Biter +rampant--infernoEnemyName=Inferno Biter +rampant--nuclearEnemyName=Nuclear Biter +rampant--electricEnemyName=Electric Biter +rampant--fireEnemyName=Fire Biter +rampant--neutralEnemyName=Common Biter +rampant--suicideEnemyName=Suicide Biter +rampant--physicalEnemyName=Brutal Biter +rampant--acidEnemyName=Acidic Biter +rampant--energyThiefEnemyName=Sapper Biter +rampant--poisonEnemyName=Poison Biter diff --git a/settings.lua b/settings.lua index c73182c..be678a6 100755 --- a/settings.lua +++ b/settings.lua @@ -480,6 +480,15 @@ data:extend({ per_user = false }, + { + type = "bool-setting", + name = "rampant--printBaseAdaptation", + setting_type = "runtime-global", + default_value = false, + order = "m[total]-c[ai]z", + per_user = false + }, + { type = "bool-setting", name = "rampant--debugTemperament", @@ -542,6 +551,17 @@ data:extend({ per_user = false }, + { + type = "double-setting", + name = "rampant--baseDistanceModifier", + setting_type = "runtime-global", + default_value = 1, + minimum_value = 0.001, + maximum_value = 100.0, + order = "m[total]-b[ai]", + per_user = false + }, + { type = "bool-setting", name = "rampant--removeBloodParticles",