Toggle - apace100/origins-fabric GitHub Wiki
Power Type. Defines a power which can be toggled on and off with the active power key. Can be used by coders with a PowerTypeReference
to provide functionality, or by other powers with a Power Active condition.
Type ID: origins:toggle
Fields:
active_by_default
, boolean, default = true: Whether this power starts in the on or off state.
key
, Key, default = "primary": Which active key this power should respond to.