mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-26 10:12:17 +00:00
* effects * removed anchored = TRUE from objects that inherit that property within the effects folder and subfolders
41 lines
883 B
Plaintext
41 lines
883 B
Plaintext
/obj/effect/forcefield
|
|
desc = "A space wizard's magic wall."
|
|
name = "FORCEWALL"
|
|
icon = 'icons/effects/effects.dmi'
|
|
icon_state = "m_shield"
|
|
opacity = FALSE
|
|
density = TRUE
|
|
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
|