Add RaiseEvent action to CGL. Machines raise a MachineDeconstructedEvent.
The latter is very useful for any special machine cleanup that needs to happen when a machine is deconstructed. The former will be useful for so many things!
This commit is contained in:
@@ -81,6 +81,10 @@
|
||||
container: machine_board
|
||||
edges:
|
||||
- to: machineFrame
|
||||
completed:
|
||||
- !type:RaiseEvent
|
||||
event: !type:MachineDeconstructedEvent
|
||||
broadcast: false
|
||||
conditions:
|
||||
- !type:EntityAnchored
|
||||
- !type:WirePanel
|
||||
|
||||
Reference in New Issue
Block a user