]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Dim light bulbs (#33383)
authorUbaser <134914314+UbaserB@users.noreply.github.com>
Mon, 18 Nov 2024 06:32:07 +0000 (17:32 +1100)
committerGitHub <noreply@github.com>
Mon, 18 Nov 2024 06:32:07 +0000 (23:32 -0700)
add

Resources/Prototypes/Entities/Objects/Power/lights.yml
Resources/Prototypes/Entities/Structures/Lighting/base_lighting.yml
Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Resources/Prototypes/Recipes/Lathes/misc.yml

index e0ae055e7d8c17e1cfe27a767e6ac831e509d1cb..bb52000a8608a4ad826c18dd9795156a3e6ad8d1 100644 (file)
     - LightBulb
     - Trash
 
+- type: entity
+  parent: BaseLightbulb
+  name: dim light bulb
+  id: DimLightBulb
+  description: A dim light bulb for populating the darkness of maintenance.
+  components:
+  - type: LightBulb
+    bulb: Bulb
+    color: "#ba473f"
+    lightEnergy: 0.5
+    lightRadius: 5
+    lightSoftness: 3
+  - type: Tag
+    tags:
+    - LightBulb
+    - Trash
+
 - type: entity
   parent: LightBulb
   name: old incandescent light bulb
index 99973845a9f3644b131ca190f42dfe1b41a4b4bb..c079975e8bab1afb33528421806bd911f6981377 100644 (file)
         Heat: 1
     popupText: powered-light-component-burn-hand
 
+- type: entity
+  id: PoweredDimSmallLight
+  suffix: Dim
+  parent: PoweredSmallLightEmpty
+  components:
+  - type: Sprite
+    state: base
+  - type: PointLight
+    enabled: true
+    radius: 5
+    energy: 0.5
+    softness: 3
+    color: "#ba473f"
+  - type: PoweredLight
+    hasLampOnSpawn: DimLightBulb
+  - type: DamageOnInteract
+    damage:
+      types:
+        Heat: 1
+    popupText: powered-light-component-burn-hand
+
 - type: entity
   id: PoweredSmallLight
   suffix: ""
index 6a94891d127bc787a79bc051bc2d9d886c6d7a37..e828fe784ecf64b770b7e764439cace8e5dbf389 100644 (file)
       - ExteriorLightTube
       - LightBulb
       - LedLightBulb
+      - DimLightBulb
       - Bucket
       - DrinkMug
       - DrinkMugMetal
index a0e74fc34e2f2a524d64df52d75abced1d3438c6..7dc779978399c9eba60116c80931bd6079dfaf3a 100644 (file)
     Steel: 50
     Glass: 50
 
+- type: latheRecipe
+  id: DimLightBulb
+  result: DimLightBulb
+  category: Lights
+  completetime: 2
+  materials:
+    Steel: 50
+    Glass: 50
+
 - type: latheRecipe
   id: GlowstickRed
   result: GlowstickRed