mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Does offer a much more pleasant basis to work with in the future, if someone wishes to add more spell-like abilities.
13 lines
402 B
Plaintext
13 lines
402 B
Plaintext
//////////////////////////////Construct Spells/////////////////////////
|
|
|
|
proc/findNullRod(var/atom/target)
|
|
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
|