mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user