From d98e5c7c22f583d406629eb35047031ccf5aa32f Mon Sep 17 00:00:00 2001 From: harryob <55142896+harryob@users.noreply.github.com> Date: Tue, 16 Jul 2024 15:20:14 +0100 Subject: [PATCH] unowns queen remote build (#6677) :cl: fix: queens can remote build again /:cl: --- .../xenomorph/strains/castes/hivelord/resin_whisperer.dm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/code/modules/mob/living/carbon/xenomorph/strains/castes/hivelord/resin_whisperer.dm b/code/modules/mob/living/carbon/xenomorph/strains/castes/hivelord/resin_whisperer.dm index 747463eb5ee5..89737f9ff595 100644 --- a/code/modules/mob/living/carbon/xenomorph/strains/castes/hivelord/resin_whisperer.dm +++ b/code/modules/mob/living/carbon/xenomorph/strains/castes/hivelord/resin_whisperer.dm @@ -43,19 +43,20 @@ name = "Coerce Resin (100)" action_icon_state = "secrete_resin" ability_name = "coerce resin" - var/last_use = 0 xeno_cooldown = 1 SECONDS thick = FALSE make_message = FALSE no_cooldown_msg = TRUE - var/care_about_adjacency = TRUE build_speed_mod = 2 // the actual building part takes twice as long macro_path = /datum/action/xeno_action/verb/verb_coerce_resin action_type = XENO_ACTION_CLICK + var/last_use = 0 + var/care_about_adjacency = TRUE + /datum/action/xeno_action/activable/secrete_resin/remote/use_ability(atom/target_atom, mods) if(!can_remote_build()) to_chat(owner, SPAN_XENONOTICE("We must be standing on weeds to establish a connection to the resin.")) @@ -70,8 +71,8 @@ var/turf/target_turf = get_turf(target_atom) if(!target_turf) return - - if(!(target_turf in view(10, owner))) + + if(care_about_adjacency && !(target_turf in view(10, owner))) to_chat(owner, SPAN_XENONOTICE("We must have a direct line of sight!")) return