mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
14 lines
490 B
Plaintext
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
|