Files
Bubberstation/code/__DEFINES/electrified_buckle.dm
SkyratBot 6250754697 [MIRROR] At first i thought that i was being forced to add a feature 🤮 but then i realized i was being encouraged to refactor 😄. Electrified chair is now a component instead of a failure (#3801)
* At first i thought that i was being forced to add a feature 🤮 but then i realized i was being encouraged to refactor 😄. Electrified chair is now a component instead of a failure (#57117)

* At first i thought that i was being forced to add a feature 🤮 but then i realized i was being encouraged to refactor 😄. Electrified chair is now a component instead of a failure

Co-authored-by: Kylerace <kylerlumpkin1@gmail.com>
2021-03-03 14:19:19 +00:00

15 lines
780 B
Plaintext

///electrified_buckle requires a shock kit attached to it in order to shock
#define SHOCK_REQUIREMENT_ITEM (1<<0)
///electrified_buckle requires a live cable to work, and draws power from it
#define SHOCK_REQUIREMENT_LIVE_CABLE (1<<1)
///electrified_buckle requires to be turned on with a signal in order to shock the buckled mob
#define SHOCK_REQUIREMENT_ON_SIGNAL_RECEIVED (1<<2)
///electrified_buckle requires the parent to be alive in order to shock (if parent is a mob)
#define SHOCK_REQUIREMENT_PARENT_MOB_ISALIVE (1<<3)
///a signal can toggle the ability to shock on a timer
#define SHOCK_REQUIREMENT_SIGNAL_RECEIVED_TOGGLE (1<<4)
///This trait signifies that the object can be used to electrify things buckled to it
#define TRAIT_ELECTRIFIED_BUCKLE "electrified buckle"