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

see changelog

This commit is contained in:
Aaron Veden 2019-04-20 00:02:37 -07:00
parent a4569e1d7b
commit ec3e9c674c
7 changed files with 54 additions and 13 deletions

View File

@ -1,3 +1,14 @@
---------------------------------------------------------------------------------------------------
Version: 0.17.20
Date: 4. 19. 2019
Improvements:
- Spawner faction spit spawned biters now lose life over time
- Added mod setting that causes biter projectiles to no longer collide with other biters but still collides everything else
Tweaks:
- Doubled all spawner faction spit spawned biters health (30,60,90,120,150,180,220,500,1000,2000)
Bugfixes:
- Fixed unkillable construction robot settings not clearing and setting new resistance table
---------------------------------------------------------------------------------------------------
Version: 0.17.19
Date: 4. 08. 2019

View File

@ -38,7 +38,8 @@ for _, robot in pairs(data.raw["construction-robot"]) do
end
robot.collision_mask[#robot.collision_mask+1] = "layer-11"
if (settings.startup["rampant-unkillableConstructionRobots"].value) then
if (settings.startup["rampant-unkillableConstructionRobots"].value) then
robot.resistances = {}
for damageType, _ in pairs(data.raw["damage-type"]) do
robot.resistances[damageType] = {
type = damageType,

View File

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

View File

@ -12500,6 +12500,8 @@ rampant-acidEnemy=World: Acid Biter Faction
rampant-energyThiefEnemy=World: Energy Thief Biter Faction
rampant-poisonEnemy=World: Poison Biter Faction
rampant-disableCollidingProjectiles=Projectiles: Non biter force colliding projectiles
[mod-setting-description]
rampant-unitSpawnerBreath=Now unit spawners breath air so they are affected by things like poison capsules
rampant-useDumbProjectiles=Use the projectile attacks that are blockable. This should be checked if you are using the new enemies.
@ -12583,4 +12585,6 @@ rampant-suicideEnemy=Suicide Biter Faction, Only Biters that explode when they a
rampant-physicalEnemy=Physical Biter Faction, Only Biters. Major resistance to physical, Major resistance to explosive, Minor Weakness to Electric.
rampant-acidEnemy=Acid Biter Faction, Major resistance to Acid, Minor resistance to Poison.
rampant-energyThiefEnemy=Energy Thief Biter Faction, Major resistance to Electric, Minor resistance to Laser. Destroying powered structures creates draining crystals.
rampant-poisonEnemy=Poison Biter Faction, Only Biters. On death creates a cloud that heals biters and hurts player objects. Major resistance to Poison, Minor weakness to Electric, Minor weakness to Explosive, Minor weakness to Laser, Minor resistance to Fire.
rampant-poisonEnemy=Poison Biter Faction, Only Biters. On death creates a cloud that heals biters and hurts player objects. Major resistance to Poison, Minor weakness to Electric, Minor weakness to Explosive, Minor weakness to Laser, Minor resistance to Fire.
rampant-disableCollidingProjectiles=Biter projectiles no longer collide with other biters, worms or nests. Everything else still collides with biter projectiles.

View File

@ -562,16 +562,31 @@ function spawner.addFaction()
{
type = "attribute",
name = "health",
[1] = 15,
[2] = 30,
[3] = 45,
[4] = 60,
[5] = 75,
[6] = 90,
[7] = 110,
[8] = 250,
[9] = 500,
[10] = 1000
[1] = 30,
[2] = 60,
[3] = 90,
[4] = 120,
[5] = 150,
[6] = 180,
[7] = 220,
[8] = 500,
[9] = 1000,
[10] = 2000
},
{
type = "attribute",
name = "healing",
[1] = -0.05,
[2] = -0.05,
[3] = -0.05,
[4] = -0.06,
[5] = -0.07,
[6] = -0.07,
[7] = -0.08,
[8] = -0.08,
[9] = -0.09,
[10] = -0.09
}
},

View File

@ -12,6 +12,7 @@ function projectileUtils.makeProjectile(name, attributes, attack)
direction_only = attributes.directionOnly,
piercing_damage = attributes.piercingDamage or 0,
acceleration = attributes.acceleration or 0.01,
force_condition = (settings.startup["rampant-disableCollidingProjectiles"].value and "not-same") or nil,
action = attack,
animation =
{

View File

@ -19,6 +19,15 @@ data:extend({
per_user = false
},
{
type = "bool-setting",
name = "rampant-disableCollidingProjectiles",
setting_type = "startup",
default_value = true,
order = "b[modifier]-b[trigger]",
per_user = false
},
{
type = "double-setting",
name = "rampant-attackPlayerThreshold",