Fix hard hat lights (#8265)

This commit is contained in:
themias
2022-05-18 18:00:29 -04:00
committed by GitHub
parent bcf5f3eba1
commit 6c48699da6

View File

@@ -4,7 +4,7 @@
abstract: true abstract: true
components: components:
- type: Sprite - type: Sprite
netsync: true netsync: false
layers: layers:
- state: icon - state: icon
- state: light-icon - state: light-icon
@@ -14,13 +14,29 @@
- type: Clothing - type: Clothing
HeldPrefix: off HeldPrefix: off
- type: PointLight - type: PointLight
netsync: false
enabled: false enabled: false
mask: /Textures/Effects/LightMasks/cone.png
autoRot: true
radius: 3 radius: 3
- type: Appearance - type: Appearance
visuals: visuals:
- type: FlashLightVisualizer - type: FlashLightVisualizer
- type: HandheldLight - type: HandheldLight
addPrefix: true addPrefix: false
- type: ToggleableLightVisuals
spriteLayer: light
inhandVisuals:
left:
- state: on-inhand-left
shader: unshaded
right:
- state: on-inhand-right
shader: unshaded
clothingVisuals:
head:
- state: on-equipped-HELMET
shader: unshaded
- type: PowerCellSlot - type: PowerCellSlot
cellSlot: cellSlot:
startingItem: PowerCellSmallHigh startingItem: PowerCellSmallHigh