Converted Conveyor and TwoWayLever Visualizers to ECS format (#10028)
Co-authored-by: Nemanja <98561806+EmoGarbage404@users.noreply.github.com>
This commit is contained in:
@@ -92,16 +92,20 @@
|
||||
- type: Sprite
|
||||
netsync: false
|
||||
sprite: Structures/conveyor.rsi
|
||||
state: switch-off
|
||||
layers:
|
||||
- state: switch-off
|
||||
map: ["enabled", "enum.TwoWayLeverState.Middle"]
|
||||
- type: TwoWayLever
|
||||
- type: UseDelay
|
||||
delay: 0.2 # prevent light-toggling auto-clickers.
|
||||
- type: Appearance
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
- type: TwoWayLeverVisualizer
|
||||
state_forward: switch-fwd
|
||||
state_off: switch-off
|
||||
state_reversed: switch-rev
|
||||
enum.TwoWayLeverVisuals.State:
|
||||
enabled:
|
||||
Right: { state: switch-fwd }
|
||||
Middle: { state: switch-off }
|
||||
Left: { state: switch-rev }
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
- type: entity
|
||||
- type: entity
|
||||
id: ConveyorBelt
|
||||
name: conveyor belt
|
||||
description: A conveyor belt, commonly used to transport large numbers of items elsewhere quite quickly.
|
||||
@@ -20,11 +20,13 @@
|
||||
- type: ExtensionCableReceiver
|
||||
- type: Conveyor
|
||||
- type: Appearance
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
- type: ConveyorVisualizer
|
||||
state_running: conveyor_started_cw
|
||||
state_stopped: conveyor_stopped_cw
|
||||
state_reversed: conveyor_started_cw_r
|
||||
enum.ConveyorVisuals.State:
|
||||
enum.ConveyorState.Off:
|
||||
Off: { state: conveyor_stopped_cw }
|
||||
Forward: { state: conveyor_started_cw }
|
||||
Reverse: { state: conveyor_started_cw_r }
|
||||
- type: Construction
|
||||
graph: ConveyorGraph
|
||||
node: entity
|
||||
|
||||
Reference in New Issue
Block a user