mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-25 01:31:58 +00:00
* Adds the check components * Adds in trailing newlines * Converts all CRLF to LF * Post merge EOF * Post merge line endings * Final commit
42 lines
890 B
Plaintext
42 lines
890 B
Plaintext
/obj/effect/forcefield
|
|
desc = "A space wizard's magic wall."
|
|
name = "FORCEWALL"
|
|
icon = 'icons/effects/effects.dmi'
|
|
icon_state = "m_shield"
|
|
anchored = 1
|
|
opacity = 0
|
|
density = 1
|
|
var/lifetime = 30 SECONDS
|
|
|
|
/obj/effect/forcefield/New()
|
|
..()
|
|
if(lifetime)
|
|
QDEL_IN(src, lifetime)
|
|
|
|
/obj/effect/forcefield/CanAtmosPass(turf/T)
|
|
return !density
|
|
|
|
/obj/effect/forcefield/wizard
|
|
var/mob/wizard
|
|
|
|
/obj/effect/forcefield/wizard/Initialize(mapload, mob/summoner)
|
|
. = ..()
|
|
wizard = summoner
|
|
|
|
/obj/effect/forcefield/wizard/CanPass(atom/movable/mover, turf/target)
|
|
if(mover == wizard)
|
|
return TRUE
|
|
return FALSE
|
|
|
|
///////////Mimewalls///////////
|
|
|
|
/obj/effect/forcefield/mime
|
|
icon_state = "empty"
|
|
name = "invisible wall"
|
|
desc = "You have a bad feeling about this."
|
|
|
|
/obj/effect/forcefield/mime/advanced
|
|
name = "invisible blockade"
|
|
desc = "You might be here a while."
|
|
lifetime = 60 SECONDS
|