mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 07:46:20 +00:00
## About The Pull Request https://github.com/tgstation/tgstation/pull/90293  Handcuffed people can be buckled to the tram rails. If the tram hits them then they will die badly. If they're not shockproof and are buckled to a powered rail, it will zap them repeatedly for a little bit of damage (but not a lot because you probably want them to die from something else). Unbuckling someone from a powered rail is also pretty dangerous. While doing this I fucked around a bit with how the "is the tram deadly" calculation worked because I didn't like how a deadly tram cuts your head off but does literally no other damage. Now it pulverises and beheads you. ## Why It's Good For The Game  --------- Co-authored-by: tgstation-ci[bot] <179393467+tgstation-ci[bot]@users.noreply.github.com>
17 lines
917 B
Plaintext
17 lines
917 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)
|
|
///electrified buckle requires the area to be powered but not necessarily connected by cable
|
|
#define SHOCK_REQUIREMENT_AREA_POWER (1<<5)
|
|
|
|
|
|
///This trait signifies that the object can be used to electrify things buckled to it
|
|
#define TRAIT_ELECTRIFIED_BUCKLE "electrified buckle"
|