Adds powerup system, refactors ctf pickups and powerup mine subtypes into it (#56605)

This commit is contained in:
Fikou
2021-02-04 08:46:08 +01:00
committed by GitHub
parent 47a8ea5746
commit efbb133167
14 changed files with 218 additions and 140 deletions
+1 -5
View File
@@ -170,11 +170,7 @@
var/mob/living/M = AM
M.forceMove(get_turf(LA))
to_chat(M, "<span class='reallybig redtext'>You're trapped in a deadly arena! To escape, you'll need to drag a severed head to the escape portals.</span>", confidential = TRUE)
INVOKE_ASYNC(src, .proc/do_bloodbath, M)
/obj/effect/forcefield/arena_shuttle_entrance/proc/do_bloodbath(mob/living/L)
var/obj/effect/mine/pickup/bloodbath/B = new (L)
B.mineEffect(L)
M.apply_status_effect(STATUS_EFFECT_MAYHEM)
/area/shuttle_arena
name = "arena"