From 86700e13346b268f0a710bdaca7e4ff0036ee576 Mon Sep 17 00:00:00 2001 From: Ed <96445749+TheShuEd@users.noreply.github.com> Date: Sun, 21 Jan 2024 13:50:01 +0300 Subject: [PATCH] Flora anom hotfix (#24364) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * fix * less entities * ф --- .../Prototypes/Entities/Effects/mobspawn.yml | 20 ++++++--- .../Entities/Mobs/NPCs/living_light.yml | 44 +++++++------------ .../Entities/Objects/Misc/kudzu.yml | 6 +-- .../Structures/Specific/Anomaly/anomalies.yml | 6 +-- 4 files changed, 35 insertions(+), 41 deletions(-) diff --git a/Resources/Prototypes/Entities/Effects/mobspawn.yml b/Resources/Prototypes/Entities/Effects/mobspawn.yml index 20a205feb0..4529497021 100644 --- a/Resources/Prototypes/Entities/Effects/mobspawn.yml +++ b/Resources/Prototypes/Entities/Effects/mobspawn.yml @@ -80,25 +80,33 @@ - type: AnimationPlayer - type: RandomSpawner deleteSpawnerAfterSpawn: false - rareChance: 0.2 - offset: 0.5 + rareChance: 0.1 + offset: 0.3 chance: 1 prototypes: - FoodAmbrosiaVulgaris - - FoodAmbrosiaDeus - - FoodBlueTomato - FoodAloe - FoodCabbage - FoodCarrot - FoodGalaxythistle - - FoodGatfruit - FoodLemon - - FoodLemoon - FoodLime - FoodPeaPod - FoodPineapple - FoodOnionRed - FoodWatermelon + - FoodAmbrosiaVulgaris + - FoodAloe + - FoodCabbage + - FoodCarrot + - FoodGalaxythistle + - FoodLemon + - FoodLime + - FoodPeaPod + - FoodPineapple + - FoodOnionRed + - FoodWatermelon + - FoodGatfruit rarePrototypes: - MobLuminousEntity - MobLuminousObject \ No newline at end of file diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/living_light.yml b/Resources/Prototypes/Entities/Mobs/NPCs/living_light.yml index e7ed489cb0..cc75405e10 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/living_light.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/living_light.yml @@ -18,8 +18,8 @@ - SimpleHostile - type: MovementIgnoreGravity - type: MovementSpeedModifier - baseWalkSpeed: 5.5 - baseSprintSpeed: 5.5 + baseWalkSpeed: 3.5 + baseSprintSpeed: 3.5 - type: Sprite drawdepth: Mobs sprite: Mobs/Elemental/living_light/luminous_person.rsi @@ -34,6 +34,9 @@ thresholds: 0: Alive 50: Dead + - type: SlowOnDamage + speedModifierThresholds: + 20: 0.5 - type: DamageStateVisuals states: Alive: @@ -87,16 +90,17 @@ - type: Tag tags: - FootstepSound - - DoorBumpOpener - type: Destructible thresholds: - - trigger: - !type:DamageTypeTrigger - damageType: Heat - damage: 150 - behaviors: - - !type:DoActsBehavior - acts: [ "Destruction" ] + - trigger: + !type:DamageTrigger + damage: 50 + behaviors: + - !type:DoActsBehavior + acts: [ "Destruction" ] + - !type:PlaySoundBehavior + sound: + collection: GlassBreak - type: entity id: MobLuminousPerson @@ -127,7 +131,7 @@ - type: MobThresholds thresholds: 0: Alive - 30: Dead + 50: Dead - type: DamageStateVisuals states: Alive: @@ -140,15 +144,6 @@ damage: types: Heat: 6 - - type: Destructible - thresholds: - - trigger: - !type:DamageTypeTrigger - damageType: Heat - damage: 80 - behaviors: - - !type:DoActsBehavior - acts: [ "Destruction" ] - type: entity id: MobLuminousEntity @@ -200,12 +195,3 @@ path: /Audio/Weapons/Guns/Gunshots/laser3.ogg soundEmpty: path: /Audio/Items/Lighters/lighter_off.ogg - - type: Destructible - thresholds: - - trigger: - !type:DamageTypeTrigger - damageType: Heat - damage: 100 - behaviors: - - !type:DoActsBehavior - acts: [ "Destruction" ] diff --git a/Resources/Prototypes/Entities/Objects/Misc/kudzu.yml b/Resources/Prototypes/Entities/Objects/Misc/kudzu.yml index 2c643bc57d..eefce3a851 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/kudzu.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/kudzu.yml @@ -125,9 +125,9 @@ - IgnoreKudzu - type: RandomSpawner deleteSpawnerAfterSpawn: false - rareChance: 0.3 + rareChance: 0.15 offset: 0.2 - chance: 0.1 + chance: 0.05 prototypes: - FloraTree01 - FloraTree02 @@ -150,7 +150,7 @@ - type: Kudzu spreadChance: 0.4 - type: RandomSpawner - chance: 0.2 + chance: 0.1 rarePrototypes: - AnomalyFloraBulb - MobLuminousEntity diff --git a/Resources/Prototypes/Entities/Structures/Specific/Anomaly/anomalies.yml b/Resources/Prototypes/Entities/Structures/Specific/Anomaly/anomalies.yml index dabfd81034..aecef8c637 100644 --- a/Resources/Prototypes/Entities/Structures/Specific/Anomaly/anomalies.yml +++ b/Resources/Prototypes/Entities/Structures/Specific/Anomaly/anomalies.yml @@ -317,10 +317,10 @@ Slash: 0 - type: TileSpawnAnomaly floorTileId: FloorAstroGrass - spawnRange: 10 + spawnRange: 6 - type: EntitySpawnAnomaly - maxSpawnAmount: 30 - spawnRange: 10 + maxSpawnAmount: 15 + spawnRange: 6 superCriticalSpawns: - KudzuFlowerAngry spawns: -- 2.51.2