Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates Maintenance Lights #2465

Merged
merged 2 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Resources/Migrations/deltaMigrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,3 +123,8 @@ VendingMachineAutomatrobe: null

# 2024-11-08
SuitStorageSec: SuitStorageSecDeltaV

# 2024-12-17
LightBulbMaintenanceRed: DimLightBulb
PoweredSmallLightMaintenanceRed: PoweredDimSmallLight
AlwaysPoweredSmallLightMaintenanceRed: PoweredDimSmallLight
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
contents:
- id: LightBulbMaintenance
amount: 6
- id: LightBulbMaintenanceRed
- id: DimLightBulb
amount: 6
- type: Sprite
layers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@
- id: ColoredLightTubeRed
- id: ColoredLightTubeFrostyBlue
- id: ColoredLightTubeBlackLight
- id: LightBulbMaintenanceRed
- id: DimLightBulb
- id: LightBulbBroken
- id: LightTubeBroken
- id: LedLightBulb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
PowerUse: 75
- type: Sprite
sprite: Objects/Power/light_tube.rsi
state: normal
state: normal

- type: entity
parent: BaseLightbulb
Expand All @@ -26,9 +26,13 @@
- type: LightBulb
bulb: Bulb
color: "#FFD1A3" # 4000K color temp
lightEnergy: 0.7
lightRadius: 1.5
lightSoftness: 1.1
lightEnergy: 0.05
lightRadius: 5
lightSoftness: 7
- type: Tag
tags:
- LightBulb
- Trash

# Colored

Expand All @@ -47,7 +51,7 @@
PowerUse: 25
- type: Sprite
sprite: Objects/Power/light_tube.rsi
state: normal
state: normal

- type: entity
parent: BaseLightbulb
Expand All @@ -64,8 +68,8 @@
PowerUse: 25
- type: Sprite
sprite: Objects/Power/light_tube.rsi
state: normal
state: normal

- type: entity
parent: BaseLightbulb
name: black light tube
Expand All @@ -82,17 +86,3 @@
- type: Sprite
sprite: Objects/Power/light_tube.rsi
state: normal

- type: entity
parent: BaseLightbulb
name: incandescent light bulb
suffix: Maintenance, Red
id: LightBulbMaintenanceRed
description: A dim light bulb. These emit a red hue.
components:
- type: LightBulb
bulb: Bulb
color: "#FF6666" # 4000K color temp
lightEnergy: 1.1
lightRadius: 1.5
lightSoftness: 1.1
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@
components:
- type: PoweredLight
hasLampOnSpawn: BlueLightTube
- type: PointLight
radius: 12
energy: 3
softness: 0.5
color: "#B4FCF0"
- type: DamageOnInteract
damage:
types:
Heat: 0.2
Heat: 2
popupText: powered-light-component-burn-hand

- type: entity
parent: AlwaysPoweredWallLight
Expand All @@ -31,10 +37,16 @@
components:
- type: PoweredLight
hasLampOnSpawn: LightBulbMaintenance
- type: PointLight
radius: 5
energy: 0.05
softness: 7
color: "#FFD1A3"
- type: DamageOnInteract
damage:
types:
Heat: 0.2
Heat: 2
popupText: powered-light-component-burn-hand

- type: entity
parent: SmallLight
Expand All @@ -43,9 +55,9 @@
description: "A light fixture. Draws power and produces light when equipped with a light tube."
components:
- type: PointLight
radius: 1.5
energy: 0.7
softness: 1.1
radius: 5
energy: 0.05
softness: 7
color: "#FFD1A3"

#Colored lights
Expand All @@ -58,10 +70,16 @@
components:
- type: PoweredLight
hasLampOnSpawn: ColoredLightTubeRed
- type: PointLight
radius: 10
energy: 0.9
softness: 0.5
color: "#FF6666"
- type: DamageOnInteract
damage:
types:
Heat: 0.2
Heat: 2
popupText: powered-light-component-burn-hand

- type: entity
id: AlwaysPoweredLightColoredRed
Expand All @@ -83,10 +101,16 @@
components:
- type: PoweredLight
hasLampOnSpawn: ColoredLightTubeFrostyBlue
- type: PointLight
radius: 10
energy: 0.8
softness: 1
color: "#00FFFF"
- type: DamageOnInteract
damage:
types:
Heat: 0.2
Heat: 2
popupText: powered-light-component-burn-hand

- type: entity
id: AlwaysPoweredLightColoredFrostyBlue
Expand All @@ -108,10 +132,16 @@
components:
- type: PoweredLight
hasLampOnSpawn: ColoredLightTubeBlackLight
- type: PointLight
radius: 10
energy: 1.1
softness: 1
color: "#5D0CED"
- type: DamageOnInteract
damage:
types:
Heat: 0.2
Heat: 2
popupText: powered-light-component-burn-hand

- type: entity
id: AlwaysPoweredLightColoredBlack
Expand All @@ -136,10 +166,18 @@
state: base
- type: PoweredLight
hasLampOnSpawn: ColoredLightTubeRed
- type: PointLight
enabled: true
radius: 10
energy: 0.9
softness: 1
offset: "0, -0.5"
color: "#FF6666"
- type: DamageOnInteract
damage:
types:
Heat: 2
popupText: powered-light-component-burn-hand
- type: StaticPrice
price: 75

Expand All @@ -158,28 +196,3 @@
softness: 1
offset: "0, -0.5"
color: "#FF6666"

- type: entity
parent: PoweredSmallLight
id: PoweredSmallLightMaintenanceRed
suffix: Maintenance, Red
description: "A light fixture. Draws power and produces light when equipped with a light bulb."
components:
- type: PoweredLight
hasLampOnSpawn: LightBulbMaintenanceRed
- type: DamageOnInteract
damage:
types:
Heat: 0.2

- type: entity
parent: SmallLight
id: AlwaysPoweredSmallLightMaintenanceRed
suffix: Always Powered, Maintenance, Red
description: "A light fixture. Draws power and produces light when equipped with a light tube."
components:
- type: PointLight
radius: 1.5
energy: 1.1
softness: 1.1
color: "#FF6666"
Loading