Skip to content

Commit

Permalink
tail fountain
Browse files Browse the repository at this point in the history
  • Loading branch information
InsaneRed committed Nov 25, 2024
1 parent 9073ea0 commit 876ed9d
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,16 @@
activation_delay = TRUE
activation_delay_length = 5

///////////////////////// VALKYR PRAE
///////////////////////// VALKYRIE PRAE

/datum/action/xeno_action/activable/tail_stab/tail_fountain //no verbmacrohotkey, its just tail stab.
name = "Tail Fountain"
action_icon_state = "tail_seize"
action_type = XENO_ACTION_CLICK
charge_time = 0.5 SECONDS
xeno_cooldown = 20 SECONDS
ability_primacy = XENO_TAIL_STAB

/datum/action/xeno_action/activable/valkyrie_rage
name = "Tantrum"
action_icon_state = "warden_heal"
Expand Down Expand Up @@ -297,5 +306,5 @@

// ranges and windup duration, this part of the ability is heavily experimental and will be touched after if it makes to testing
var/low_rage_range = 3
var/high_rage_range = 7
var/high_rage_range = 5
var/rejuvenate_cost = 75
Original file line number Diff line number Diff line change
Expand Up @@ -935,3 +935,23 @@
apply_cooldown()
return ..()


/datum/action/xeno_action/activable/tail_stab/tail_fountain/use_ability(atom/atom)
var/mob/living/carbon/xenomorph/extuingisher_tail = owner
var/mob/living/carbon/xenomorph/target = atom


if (!action_cooldown_check())
return

if (!extuingisher_tail.check_state())
return

if (!check_and_use_plasma_owner())
return FALSE

playsound(extuingisher_tail, 'sound/effects/splat.ogg', 40, FALSE)
target.ExtinguishMob() // This can both help your allies, or help caps that are on fire.
apply_cooldown()
xeno_attack_delay(extuingisher_tail)
return ..()
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
icon_state_prefix = "Warden"

actions_to_remove = list(
/datum/action/xeno_action/activable/tail_stab,
/datum/action/xeno_action/activable/xeno_spit,
/datum/action/xeno_action/activable/pounce/base_prae_dash,
/datum/action/xeno_action/activable/prae_acid_ball,
/datum/action/xeno_action/activable/spray_acid/base_prae_spray_acid,
/datum/action/xeno_action/onclick/tacmap,
)
actions_to_add = list(
/datum/action/xeno_action/activable/tail_stab/tail_fountain,
/datum/action/xeno_action/onclick/emit_pheromones,
/datum/action/xeno_action/activable/valkyrie_rage,
/datum/action/xeno_action/activable/high_gallop,
Expand Down

0 comments on commit 876ed9d

Please sign in to comment.