mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 05:30:05 +01:00
Added a sprite for Telekinetic Field (#42279)
* :( * ye * okay we done?
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user