Skip to content

Commit

Permalink
[NO GBP] Clears double Numbed alert (#997)
Browse files Browse the repository at this point in the history
* Clears double Numbed alert

* Update debuffs.dm
  • Loading branch information
vinylspiders authored and StealsThePRs committed Feb 17, 2024
1 parent 01ddf28 commit 7a01fc0
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions code/datums/status_effects/debuffs/debuffs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,12 @@
. = ..()
if(!.)
return
<<<<<<< HEAD

Check failure on line 281 in code/datums/status_effects/debuffs/debuffs.dm

View workflow job for this annotation

GitHub Actions / Run Linters

got '<<', expected one of: newline, '/', identifier
owner.add_traits(list(TRAIT_IMMOBILIZED, TRAIT_HANDS_BLOCKED, TRAIT_STASIS, TRAIT_NUMBED), TRAIT_STATUS_EFFECT(id)) // NOVA EDIT CHANGE - ORIGINAL: owner.add_traits(list(TRAIT_IMMOBILIZED, TRAIT_HANDS_BLOCKED, TRAIT_STASIS), TRAIT_STATUS_EFFECT(id))
owner.throw_alert("stasis numbed", /atom/movable/screen/alert/numbed) //NOVA EDIT ADDITION - STASIS APPLIES NUMBED
=======
owner.add_traits(list(TRAIT_IMMOBILIZED, TRAIT_HANDS_BLOCKED, TRAIT_STASIS, TRAIT_ANALGESIA), TRAIT_STATUS_EFFECT(id)) // NOVA EDIT CHANGE - ORIGINAL: owner.add_traits(list(TRAIT_IMMOBILIZED, TRAIT_HANDS_BLOCKED, TRAIT_STASIS), TRAIT_STATUS_EFFECT(id))
>>>>>>> 4ea70383845 ([NO GBP] Clears double Numbed alert (#997))
owner.add_filter("stasis_status_ripple", 2, list("type" = "ripple", "flags" = WAVE_BOUNDED, "radius" = 0, "size" = 2))
var/filter = owner.get_filter("stasis_status_ripple")
animate(filter, radius = 0, time = 0.2 SECONDS, size = 2, easing = JUMP_EASING, loop = -1, flags = ANIMATION_PARALLEL)
Expand All @@ -290,12 +294,18 @@

/datum/status_effect/grouped/stasis/tick(seconds_between_ticks)
update_time_of_death()
if(owner.stat >= UNCONSCIOUS) //NOVA EDIT START - STASIS KEEPS SLEEP GOING
owner.Sleeping(15 SECONDS) //NOVA EDIT END
// NOVA EDIT ADDITION START - STASIS KEEPS SLEEP GOING
if(owner.stat >= UNCONSCIOUS)
owner.Sleeping(15 SECONDS)
//NOVA EDIT ADDITION END

/datum/status_effect/grouped/stasis/on_remove()
<<<<<<< HEAD
owner.remove_traits(list(TRAIT_IMMOBILIZED, TRAIT_HANDS_BLOCKED, TRAIT_STASIS, TRAIT_NUMBED), TRAIT_STATUS_EFFECT(id)) // NOVA EDIT CHANGE - ORIGINAL: owner.remove_traits(list(TRAIT_IMMOBILIZED, TRAIT_HANDS_BLOCKED, TRAIT_STASIS), TRAIT_STATUS_EFFECT(id))
owner.clear_alert("stasis numbed") //NOVA EDIT ADDITION - STASIS APPLIED NUMBED
=======
owner.remove_traits(list(TRAIT_IMMOBILIZED, TRAIT_HANDS_BLOCKED, TRAIT_STASIS, TRAIT_ANALGESIA), TRAIT_STATUS_EFFECT(id)) // NOVA EDIT CHANGE - ORIGINAL: owner.remove_traits(list(TRAIT_IMMOBILIZED, TRAIT_HANDS_BLOCKED, TRAIT_STASIS), TRAIT_STATUS_EFFECT(id))
>>>>>>> 4ea70383845 ([NO GBP] Clears double Numbed alert (#997))
owner.remove_filter("stasis_status_ripple")
update_time_of_death()
if(iscarbon(owner))
Expand Down

0 comments on commit 7a01fc0

Please sign in to comment.