Visualizer systems update (#8203)

* optimize appearance updating for subfloor entities

* sprite event args

* a

* stop double appearance update.
This commit is contained in:
Leon Friedrich
2022-05-16 14:41:23 +10:00
committed by GitHub
parent 920b4e5689
commit 25b9e048e5
22 changed files with 135 additions and 112 deletions

View File

@@ -23,6 +23,7 @@
- !type:DoActsBehavior
acts: ["Destruction"]
- type: SubFloorHide
- type: Appearance
- type: Electrified
onHandInteract: false
onInteractUsing: false # wire-cutting handled separately.
@@ -74,10 +75,8 @@
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Appearance
visuals:
- type: CableVisualizer
base: hvcable_
- type: CableVisualizer
statePrefix: hvcable_
- type: AmbientSound
enabled: true
volume: -15
@@ -126,10 +125,8 @@
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Appearance
visuals:
- type: CableVisualizer
base: mvcable_
- type: CableVisualizer
statePrefix: mvcable_
- type: AmbientSound
enabled: true
volume: -16
@@ -181,10 +178,8 @@
max: 1
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Appearance
visuals:
- type: CableVisualizer
base: lvcable_
- type: CableVisualizer
statePrefix: lvcable_
- type: AmbientSound
enabled: true
volume: -17