diff --git a/changelog.txt b/changelog.txt index 6c0cf6f..7ac925f 100755 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,9 @@ +--------------------------------------------------------------------------------------------------- +Version: 0.17.7 +Date: 3. 12. 2019 + Improvements: + - Added setting for unit spawners breathing air to allow poison capsules to affect them + --------------------------------------------------------------------------------------------------- Version: 0.17.6 Date: 3. 12. 2019 diff --git a/data-final-fixes.lua b/data-final-fixes.lua index c6f0e5b..fb4671d 100755 --- a/data-final-fixes.lua +++ b/data-final-fixes.lua @@ -71,6 +71,12 @@ if settings.startup["rampant-newEnemies"].value then if (unitSpawner.name ~= "biter-spawner") then unitSpawner.autoplace = nil end + if settings.startup["rampant-unitSpawnerBreath"] then + if not unitSpawner.flags then + unitSpawner.flags = {} + end + unitSpawner.flags[#unitSpawner.flags+1] = "breaths-air" + end end for _, unitSpawner in pairs(data.raw["turret"]) do if (unitSpawner.name ~= "small-worm-turret") then diff --git a/info.json b/info.json index 78a8c25..fa1996d 100755 --- a/info.json +++ b/info.json @@ -1,7 +1,7 @@ { "name" : "Rampant", "factorio_version" : "0.17", - "version" : "0.17.6", + "version" : "0.17.7", "title" : "Rampant", "author" : "Veden", "homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445", diff --git a/locale/en/locale.cfg b/locale/en/locale.cfg index ca0a9d4..54d0855 100755 --- a/locale/en/locale.cfg +++ b/locale/en/locale.cfg @@ -12416,6 +12416,7 @@ poison-worm-v20-t10-rampant=Poison worm: Juggernaut class [entity-description] [mod-setting-name] +rampant-unitSpawnerBreath=World: Unit Spawners breath air rampant-useDumbProjectiles=Projectiles: Use non-homing attack rampant-useNEUnitLaunchers=Projectiles: Use NE Unit Launchers (Needs NE) # rampant-attackWaveGenerationUsePollution=Attack Wave: Use Pollution as attack trigger @@ -12454,50 +12455,51 @@ rampant-enableNEUnits=World: Enable NE as a faction rampant-disallowFriendlyFire=Safety: Disallow Friendly Fire Splash Damage rampant-tierStart=World: Beginning enemy level rampant-tierEnd=World: Ending enemy level -rampant-forceOldProjectiles=Force non-blockable projectiles +rampant-forceOldProjectiles=Projectiles: Force non-blockable projectiles rampant-disableVanillaAI=AI: Disable Vanilla AI rampant-enableMigration=AI: Enable Migration -rampant-unitBiterHealthScaler=Biter Health Scaler -rampant-unitBiterSpeedScaler=Biter Speed Scaler -rampant-unitBiterDamageScaler=Biter Damage Scaler -rampant-unitBiterRangeScaler=Biter Range Scaler -rampant-unitSpitterHealthScaler=Spitter Health Scaler -rampant-unitSpitterSpeedScaler=Spitter Speed Scaler -rampant-unitSpitterDamageScaler=Spitter Damage Scaler -rampant-unitSpitterRangeScaler=Spitter Range Scaler -rampant-unitDroneHealthScaler=Drone Health Scaler -rampant-unitDroneSpeedScaler=Drone Speed Scaler -rampant-unitDroneDamageScaler=Drone Damage Scaler -rampant-unitDroneRangeScaler=Drone Range Scaler -rampant-unitWormHealthScaler=Worm Health Scaler -rampant-unitWormDamageScaler=Worm Damage Scaler -rampant-unitWormRangeScaler=Worm Range Scaler -rampant-unitSpawnerHealthScaler=Unit Spawner Health Scaler -rampant-unitSpawnerOwnedScaler=Unit Spawner Owned Count Scaler -rampant-unitSpawnerSpawnScaler=Unit Spawner Spawn Count Scaler -rampant-unitSpawnerRespawnScaler=Unit Spawner Respawn Rate Scaler +rampant-unitBiterHealthScaler=Modifier: Biter Health Scaler +rampant-unitBiterSpeedScaler=Modifier: Biter Speed Scaler +rampant-unitBiterDamageScaler=Modifier: Biter Damage Scaler +rampant-unitBiterRangeScaler=Modifier: Biter Range Scaler +rampant-unitSpitterHealthScaler=Modifier: Spitter Health Scaler +rampant-unitSpitterSpeedScaler=Modifier: Spitter Speed Scaler +rampant-unitSpitterDamageScaler=Modifier: Spitter Damage Scaler +rampant-unitSpitterRangeScaler=Modifier: Spitter Range Scaler +rampant-unitDroneHealthScaler=Modifier: Drone Health Scaler +rampant-unitDroneSpeedScaler=Modifier: Drone Speed Scaler +rampant-unitDroneDamageScaler=Modifier: Drone Damage Scaler +rampant-unitDroneRangeScaler=Modifier: Drone Range Scaler +rampant-unitWormHealthScaler=Modifier: Worm Health Scaler +rampant-unitWormDamageScaler=Modifier: Worm Damage Scaler +rampant-unitWormRangeScaler=Modifier: Worm Range Scaler +rampant-unitSpawnerHealthScaler=Modifier: Unit Spawner Health Scaler +rampant-unitSpawnerOwnedScaler=Modifier: Unit Spawner Owned Count Scaler +rampant-unitSpawnerSpawnScaler=Modifier: Unit Spawner Spawn Count Scaler +rampant-unitSpawnerRespawnScaler=Modifier: Unit Spawner Respawn Rate Scaler rampant-raidAIToggle=AI: Enable Raiding AI rampant-siegeAIToggle=AI: Enable Siege AI rampant-onslaughtAIToggle=AI: Enable Onslaught AI -rampant-laserEnemy=Laser Biter Faction -rampant-waspEnemy=Wasp Biter Faction -rampant-spawnerEnemy=Spawner Biter Faction -rampant-trollEnemy=Troll Biter Faction -rampant-fastEnemy=Fast Biter Faction -rampant-infernoEnemy=Inferno Biter Faction -rampant-nuclearEnemy=Nuclear Biter Faction -rampant-electricEnemy=Electric Biter Faction -rampant-fireEnemy=Fire Biter Faction -rampant-suicideEnemy=Suicide Biter Faction -rampant-physicalEnemy=Physical Biter Faction -rampant-acidEnemy=Acid Biter Faction -rampant-energyThiefEnemy=Energy Thief Biter Faction -rampant-poisonEnemy=Poison Biter Faction +rampant-laserEnemy=World: Laser Biter Faction +rampant-waspEnemy=World: Wasp Biter Faction +rampant-spawnerEnemy=World: Spawner Biter Faction +rampant-trollEnemy=World: Troll Biter Faction +rampant-fastEnemy=World: Fast Biter Faction +rampant-infernoEnemy=World: Inferno Biter Faction +rampant-nuclearEnemy=World: Nuclear Biter Faction +rampant-electricEnemy=World: Electric Biter Faction +rampant-fireEnemy=World: Fire Biter Faction +rampant-suicideEnemy=World: Suicide Biter Faction +rampant-physicalEnemy=World: Physical Biter Faction +rampant-acidEnemy=World: Acid Biter Faction +rampant-energyThiefEnemy=World: Energy Thief Biter Faction +rampant-poisonEnemy=World: Poison Biter Faction [mod-setting-description] +rampant-unitSpawnerBreath=Now unit spawners breath air so they are affected by things like poison capsules rampant-useDumbProjectiles=Turns off homing projectiles for worms and spitters rampant-useNEUnitLaunchers=ONLY FOR USE WITH NATURAL EVOLUTION ENEMIES use the NE unit launchers with medium and big worms. if set to false this will still allow the dumb projectiles but without the unit spawning. A side effect of the dumb projectiles cause the units to be spawned as if two shots were fired # rampant-attackWaveGenerationUsePollution=Include pollution amount for threshold on chunks with biter nests that will generate a Rampant attack wave. DOES NOT affect vanilla biters waves diff --git a/settings.lua b/settings.lua index 17964c5..668141a 100755 --- a/settings.lua +++ b/settings.lua @@ -26,7 +26,7 @@ data:extend({ default_value = false, order = "a[modifier]-b[projectiles]", per_user = false - }, + }, -- { -- type = "bool-setting", @@ -222,8 +222,8 @@ data:extend({ maximum_value = 1.0, order = "d[modifier]-a[ai]", per_user = false - }, - + }, + { type = "bool-setting", name = "rampant-newEnemies", @@ -481,6 +481,15 @@ data:extend({ per_user = false }, + { + type = "bool-setting", + name = "rampant-unitSpawnerBreath", + setting_type = "startup", + default_value = true, + order = "l[modifier]-zb[unit]", + per_user = false + }, + { type = "bool-setting", name = "rampant-disableVanillaAI",