From f15c7f3731bd787556df0d1a83d03c623f581dc9 Mon Sep 17 00:00:00 2001 From: Darkmajia Date: Mon, 2 Dec 2024 12:50:26 +0000 Subject: [PATCH 1/2] uv lights --- .../Entities/Structures/Machines/lathe.yml | 1 + .../Entities/Objects/Power/lights.yml | 13 ++++++++ .../Structures/Lighting/base_lighting.yml | 30 +++++++++++++++++++ .../_Impstation/Recipes/Lathes/misc.yml | 8 +++++ 4 files changed, 52 insertions(+) create mode 100644 Resources/Prototypes/_Impstation/Entities/Objects/Power/lights.yml create mode 100644 Resources/Prototypes/_Impstation/Entities/Structures/Lighting/base_lighting.yml create mode 100644 Resources/Prototypes/_Impstation/Recipes/Lathes/misc.yml diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index 256c06f8fdde..fd96a060a233 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -148,6 +148,7 @@ - LedLightTube - SodiumLightTube - ExteriorLightTube + - UvLightTube - LightBulb - LedLightBulb - DimLightBulb diff --git a/Resources/Prototypes/_Impstation/Entities/Objects/Power/lights.yml b/Resources/Prototypes/_Impstation/Entities/Objects/Power/lights.yml new file mode 100644 index 000000000000..449de90d8bdd --- /dev/null +++ b/Resources/Prototypes/_Impstation/Entities/Objects/Power/lights.yml @@ -0,0 +1,13 @@ +- type: entity + parent: BaseLightTube + name: ultraviolet light tube + description: A high power high energy bulb for the depths of space. Purple. + id: UvLightTube + components: + - type: LightBulb + color: "#9E00FF" + lightEnergy: 1 + lightRadius: 15 + lightSoftness: 0.9 + BurningTemperature: 320 + PowerUse: 100 \ No newline at end of file diff --git a/Resources/Prototypes/_Impstation/Entities/Structures/Lighting/base_lighting.yml b/Resources/Prototypes/_Impstation/Entities/Structures/Lighting/base_lighting.yml new file mode 100644 index 000000000000..cfbb0132cb44 --- /dev/null +++ b/Resources/Prototypes/_Impstation/Entities/Structures/Lighting/base_lighting.yml @@ -0,0 +1,30 @@ +# UV lights +- type: entity + id: PoweredlightUV + description: "A light fixture. Draws power and produces light when equipped with a light tube." + suffix: UV + parent: Poweredlight + components: + - type: PoweredLight + hasLampOnSpawn: UvLightTube + - type: PointLight + radius: 15 + energy: 1 + softness: 0.9 + color: "#9E00FF" + - type: DamageOnInteract + damage: + types: + Heat: 1 + popupText: powered-light-component-burn-hand + +- type: entity + id: AlwaysPoweredLightUV + suffix: Always Powered, UV + parent: AlwaysPoweredWallLight + components: + - type: PointLight + radius: 10 + energy: 2.5 + softness: 0.9 + color: "#9E00FF" \ No newline at end of file diff --git a/Resources/Prototypes/_Impstation/Recipes/Lathes/misc.yml b/Resources/Prototypes/_Impstation/Recipes/Lathes/misc.yml new file mode 100644 index 000000000000..34d969451132 --- /dev/null +++ b/Resources/Prototypes/_Impstation/Recipes/Lathes/misc.yml @@ -0,0 +1,8 @@ +- type: latheRecipe + id: UvLightTube + result: UvLightTube + category: Lights + completetime: 2 + materials: + Steel: 50 + Glass: 50 \ No newline at end of file From 9282aec411a64f026b5c83fe2a95510d7944ea16 Mon Sep 17 00:00:00 2001 From: Darkmajia Date: Mon, 2 Dec 2024 13:07:53 +0000 Subject: [PATCH 2/2] trailing whitespace --- .../Prototypes/_Impstation/Entities/Objects/Power/lights.yml | 2 +- .../_Impstation/Entities/Structures/Lighting/base_lighting.yml | 2 +- Resources/Prototypes/_Impstation/Recipes/Lathes/misc.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Resources/Prototypes/_Impstation/Entities/Objects/Power/lights.yml b/Resources/Prototypes/_Impstation/Entities/Objects/Power/lights.yml index 449de90d8bdd..d4a4ce61a4e2 100644 --- a/Resources/Prototypes/_Impstation/Entities/Objects/Power/lights.yml +++ b/Resources/Prototypes/_Impstation/Entities/Objects/Power/lights.yml @@ -10,4 +10,4 @@ lightRadius: 15 lightSoftness: 0.9 BurningTemperature: 320 - PowerUse: 100 \ No newline at end of file + PowerUse: 100 diff --git a/Resources/Prototypes/_Impstation/Entities/Structures/Lighting/base_lighting.yml b/Resources/Prototypes/_Impstation/Entities/Structures/Lighting/base_lighting.yml index cfbb0132cb44..ffe45ed91701 100644 --- a/Resources/Prototypes/_Impstation/Entities/Structures/Lighting/base_lighting.yml +++ b/Resources/Prototypes/_Impstation/Entities/Structures/Lighting/base_lighting.yml @@ -27,4 +27,4 @@ radius: 10 energy: 2.5 softness: 0.9 - color: "#9E00FF" \ No newline at end of file + color: "#9E00FF" diff --git a/Resources/Prototypes/_Impstation/Recipes/Lathes/misc.yml b/Resources/Prototypes/_Impstation/Recipes/Lathes/misc.yml index 34d969451132..10bb6f54365c 100644 --- a/Resources/Prototypes/_Impstation/Recipes/Lathes/misc.yml +++ b/Resources/Prototypes/_Impstation/Recipes/Lathes/misc.yml @@ -5,4 +5,4 @@ completetime: 2 materials: Steel: 50 - Glass: 50 \ No newline at end of file + Glass: 50