mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
Removes useless status effect path defines. (#64490)
This commit is contained in:
@@ -42,8 +42,8 @@
|
||||
to_chat(target, span_userdanger("[shooter] aims [weapon] point blank at you!"))
|
||||
add_memory_in_range(target, 7, MEMORY_GUNPOINT, list(DETAIL_PROTAGONIST = target, DETAIL_DEUTERAGONIST = shooter, DETAIL_WHAT_BY = weapon), story_value = STORY_VALUE_OKAY, memory_flags = MEMORY_CHECK_BLINDNESS)
|
||||
|
||||
shooter.apply_status_effect(STATUS_EFFECT_HOLDUP, shooter)
|
||||
target.apply_status_effect(STATUS_EFFECT_HELDUP, shooter)
|
||||
shooter.apply_status_effect(/datum/status_effect/holdup, shooter)
|
||||
target.apply_status_effect(/datum/status_effect/grouped/heldup, shooter)
|
||||
|
||||
if(istype(weapon, /obj/item/gun/ballistic/rocketlauncher) && weapon.chambered)
|
||||
if(target.stat == CONSCIOUS && IS_NUKE_OP(shooter) && !IS_NUKE_OP(target) && (locate(/obj/item/disk/nuclear) in target.get_contents()) && shooter.client)
|
||||
@@ -57,8 +57,8 @@
|
||||
|
||||
/datum/component/gunpoint/Destroy(force, silent)
|
||||
var/mob/living/shooter = parent
|
||||
shooter.remove_status_effect(STATUS_EFFECT_HOLDUP)
|
||||
target.remove_status_effect(STATUS_EFFECT_HELDUP, shooter)
|
||||
shooter.remove_status_effect(/datum/status_effect/holdup)
|
||||
target.remove_status_effect(/datum/status_effect/grouped/heldup, shooter)
|
||||
SEND_SIGNAL(target, COMSIG_CLEAR_MOOD_EVENT, "gunpoint")
|
||||
return ..()
|
||||
|
||||
@@ -124,8 +124,8 @@
|
||||
|
||||
/datum/component/gunpoint/proc/async_trigger_reaction()
|
||||
var/mob/living/shooter = parent
|
||||
shooter.remove_status_effect(STATUS_EFFECT_HOLDUP) // try doing these before the trigger gets pulled since the target (or shooter even) may not exist after pulling the trigger, dig?
|
||||
target.remove_status_effect(STATUS_EFFECT_HELDUP, shooter)
|
||||
shooter.remove_status_effect(/datum/status_effect/holdup) // try doing these before the trigger gets pulled since the target (or shooter even) may not exist after pulling the trigger, dig?
|
||||
target.remove_status_effect(/datum/status_effect/grouped/heldup, shooter)
|
||||
SEND_SIGNAL(target, COMSIG_CLEAR_MOOD_EVENT, "gunpoint")
|
||||
|
||||
if(point_of_no_return)
|
||||
|
||||
@@ -65,7 +65,7 @@
|
||||
if(istype(turf_content, /obj/machinery/door/airlock))
|
||||
to_chat(living_guy, span_warning("A malevolent force launches your body to the floor..."))
|
||||
var/obj/machinery/door/airlock/darth_airlock = turf_content
|
||||
living_guy.apply_status_effect(STATUS_EFFECT_PARALYZED, 10)
|
||||
living_guy.apply_status_effect(/datum/status_effect/incapacitating/paralyzed, 10)
|
||||
INVOKE_ASYNC(darth_airlock, /obj/machinery/door/airlock.proc/close, TRUE)
|
||||
if(!permanent)
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user