forked from space-wizards/space-station-14
-
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #871 from Darkmajia/uv-lights
ultraviolet lights
- Loading branch information
Showing
4 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
Resources/Prototypes/_Impstation/Entities/Objects/Power/lights.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
30 changes: 30 additions & 0 deletions
30
Resources/Prototypes/_Impstation/Entities/Structures/Lighting/base_lighting.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
- type: latheRecipe | ||
id: UvLightTube | ||
result: UvLightTube | ||
category: Lights | ||
completetime: 2 | ||
materials: | ||
Steel: 50 | ||
Glass: 50 |