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
components:
- type: Sprite
netsync: true
netsync: false
layers:
- state: icon
- state: light-icon
@@ -14,13 +14,29 @@
- type: Clothing
HeldPrefix: off
- type: PointLight
netsync: false
enabled: false
mask: /Textures/Effects/LightMasks/cone.png
autoRot: true
radius: 3
- type: Appearance
visuals:
- type: FlashLightVisualizer
- 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
cellSlot:
startingItem: PowerCellSmallHigh