]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Disable point light on rainbow weed (#36479)
authorMinemoder5000 <minemoder50000@gmail.com>
Fri, 18 Apr 2025 14:12:26 +0000 (08:12 -0600)
committerGitHub <noreply@github.com>
Fri, 18 Apr 2025 14:12:26 +0000 (00:12 +1000)
* botanists can no longer destroy the lighting engine

* unshaded

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
Resources/Prototypes/Entities/Objects/Specific/Hydroponics/leaves.yml

index 06f297430592e3aeb7507fd91eab119a74469905..3ef9e99cd2e1ecc06c3b2f4e0affb01f8b9e9e2a 100644 (file)
@@ -65,7 +65,7 @@
       - Smokable
   - type: Item
     size: Tiny
-    
+
 - type: entity
   name: rainbow cannabis leaves
   parent: LeavesCannabis
   description: "Is it supposed to be glowing like that...?"
   components:
   - type: Sprite
-    sprite: Objects/Specific/Hydroponics/rainbow_cannabis.rsi
+    layers:
+    - sprite: Objects/Specific/Hydroponics/rainbow_cannabis.rsi
+      state: produce
+      shader: unshaded
   - type: Produce
     seedId: rainbowCannabis
-  - type: PointLight
-    radius: 1.5
-    energy: 2
-  - type: RgbLightController
-    cycleRate: 0.6
+  # disabled because 50 morbillion point lights still break the lighting engine
+  #- type: PointLight
+  #  radius: 1.5
+  #  energy: 2
+  #- type: RgbLightController
+  #  cycleRate: 0.6
   - type: SolutionContainerManager
     solutions:
       food:
     tags:
       - Smokable
   - type: Item
-    size: Tiny
\ No newline at end of file
+    size: Tiny