Merge pull request #1957 from tigercat2000/tg_xeno_tweaks

Misc. -tg- xeno tweaks
This commit is contained in:
Fox-McCloud
2015-09-06 16:48:15 -04:00
2 changed files with 13 additions and 13 deletions
+6 -13
View File
@@ -191,21 +191,14 @@
qdel(src)
return
direction_loop:
for(var/dirn in cardinal)
var/turf/T = get_step(src, dirn)
if(!linked_node || get_dist(linked_node, src) > linked_node.node_range)
return
if (!istype(T) || T.density || locate(/obj/structure/alien/weeds) in T || istype(T, /turf/space))
continue
for(var/turf/T in U.GetAtmosAdjacentTurfs())
if(locate(/obj/structure/alien/weeds) in T || istype(T, /turf/space))
continue
if(!linked_node || get_dist(linked_node, src) > linked_node.node_range)
return
for(var/obj/O in T)
if(O.density)
continue direction_loop
new /obj/structure/alien/weeds(T, linked_node)
new /obj/structure/alien/weeds(T, linked_node)
/obj/structure/alien/weeds/ex_act(severity)