-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
114 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
code/modules/mob/living/carbon/xenomorph/abilities/hellhound/hellhound_abilities.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/datum/action/xeno_action/activable/pounce/gorge // charge them with your spikes | ||
|
||
name = "Gorge" | ||
action_icon_state = "headbite" | ||
action_type = XENO_ACTION_CLICK | ||
ability_primacy = XENO_PRIMARY_ACTION_1 | ||
xeno_cooldown = 5 SECONDS | ||
plasma_cost = 0 | ||
|
||
freeze_self = FALSE | ||
can_be_shield_blocked = FALSE | ||
var/gorge_damage = 30 | ||
|
||
|
||
|
||
/datum/action/xeno_action/onclick/sense_owner // tells them where the pred is | ||
|
||
name = "Find Owner" | ||
action_icon_state = "mark_hosts" | ||
action_type = XENO_ACTION_CLICK | ||
xeno_cooldown = 10 SECONDS // relatively short since we want them to be close most of the time | ||
plasma_cost = 0 | ||
xeno_cooldown = 1 SECONDS | ||
|
||
|
||
|
37 changes: 37 additions & 0 deletions
37
code/modules/mob/living/carbon/xenomorph/abilities/hellhound/hellhound_powers.dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/datum/action/xeno_action/activable/pounce/gorge/additional_effects(mob/living/target_living) | ||
|
||
|
||
var/mob/living/carbon = target_living | ||
var/mob/living/carbon/xenomorph/hellhound/hellhound_gorger = owner | ||
|
||
hellhound_gorger.visible_message(SPAN_XENODANGER("[hellhound_gorger] gorges at [carbon] with it's spikes.")) | ||
carbon.apply_armoured_damage(gorge_damage, BRUTE) | ||
playsound(hellhound_gorger, "giant_lizard_growl", 30) | ||
playsound(carbon, "alien_bite", 30) | ||
|
||
|
||
|
||
|
||
/datum/action/xeno_action/onclick/sense_owner/use_ability(atom/layer) | ||
var/mob/living/carbon/xenomorph/hellhound/xeno = owner | ||
var/datum/behavior_delegate/hellhound_base/hound_owner = xeno.behavior_delegate | ||
var/direction = -3 | ||
var/dist = get_dist(xeno, hound_owner.pred_owner) | ||
|
||
direction = Get_Compass_Dir(xeno, hound_owner.pred_owner) | ||
|
||
if(!hound_owner.pred_owner) | ||
to_chat(xeno, SPAN_XENOWARNING("You do not have an owner.")) | ||
return | ||
|
||
if(hound_owner.pred_owner.z != xeno.z) | ||
to_chat(xeno, SPAN_XENOWARNING("You do not sense your owner in this place.")) | ||
return | ||
else | ||
for(var/mob/living/carbon/viewers in orange(xeno, 5)) | ||
to_chat(viewers, SPAN_WARNING("[xeno] sniffs the ground in a hurry, what the hell..")) | ||
to_chat(xeno, SPAN_XENOWARNING("You sniff the ground in a hurry to find where your master is.")) | ||
to_chat(xeno, SPAN_XENOWARNING("Your owner is [dist] meters to the [dir2text(direction)]")) | ||
|
||
apply_cooldown() | ||
..() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.