Alien Tweaks, Commented Out Detomatix

This commit is contained in:
SamCroswell
2014-07-30 00:53:56 -04:00
parent bcbfb9d895
commit 94dbad82a4
4 changed files with 12 additions and 7 deletions
+6 -5
View File
@@ -218,11 +218,11 @@
if(istype(loc, /turf/space))
qdel(src)
return
linked_node = N
if(linked_node)
linked_node.connected_weeds.Add(src)
if(icon_state == "weeds")icon_state = pick("weeds", "weeds1", "weeds2")
spawn(rand(150, 200))
if(src)
@@ -248,13 +248,13 @@ Alien plants should do something if theres a lot of poison
if (istype(U, /turf/space))
del(src)
return
if(!linked_node || (get_dist(linked_node, src) > linked_node.node_range) )
return
direction_loop:
for(var/dirn in cardinal)
var/turf/T = get_step(src, dirn)
if (!istype(T) || T.density || locate(/obj/effect/alien/weeds) in T || istype(T.loc, /area/arrival) || istype(T, /turf/space))
@@ -461,6 +461,7 @@ Alien plants should do something if theres a lot of poison
if(kill && istype(child))
child.death()
else
child.cancel_camera()
for(var/mob/M in range(1,src))
if(CanHug(M))
child.Attach(M)