1
0
mirror of https://github.com/veden/Rampant.git synced 2025-01-28 03:29:34 +02:00

see changelog

This commit is contained in:
Aaron Veden 2019-12-19 17:38:09 -08:00
parent 09148c96cf
commit a76befa436
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
5 changed files with 24 additions and 7 deletions

View File

@ -1,3 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 0.17.31
Date: 19. 12. 2019
Tweaks:
- Added setting to revert enemy map color change
---------------------------------------------------------------------------------------------------
Version: 0.17.30
Date: 17. 12. 2019

View File

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

View File

@ -18676,6 +18676,7 @@ poison-worm-v20-t10-rampant=Poison worm: Juggernaut class
[entity-description]
[mod-setting-name]
rampant-oldRedEnemyMapColor=Map: Revert Enemy Map Color
rampant-unitSpawnerBreath=World: Unit Spawners breath air
rampant-useDumbProjectiles=Projectiles: Use blockable projectiles
rampant-attackWaveGenerationUsePlayerProximity=Attack Wave: Use Player Proximity as attack trigger
@ -18765,6 +18766,7 @@ rampant-disableCollidingProjectiles=Projectiles: Non biter force colliding proje
rampant-enableFullMapScan=Compatibility: Enable full map scanning
[mod-setting-description]
rampant-oldRedEnemyMapColor=Reverts the enemy map color to the vanilla enemy map color
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.
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

View File

@ -250,8 +250,8 @@ function biterFunctions.makeBiter(attributes)
distraction_cooldown = attributes.distractionCooldown or 300,
corpse = makeBiterCorpse(attributes),
dying_explosion = attributes.explosion,
dying_trigger_effect = attributes.dyingEffect,
enemy_map_color = attributes.tint2,
dying_trigger_effect = attributes.dyingEffect,
enemy_map_color = ((not settings.startup["rampant-oldRedEnemyMapColor"].value) and attributes.tint2) or nil,
affected_by_tiles = true,
dying_sound = make_biter_dying_sounds(0.3 + (0.05 * attributes.effectiveLevel)),
working_sound = make_biter_calls(0.2 + (0.05 * attributes.effectiveLevel)),
@ -299,7 +299,7 @@ function biterFunctions.makeSpitter(attributes)
alternative_attacking_frame_sequence = spitter_alternative_attacking_animation_sequence(),
corpse = makeSpitterCorpse(attributes),
dying_explosion = attributes.explosion,
enemy_map_color = attributes.tint2,
enemy_map_color = ((not settings.startup["rampant-oldRedEnemyMapColor"].value) and attributes.tint2) or nil,
dying_trigger_effect = attributes.dyingEffect,
dying_sound = make_spitter_dying_sounds(0.3 + (0.05 * attributes.effectiveLevel)),
working_sound = make_biter_calls(0.2 + (0.05 * attributes.effectiveLevel)),
@ -364,7 +364,7 @@ function biterFunctions.makeUnitSpawner(attributes)
dying_trigger_effect = attributes.dyingEffect,
max_count_of_owned_units = attributes.unitsOwned or 7,
max_friends_around_to_spawn = attributes.unitsToSpawn or 5,
enemy_map_color = attributes.tint2,
enemy_map_color = ((not settings.startup["rampant-oldRedEnemyMapColor"].value) and attributes.tint2) or nil,
animations =
{
spawner_idle_animation(0, attributes.tint, attributes.scale, attributes.tint2 or attributes.tint),
@ -449,7 +449,7 @@ function biterFunctions.makeWorm(attributes)
integration = worm_integration(attributes.scale),
attack_parameters = attributes.attack,
secondary_animation = true,
enemy_map_color = attributes.tint2,
enemy_map_color = ((not settings.startup["rampant-oldRedEnemyMapColor"].value) and attributes.tint2) or nil,
random_animation_offset = true,
attack_from_start_frame = true,

View File

@ -28,6 +28,15 @@ data:extend({
per_user = false
},
{
type = "bool-setting",
name = "rampant-oldRedEnemyMapColor",
setting_type = "startup",
default_value = false,
order = "b[modifier]-c[trigger]",
per_user = false
},
{
type = "double-setting",
name = "rampant-attackPlayerThreshold",
@ -135,7 +144,7 @@ data:extend({
order = "c[modifier]-d[safe]",
per_user = false
},
{
type = "bool-setting",
name = "rampant-safeBuildings-railSignals",