fix more lights (#7632)

This commit is contained in:
Leon Friedrich
2022-04-19 01:23:20 +12:00
committed by GitHub
parent 224584e0d6
commit 95edd8be9f
2 changed files with 10 additions and 24 deletions

View File

@@ -12,6 +12,15 @@
netsync: false netsync: false
- type: Item - type: Item
sprite: Objects/Misc/Lights/lights.rsi sprite: Objects/Misc/Lights/lights.rsi
- type: PointLight
netsync: false
enabled: false
radius: 3
energy: 2
- type: ToggleableLightVisuals
- type: Appearance
visuals:
- type: FlashLightVisualizer # todo move to light visuals component.
- type: entity - type: entity
name: lamp name: lamp
@@ -29,13 +38,6 @@
map: [ "light" ] map: [ "light" ]
- type: Item - type: Item
sprite: Objects/Misc/Lights/lamp.rsi sprite: Objects/Misc/Lights/lamp.rsi
- type: PointLight
enabled: false
radius: 3
energy: 2
- type: Appearance
visuals:
- type: FlashLightVisualizer
- type: entity - type: entity
name: banana lamp name: banana lamp
@@ -50,13 +52,6 @@
shader: unshaded shader: unshaded
visible: false visible: false
map: [ "light" ] map: [ "light" ]
- type: PointLight
enabled: false
radius: 3
energy: 2
- type: Appearance
visuals:
- type: FlashLightVisualizer
- type: entity - type: entity
name: desk lamp name: desk lamp
@@ -74,13 +69,6 @@
map: [ "light" ] map: [ "light" ]
- type: Item - type: Item
sprite: Objects/Misc/Lights/lampgreen.rsi sprite: Objects/Misc/Lights/lampgreen.rsi
- type: PointLight
enabled: false
radius: 3
energy: 2
- type: Appearance
visuals:
- type: FlashLightVisualizer
- type: entity - type: entity
name: floodlight name: floodlight
@@ -131,9 +119,6 @@
max: 1 max: 1
- !type:DoActsBehavior - !type:DoActsBehavior
acts: [ "Destruction" ] acts: [ "Destruction" ]
- type: Appearance
visuals:
- type: FlashLightVisualizer
- type: entity - type: entity
name: broken floodlight name: broken floodlight

View File

@@ -26,6 +26,7 @@
- type: Appearance - type: Appearance
visuals: visuals:
- type: LanternVisualizer - type: LanternVisualizer
- type: ToggleableLightVisuals
- type: PowerCellSlot - type: PowerCellSlot
cellSlot: cellSlot:
startingItem: PowerCellSmallHigh startingItem: PowerCellSmallHigh