Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
Git-Nivrak committed Jun 28, 2024
1 parent 26c9a0b commit acd3100
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -566,3 +566,18 @@
var/mob/living/carbon/xenomorph/xeno = owner
xeno.xeno_tacmap()
return ..()

/datum/action/xeno_action/active_toggle/toggle_meson_vision
name = "Toggle Meson Vision"
action_icon_state = "project_xeno"
plasma_cost = 0
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_5

/datum/action/xeno_action/active_toggle/toggle_meson_vision/enable_toggle()
. = ..()
owner.sight |= SEE_TURFS

/datum/action/xeno_action/active_toggle/toggle_meson_vision/disable_toggle()
. = ..()
owner.sight &= ~SEE_TURFS
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,3 @@
if(hivelord_delegate.resin_walker == TRUE)
button.icon_state = "template_active"
action_active = TRUE

/datum/action/xeno_action/active_toggle/toggle_meson_vision
name = "Toggle Meson Vision"
action_icon_state = "project_xeno"
plasma_cost = 0
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_5
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,3 @@
return

xeno.recalculate_move_delay = TRUE

/datum/action/xeno_action/active_toggle/toggle_meson_vision/enable_toggle()
. = ..()
owner.sight |= SEE_TURFS

/datum/action/xeno_action/active_toggle/toggle_meson_vision/disable_toggle()
. = ..()
owner.sight &= ~SEE_TURFS
4 changes: 0 additions & 4 deletions code/modules/mob/living/carbon/xenomorph/castes/Hivelord.dm
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,10 @@
icon_xeno = 'icons/mob/xenos/hivelord.dmi'
icon_xenonid = 'icons/mob/xenonids/hivelord.dmi'


weed_food_icon = 'icons/mob/xenos/weeds_64x64.dmi'
weed_food_states = list("Hivelord_1","Hivelord_2","Hivelord_3")
weed_food_states_flipped = list("Hivelord_1","Hivelord_2","Hivelord_3")

/mob/living/carbon/xenomorph/hivelord/Initialize(mapload, mob/living/carbon/xenomorph/oldxeno, h_number)
. = ..()

/datum/behavior_delegate/hivelord_base
name = "Base Hivelord Behavior Delegate"

Expand Down

0 comments on commit acd3100

Please sign in to comment.