venus human traps now have thermal and x-ray vision (#51512)

* Update venus_human_trap.dm

* Update venus_human_trap.dm

* Update venus_human_trap.dm

* Update venus_human_trap.dm
This commit is contained in:
ATH1909
2020-06-10 15:22:01 +02:00
committed by GitHub
parent 36b5284bc8
commit 9c2ce4b25b
@@ -85,6 +85,8 @@
attack_sound = 'sound/weapons/bladeslice.ogg'
atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0)
unsuitable_atmos_damage = 0
/// copied over from the code from eyeballs (the mob) to make it easier for venus human traps to see in kudzu that doesn't have the transparency mutation
sight = SEE_SELF|SEE_MOBS|SEE_OBJS|SEE_TURFS
lighting_alpha = LIGHTING_PLANE_ALPHA_MOSTLY_INVISIBLE
faction = list("hostile","vines","plants")
initial_language_holder = /datum/language_holder/venus
@@ -115,7 +117,7 @@
pull_vines()
ranged_cooldown = world.time + (ranged_cooldown_time * 0.5)
return
if(get_dist(src,the_target) > vine_grab_distance || vines.len == max_vines)
if(get_dist(src,the_target) > vine_grab_distance || vines.len >= max_vines)
return
for(var/turf/T in getline(src,target))
if (T.density)