Added a sprite for Telekinetic Field (#42279)

* :(

* ye

* okay we done?
This commit is contained in:
Kierany9
2019-01-09 11:07:30 -05:00
committed by Jordan Brown
parent 83f3a189e4
commit 131f348682
2 changed files with 17 additions and 3 deletions
+17 -3
View File
@@ -646,18 +646,32 @@
range = -1
include_user = 1
wall_type = /obj/effect/forcefield/wizard/hive
var/wall_type_b = /obj/effect/forcefield/wizard/hive/invis
/obj/effect/proc_holder/spell/targeted/forcewall/hive/cast(list/targets,mob/user = usr)
new wall_type(get_turf(user),user)
for(var/dir in GLOB.alldirs)
new wall_type(get_step(user, dir),user)
new wall_type_b(get_step(user, dir),user)
/obj/effect/forcefield/wizard/hive
name = "Telekinetic Field"
desc = "A psychic barrier, usable by only the strongest of minds."
desc = "You think, therefore it is."
timeleft = 150
pixel_x = -32 //Centres the 96x96 sprite
pixel_y = -32
icon = 'icons/effects/96x96.dmi'
icon_state = "hive_shield"
layer = ABOVE_ALL_MOB_LAYER
mouse_opacity = MOUSE_OPACITY_TRANSPARENT
/obj/effect/forcefield/wizard/hive/CanPass(atom/movable/mover, turf/target)
if(mover == wizard)
return TRUE
return FALSE
return FALSE
/obj/effect/forcefield/wizard/hive/invis
icon = null
icon_state = null
pixel_x = 0
pixel_y = 0
invisibility = INVISIBILITY_MAXIMUM