]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Flora anom hotfix (#24364)
authorEd <96445749+TheShuEd@users.noreply.github.com>
Sun, 21 Jan 2024 10:50:01 +0000 (13:50 +0300)
committerGitHub <noreply@github.com>
Sun, 21 Jan 2024 10:50:01 +0000 (13:50 +0300)
* fix

* less entities

* ф

Resources/Prototypes/Entities/Effects/mobspawn.yml
Resources/Prototypes/Entities/Mobs/NPCs/living_light.yml
Resources/Prototypes/Entities/Objects/Misc/kudzu.yml
Resources/Prototypes/Entities/Structures/Specific/Anomaly/anomalies.yml

index 20a205feb0c1a4fb1f09e5918454f6cb0e6e7083..4529497021ec4db0d01c406fa14690f4b565bde0 100644 (file)
   - 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
index e7ed489cb0f389a3f0579669725ccefbea79f105..cc75405e1033c609f425ef2b8ddff310018d5ba7 100644 (file)
@@ -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:
   - 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
   - type: MobThresholds
     thresholds:
       0: Alive
-      30: Dead
+      50: Dead
   - type: DamageStateVisuals
     states:
       Alive:
     damage:
       types:
         Heat: 6
-  - type: Destructible
-    thresholds:
-    - trigger:
-        !type:DamageTypeTrigger
-        damageType: Heat
-        damage: 80
-      behaviors:
-      - !type:DoActsBehavior
-        acts: [ "Destruction" ]
 
 - type: entity
   id: MobLuminousEntity
       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" ]
index 2c643bc57de5610591b6ab013f49569f0c690354..eefce3a851c138e255a10322226f1f2889e27e0a 100644 (file)
         - IgnoreKudzu
     - type: RandomSpawner
       deleteSpawnerAfterSpawn: false
-      rareChance: 0.3
+      rareChance: 0.15
       offset: 0.2
-      chance: 0.1
+      chance: 0.05
       prototypes:
       - FloraTree01
       - FloraTree02
     - type: Kudzu
       spreadChance: 0.4
     - type: RandomSpawner
-      chance: 0.2
+      chance: 0.1
       rarePrototypes:
       - AnomalyFloraBulb
       - MobLuminousEntity
index dabfd8103410052bc15376abc346c16f69125555..aecef8c637b28072fe70a77496753e330b9e3cc6 100644 (file)
         Slash: 0
   - type: TileSpawnAnomaly
     floorTileId: FloorAstroGrass
-    spawnRange: 10
+    spawnRange: 6
   - type: EntitySpawnAnomaly
-    maxSpawnAmount: 30
-    spawnRange: 10
+    maxSpawnAmount: 15
+    spawnRange: 6
     superCriticalSpawns:
     - KudzuFlowerAngry
     spawns: