Skip to content

Commit

Permalink
keybindings (Cosmic-Overlord#341)
Browse files Browse the repository at this point in the history
  • Loading branch information
Helg2 authored Jan 13, 2024
1 parent 45fe8a1 commit abb4a21
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions code/__DEFINES/~RUtgmc_defines/dsc/signals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

#define COMSIG_XENOABILITY_CHIMERA_PHANTOM "xenoability_chimera_phantom"
#define COMSIG_XENOABILITY_CHIMERA_ABDUCTION "xenoability_chimera_abduction"
#define COMSIG_XENOABILITY_CHIMERA_BLINK "xenoability_chimera_blink"
#define COMSIG_XENOABILITY_CHIMERA_WARP_BLAST "xenoability_chimera_warp_blast"
#define COMSIG_XENOABILITY_CHIMERA_BODYSWAP "xenoability_chimera_bodyswap"
#define COMSIG_XENOABILITY_CHIMERA_CRIPPLING_STRIKE "xenoability_chimera_crippling_strike"
11 changes: 11 additions & 0 deletions modular_RUtgmc/code/datums/keybinding/xeno.dm
Original file line number Diff line number Diff line change
Expand Up @@ -80,24 +80,35 @@
full_name = "Chimera: Phantom"
description = "Create a physical clone and hide in shadows."
keybind_signal = COMSIG_XENOABILITY_CHIMERA_PHANTOM
hotkey_keys = list("R")

/datum/keybinding/xeno/abduction
name = "abduction"
full_name = "Chimera: Abduction"
description = "Abduct the prey."
keybind_signal = COMSIG_XENOABILITY_CHIMERA_ABDUCTION
hotkey_keys = list("Q")

/datum/keybinding/xeno/chimera_blink
name = "chimera_blink"
full_name = "Chimera: Blink"
description = "Teleport to a space a short distance away within line of sight. Can teleport mobs you're dragging with you at the cost of higher cooldown."
keybind_signal = COMSIG_XENOABILITY_CHIMERA_BLINK
hotkey_keys = list("E")

/datum/keybinding/xeno/warp_blast
name = "warp_blast"
full_name = "Chimera: Warp Blast"
description = "Create a pure force explosion that damages and knockbacks targets around."
keybind_signal = COMSIG_XENOABILITY_CHIMERA_WARP_BLAST
hotkey_keys = list("F")

/datum/keybinding/xeno/bodyswap
name = "bodyswap"
full_name = "Chimera: Bodyswap"
description = "Swap places with another alien."
keybind_signal = COMSIG_XENOABILITY_CHIMERA_BODYSWAP
hotkey_keys = list("X")

/datum/keybinding/xeno/crippling_strike
name = "crippling_strike"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
/datum/action/ability/activable/xeno/blink/chimera
cooldown_duration = 3 SECONDS
ability_cost = 50
keybinding_signals = list(
KEYBINDING_NORMAL = COMSIG_XENOABILITY_CHIMERA_BLINK,
)

/datum/action/ability/xeno_action/phantom
name = "Phantom"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
// ***************************************
/datum/action/ability/activable/xeno/inject_egg_neurogas
ability_cost = 80

keybind_flags = null

0 comments on commit abb4a21

Please sign in to comment.