Skip to content

Commit

Permalink
Light bulb offset
Browse files Browse the repository at this point in the history
* Removed offset from light bulb sprite. What kind of problem can be with light to do this offset-crutch?
  • Loading branch information
Oberfuhrer committed Oct 27, 2024
1 parent 22aa738 commit 247550c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
- type: Sprite
sprite: Structures/Wallmounts/Lighting/light_tube.rsi
drawdepth: Overdoors
offset: 0, 1
layers:
- map: ["enum.PoweredLightLayers.Base"]
state: base
Expand All @@ -44,7 +43,7 @@
- type: RCDDeconstructable
cost: 4
delay: 2
fx: EffectRCDDeconstruct2
fx: EffectRCDDeconstruct2
- type: Destructible
thresholds:
- trigger:
Expand Down Expand Up @@ -76,7 +75,7 @@
mode: SnapgridCenter
snap:
- Wallmount

- type: entity
name: light
description: "A light fixture. Draws power and produces light when equipped with a light tube."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
sprite: _Nuclear14/Structures/Wallmounts/lightbulbcaged.rsi
state: base
drawdepth: Overdoors
offset: 0, 1 # 0.75 is better but breaks for east west placement
- type: PointLight
energy: 1.0
radius: 6
Expand All @@ -28,7 +27,6 @@
- type: Sprite
sprite: _Nuclear14/Structures/Wallmounts/lightbulbcaged.rsi
state: empty
offset: 0, 1
- type: Construction
graph: N14Lightbulb
node: bulbLight
Expand Down

0 comments on commit 247550c

Please sign in to comment.