Jabbing other people with overloaders (#20463)

Allows you to jab other people with an overloader. Adds some more
documentation to overloader code, and adjusts effect_time and effects so
that overloaders last the same amount of time but provide more messages
to the user than before.

---------

Signed-off-by: hazelrat <83198434+hazelrat@users.noreply.github.com>
Co-authored-by: Fluffy <65877598+FluffyGhoster@users.noreply.github.com>
This commit is contained in:
hazelrat
2025-02-27 13:34:23 +00:00
committed by GitHub
co-authored by Fluffy
parent 593ba25c64
commit dbc48b9792
4 changed files with 127 additions and 12 deletions
@@ -1653,10 +1653,6 @@
W.message = message
W.add_fingerprint(src)
#define INJECTION_FAIL 0
#define BASE_INJECTION_MOD 1 // x1 multiplier with no effects
#define SUIT_INJECTION_MOD 2 // x2 multiplier if target is wearing spacesuit
/mob/living/carbon/human/can_inject(var/mob/user, var/error_msg, var/target_zone, var/handle_coverage = TRUE)
. = BASE_INJECTION_MOD
@@ -1717,10 +1713,6 @@
if(. == INJECTION_FAIL)
return
#undef INJECTION_FAIL
#undef BASE_INJECTION_MOD
#undef SUIT_INJECTION_MOD
/mob/living/carbon/human/print_flavor_text(var/shrink = 1)
var/list/equipment = list(src.head,src.wear_mask,src.glasses,src.w_uniform,src.wear_suit,src.gloves,src.shoes)
var/head_exposed = 1