From: Ubaser <134914314+UbaserB@users.noreply.github.com> Date: Mon, 18 Nov 2024 06:32:07 +0000 (+1100) Subject: Dim light bulbs (#33383) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=824efd4b25b3d24b2d767dd649841e244b045483;p=space-station-14.git Dim light bulbs (#33383) add --- diff --git a/Resources/Prototypes/Entities/Objects/Power/lights.yml b/Resources/Prototypes/Entities/Objects/Power/lights.yml index e0ae055e7d..bb52000a86 100644 --- a/Resources/Prototypes/Entities/Objects/Power/lights.yml +++ b/Resources/Prototypes/Entities/Objects/Power/lights.yml @@ -150,6 +150,23 @@ - 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 diff --git a/Resources/Prototypes/Entities/Structures/Lighting/base_lighting.yml b/Resources/Prototypes/Entities/Structures/Lighting/base_lighting.yml index 99973845a9..c079975e8b 100644 --- a/Resources/Prototypes/Entities/Structures/Lighting/base_lighting.yml +++ b/Resources/Prototypes/Entities/Structures/Lighting/base_lighting.yml @@ -346,6 +346,27 @@ 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: "" diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index 6a94891d12..e828fe784e 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -150,6 +150,7 @@ - ExteriorLightTube - LightBulb - LedLightBulb + - DimLightBulb - Bucket - DrinkMug - DrinkMugMetal diff --git a/Resources/Prototypes/Recipes/Lathes/misc.yml b/Resources/Prototypes/Recipes/Lathes/misc.yml index a0e74fc34e..7dc7799783 100644 --- a/Resources/Prototypes/Recipes/Lathes/misc.yml +++ b/Resources/Prototypes/Recipes/Lathes/misc.yml @@ -52,6 +52,15 @@ 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