mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 00:23:29 +01:00
Adds Shadow demons (#19732)
* reshuffle * shared base type * moves this to the base type * the monster * event * FUCK * better sprites * refactors bloodcrawl, more nice sprites * review stuff * Apply suggestions from code review Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com> * heart of darkness * pre TM tweaks * ARGH * hopefully fixes double hits * tweaks * derp * tweaks * TEMP RUNTIME REMOVE LATER * fixes * runtime fixes * cig runtime fix * review + another runtime fix * re adds sprite * removes runtime * oop I forgor * DRUNK CODING * SPRITES Co-authored-by: Sirryan2002 <80364400+Sirryan2002@users.noreply.github.com>
This commit is contained in:
@@ -82,7 +82,7 @@
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/item/flashlight/extinguish_light()
|
||||
/obj/item/flashlight/extinguish_light(force = FALSE)
|
||||
if(on)
|
||||
on = FALSE
|
||||
update_brightness()
|
||||
@@ -283,8 +283,12 @@
|
||||
new T(loc)
|
||||
qdel(src) // return INITIALIZE_HINT_QDEL <-- Doesn't work
|
||||
|
||||
/obj/item/flashlight/flare/extinguish_light()
|
||||
visible_message("<span class='danger'>[src] dims slightly before scattering the shadows around it.</span>")
|
||||
/obj/item/flashlight/flare/extinguish_light(force = FALSE)
|
||||
if(force)
|
||||
fuel = 0
|
||||
visible_message("<span class='danger'>[src] burns up rapidly!</span>")
|
||||
else
|
||||
visible_message("<span class='danger'>[src] dims slightly before scattering the shadows around it.</span>")
|
||||
|
||||
/obj/item/flashlight/flare/torch
|
||||
name = "torch"
|
||||
@@ -321,8 +325,12 @@
|
||||
/obj/item/flashlight/slime/attack_self(mob/user)
|
||||
return //Bio-luminescence does not toggle.
|
||||
|
||||
/obj/item/flashlight/slime/extinguish_light()
|
||||
visible_message("<span class='danger'>[src] dims slightly before scattering the shadows around it.</span>")
|
||||
/obj/item/flashlight/slime/extinguish_light(force = FALSE)
|
||||
if(force)
|
||||
visible_message("<span class='danger'>[src] withers away.</span>")
|
||||
qdel(src)
|
||||
else
|
||||
visible_message("<span class='danger'>[src] dims slightly before scattering the shadows around it.</span>")
|
||||
|
||||
/obj/item/flashlight/emp
|
||||
origin_tech = "magnets=3;syndicate=1"
|
||||
|
||||
@@ -329,7 +329,7 @@
|
||||
M.emp_act(severity)
|
||||
..()
|
||||
|
||||
/obj/item/paicard/extinguish_light()
|
||||
/obj/item/paicard/extinguish_light(force = FALSE)
|
||||
if(pai)
|
||||
pai.extinguish_light()
|
||||
set_light(0)
|
||||
|
||||
Reference in New Issue
Block a user