mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
[MIRROR] Adds macros to help with common set_- and adjust_timed_status_effect uses [MDB IGNORE] (#16410)
* Adds macros to help with common `set_`- and `adjust_timed_status_effect` uses * merge conflicts * modular skyrat and missed changes Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> Co-authored-by: tastyfish <crazychris32@gmail.com>
This commit is contained in:
co-authored by
MrMelbert
tastyfish
parent
d55ee2d3c3
commit
eefbd40ce6
@@ -19,7 +19,7 @@
|
||||
do_sparks(1, TRUE, src)
|
||||
else if(iscarbon(target))
|
||||
var/mob/living/carbon/C = target
|
||||
C.adjust_timed_status_effect(15 SECONDS, /datum/status_effect/confusion, 30 SECONDS) // SKYRAT EDIT ADDITION - Electrode jitteriness
|
||||
C.adjust_confusion_up_to(15 SECONDS, 30 SECONDS) // SKYRAT EDIT ADDITION - Electrode jitteriness
|
||||
C.add_mood_event("tased", /datum/mood_event/tased)
|
||||
SEND_SIGNAL(C, COMSIG_LIVING_MINOR_SHOCK)
|
||||
if(C.dna && C.dna.check_mutation(/datum/mutation/human/hulk))
|
||||
|
||||
@@ -57,6 +57,6 @@
|
||||
var/mob/living/L = target
|
||||
if(L.mob_biotypes & MOB_PLANT)
|
||||
L.show_message(span_notice("The radiation beam leaves you feeling disoriented!"))
|
||||
L.set_timed_status_effect(30 SECONDS, /datum/status_effect/dizziness, only_if_higher = TRUE)
|
||||
L.set_dizzy_if_lower(30 SECONDS)
|
||||
L.emote("flip")
|
||||
L.emote("spin")
|
||||
|
||||
Reference in New Issue
Block a user