Files
vgstation13/code/modules/spells/construct_spells.dm
2015-08-11 03:17:10 +00:00

14 lines
490 B
Plaintext

//////////////////////////////Construct Spells/////////////////////////
proc/findNullRod(var/atom/target)
//writepanic("[__FILE__].[__LINE__] \\/proc/findNullRod() called tick#: [world.time]")
if(istype(target,/obj/item/weapon/nullrod))
var/turf/T = get_turf(target)
T.turf_animation('icons/effects/96x96.dmi',"nullding",-32,-32,MOB_LAYER+1,'sound/piano/Ab7.ogg')
return 1
else if(target.contents)
for(var/atom/A in target.contents)
if(findNullRod(A))
return 1
return 0