Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Nightfall now extiguishes flares. #666

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,13 @@
addtimer(CALLBACK(src, PROC_REF(end_effects), humans), PETRIFY_DURATION)
add_cooldown()
succeed_activate()

/datum/action/ability/activable/xeno/nightfall
desc = "Shut down electrical lights for 10 seconds and extinguish flares in nearby range."

/datum/action/ability/activable/xeno/nightfall/use_ability()
. = ..()
for(var/obj/item/explosive/grenade/flare/flare in range(range, owner))
if(!flare.active)
continue
flare.turn_off()
Loading