Skip to content

Commit

Permalink
unowns queen remote build
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob committed Jul 10, 2024
1 parent bf91da0 commit 74ec639
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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."))
Expand All @@ -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

Expand Down

0 comments on commit 74ec639

Please sign in to comment.