]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Flora anomaly nerf (#25499)
authorEd <96445749+TheShuEd@users.noreply.github.com>
Sun, 25 Feb 2024 23:41:24 +0000 (02:41 +0300)
committerGitHub <noreply@github.com>
Sun, 25 Feb 2024 23:41:24 +0000 (15:41 -0800)
* Update kudzu.yml

* Update living_light.yml

* files

* Update flora.yml

* Update kudzu.yml

* bul

* Update kudzu.yml

* Update living_light.yml

* bullet immune

Resources/Prototypes/Entities/Mobs/NPCs/living_light.yml
Resources/Prototypes/Entities/Objects/Decoration/flora.yml
Resources/Prototypes/Entities/Objects/Misc/kudzu.yml
Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/meta.json [new file with mode: 0644]
Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree01.png [new file with mode: 0644]
Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree02.png [new file with mode: 0644]
Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree03.png [new file with mode: 0644]
Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree04.png [new file with mode: 0644]
Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree05.png [new file with mode: 0644]
Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree06.png [new file with mode: 0644]

index cc75405e1033c609f425ef2b8ddff310018d5ba7..9b90d202f3a93679fb137f901cbd83c75977dfc0 100644 (file)
       state: glow
       shader: unshaded
   - type: MobState
-  - type: MobThresholds
-    thresholds:
-      0: Alive
-      50: Dead
   - type: SlowOnDamage
     speedModifierThresholds:
       20: 0.5
@@ -94,7 +90,7 @@
     thresholds:
       - trigger:
           !type:DamageTrigger
-          damage: 50
+          damage: 25
         behaviors:
           - !type:DoActsBehavior
             acts: [ "Destruction" ]
     - map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
       state: glow
       shader: unshaded
-  - type: MobThresholds
-    thresholds:
-      0: Alive
-      50: Dead
   - type: DamageStateVisuals
     states:
       Alive:
     - map: [ "enum.DamageStateVisualLayers.BaseUnshaded" ]
       state: glow
       shader: unshaded
-  - type: MobThresholds
-    thresholds:
-      0: Alive
-      40: Dead
   - type: DamageStateVisuals
     states:
       Alive:
index 791127170f20ac16990fe3e63dc49e7e4c549409..6a622d7beaa2489876c04a8b45ead993b653eb6b 100644 (file)
   components:
   - type: Sprite
     state: tree06
+
+- type: entity
+  parent: BaseTree
+  id: LightTree01
+  name: glowing tree
+  description: a marvelous tree filled with strange energy.
+  components:
+  - type: PointLight
+    radius: 2.0
+    energy: 4.5
+    color: "#6270bb"
+  - type: Sprite
+    sprite: Objects/Decoration/Flora/flora_treeslight.rsi
+    state: tree01
+  - type: Destructible
+    thresholds:
+    - trigger:
+        !type:DamageTrigger
+        damage: 400
+      behaviors:
+        - !type:DoActsBehavior
+          acts: [ "Destruction" ]
+    - trigger:
+        !type:DamageTrigger
+        damage: 25
+      behaviors:
+      - !type:PlaySoundBehavior
+        sound:
+          path: /Audio/Effects/tree_fell.ogg
+          params:
+            volume: 5
+            variation: 0.05
+      - !type:DoActsBehavior
+        acts: [ "Destruction" ]
+      - !type:SpawnEntitiesBehavior
+        spawn:
+          Log:
+            min: 0
+            max: 1
+      - !type:SpawnEntitiesBehavior
+        spawn:
+          MobLuminousObject:
+            min: 0
+            max: 1
+
+- type: entity
+  parent: LightTree01
+  id: LightTree02
+  components:
+  - type: Sprite
+    sprite: Objects/Decoration/Flora/flora_treeslight.rsi
+    state: tree02
+
+- type: entity
+  parent: LightTree01
+  id: LightTree03
+  components:
+  - type: Sprite
+    sprite: Objects/Decoration/Flora/flora_treeslight.rsi
+    state: tree03
+
+- type: entity
+  parent: LightTree01
+  id: LightTree04
+  components:
+  - type: Sprite
+    sprite: Objects/Decoration/Flora/flora_treeslight.rsi
+    state: tree04
+
+- type: entity
+  parent: LightTree01
+  id: LightTree05
+  components:
+  - type: Sprite
+    sprite: Objects/Decoration/Flora/flora_treeslight.rsi
+    state: tree05
+
+- type: entity
+  parent: LightTree01
+  id: LightTree06
+  components:
+  - type: Sprite
+    sprite: Objects/Decoration/Flora/flora_treeslight.rsi
+    state: tree06
index 6ebf0951174516f7e4957583f1bdaa5c02392eea..5de1f0b7f935d01d5e1a4a60bb7d9f07a0f6dafe 100644 (file)
       offset: 0.2
       chance: 0.05
       prototypes:
-      - FloraTree01
-      - FloraTree02
-      - FloraTree03
-      - FloraTree04
-      - FloraTree05
-      - FloraTree06
-      - FloraTreeLarge01
-      - FloraTreeLarge02
-      - FloraTreeLarge03
+      - LightTree01
+      - LightTree02
+      - LightTree03
+      - LightTree04
+      - LightTree05
+      - LightTree06
       - CrystalCyan
       rarePrototypes:
       - AnomalyFloraBulb
   parent: KudzuFlowerFriendly
   components:
     - type: Kudzu
-      spreadChance: 0.4
+      spreadChance: 0.2
     - type: RandomSpawner
-      chance: 0.1
+      chance: 0.05
       rarePrototypes:
       - AnomalyFloraBulb
+      - AnomalyFloraBulb
       - MobLuminousEntity
       - MobLuminousObject
+      - MobLuminousPerson
 
 - type: entity
   id: FleshKudzu
diff --git a/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/meta.json b/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/meta.json
new file mode 100644 (file)
index 0000000..4820db2
--- /dev/null
@@ -0,0 +1,29 @@
+{
+    "version": 1,
+    "license": "CC-BY-SA-3.0",
+    "copyright": "Created by TheShuEd for Space Station 14",
+    "size": {
+        "x": 96,
+        "y": 96
+    },
+    "states": [
+        {
+            "name": "tree01"
+        },
+        {
+            "name": "tree02"
+        },
+        {
+            "name": "tree03"
+        },
+        {
+            "name": "tree04"
+        },
+        {
+            "name": "tree05"
+        },
+        {
+            "name": "tree06"
+        }
+    ]
+}
\ No newline at end of file
diff --git a/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree01.png b/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree01.png
new file mode 100644 (file)
index 0000000..986b78b
Binary files /dev/null and b/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree01.png differ
diff --git a/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree02.png b/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree02.png
new file mode 100644 (file)
index 0000000..ffbf2c4
Binary files /dev/null and b/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree02.png differ
diff --git a/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree03.png b/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree03.png
new file mode 100644 (file)
index 0000000..f37059e
Binary files /dev/null and b/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree03.png differ
diff --git a/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree04.png b/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree04.png
new file mode 100644 (file)
index 0000000..0461766
Binary files /dev/null and b/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree04.png differ
diff --git a/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree05.png b/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree05.png
new file mode 100644 (file)
index 0000000..26ac7f8
Binary files /dev/null and b/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree05.png differ
diff --git a/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree06.png b/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree06.png
new file mode 100644 (file)
index 0000000..01cda92
Binary files /dev/null and b/Resources/Textures/Objects/Decoration/Flora/flora_treeslight.rsi/tree06.png differ