Skip to content

Commit

Permalink
Converts some xeno abilities to SECONDS (#5241)
Browse files Browse the repository at this point in the history
# About the pull request

Converts xeno code  cooldown = to seconds
# Explain why it's good for the game

easier to read


# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

its readable
</details>


# Changelog

:cl:
code: Converts xenomorph cooldowns into SECONDS
/:cl:

---------

Co-authored-by: InsaneRed <[email protected]>
  • Loading branch information
Red-byte3D and InsaneRed authored Dec 21, 2023
1 parent c602958 commit 551c493
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
macro_path = /datum/action/xeno_action/verb/verb_acid_lance
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_2
xeno_cooldown = 190
xeno_cooldown = 19 SECONDS

// Config
var/stack_time = 10
Expand Down Expand Up @@ -96,7 +96,7 @@
macro_path = /datum/action/xeno_action/verb/verb_boiler_trap
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_1
xeno_cooldown = 205
xeno_cooldown = 20.5 SECONDS

/// Config
var/trap_ttl = 100
Expand All @@ -112,7 +112,7 @@
macro_path = /datum/action/xeno_action/verb/verb_acid_mine
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_2
xeno_cooldown = 55
xeno_cooldown = 5.5 SECONDS

var/empowered = FALSE

Expand All @@ -127,7 +127,7 @@
macro_path = /datum/action/xeno_action/verb/verb_acid_shotgun
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_3
xeno_cooldown = 130
xeno_cooldown = 13 SECONDS

var/ammo_type = /datum/ammo/xeno/acid_shotgun

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
macro_path = /datum/action/xeno_action/verb/verb_crusher_stomp
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_2
xeno_cooldown = 180
xeno_cooldown = 18 SECONDS
plasma_cost = 30

var/damage = 65
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
macro_path = /datum/action/xeno_action/verb/verb_headbutt
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_2
xeno_cooldown = 40
xeno_cooldown = 4 SECONDS

/datum/action/xeno_action/onclick/tail_sweep
name = "Tail Sweep"
Expand All @@ -28,7 +28,7 @@
action_type = XENO_ACTION_ACTIVATE
ability_primacy = XENO_PRIMARY_ACTION_3
plasma_cost = 10
xeno_cooldown = 110
xeno_cooldown = 11 SECONDS

/datum/action/xeno_action/activable/fortify
name = "Fortify"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
macro_path = /datum/action/xeno_action/verb/verb_pounce
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_1
xeno_cooldown = 30
xeno_cooldown = 3 SECONDS
plasma_cost = 0

// Config options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
macro_path = /datum/action/xeno_action/verb/verb_pounce
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_1
xeno_cooldown = 60
xeno_cooldown = 6 SECONDS
plasma_cost = 20

// Config options
Expand Down Expand Up @@ -70,7 +70,7 @@
macro_path = /datum/action/xeno_action/verb/verb_crippling_strike
ability_primacy = XENO_PRIMARY_ACTION_3
action_type = XENO_ACTION_ACTIVATE
xeno_cooldown = 100
xeno_cooldown = 10 SECONDS
plasma_cost = 20

var/buff_duration = 50
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
macro_path = /datum/action/xeno_action/verb/verb_dash
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_2
xeno_cooldown = 110
xeno_cooldown = 11 SECONDS
plasma_cost = 50

// Config options
Expand All @@ -51,7 +51,7 @@
macro_path = /datum/action/xeno_action/verb/verb_cleave
ability_primacy = XENO_PRIMARY_ACTION_3
action_type = XENO_ACTION_CLICK
xeno_cooldown = 120
xeno_cooldown = 12 SECONDS

// Root config
var/root_duration_unbuffed = 1 SECONDS
Expand Down Expand Up @@ -138,7 +138,7 @@
macro_path = /datum/action/xeno_action/verb/verb_oppressor_punch
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_2
xeno_cooldown = 100
xeno_cooldown = 10 SECONDS
plasma_cost = 55

// Configurables
Expand All @@ -164,7 +164,7 @@
macro_path = /datum/action/xeno_action/verb/verb_crush
ability_primacy = XENO_PRIMARY_ACTION_3
action_type = XENO_ACTION_CLICK
xeno_cooldown = 130
xeno_cooldown = 13 SECONDS
plasma_cost = 80

// Config
Expand All @@ -180,7 +180,7 @@
macro_path = /datum/action/xeno_action/verb/verb_prae_impale
ability_primacy = XENO_PRIMARY_ACTION_1
action_type = XENO_ACTION_CLICK
xeno_cooldown = 130
xeno_cooldown = 13 SECONDS
plasma_cost = 80

/datum/action/xeno_action/onclick/prae_dodge
Expand All @@ -191,7 +191,7 @@
ability_primacy = XENO_PRIMARY_ACTION_2
action_type = XENO_ACTION_CLICK
plasma_cost = 200
xeno_cooldown = 190
xeno_cooldown = 19 SECONDS

// Config
var/duration = 70
Expand All @@ -204,7 +204,7 @@
macro_path = /datum/action/xeno_action/verb/verb_prae_tail_trip
ability_primacy = XENO_PRIMARY_ACTION_3
action_type = XENO_ACTION_CLICK
xeno_cooldown = 130
xeno_cooldown = 13 SECONDS
plasma_cost = 30

// Config
Expand All @@ -224,7 +224,7 @@
macro_path = /datum/action/xeno_action/verb/verb_dash
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_2
xeno_cooldown = 100
xeno_cooldown = 10 SECONDS
plasma_cost = 40

// Config options
Expand Down Expand Up @@ -255,7 +255,7 @@
ability_primacy = XENO_PRIMARY_ACTION_4

plasma_cost = 80
xeno_cooldown = 100
xeno_cooldown = 10 SECONDS

// Configurable options
spray_type = ACID_SPRAY_LINE
Expand All @@ -270,7 +270,7 @@
/datum/action/xeno_action/activable/spray_acid/prae_warden
ability_primacy = XENO_PRIMARY_ACTION_2
plasma_cost = 130
xeno_cooldown = 130
xeno_cooldown = 13 SECONDS


// Configurable options
Expand All @@ -288,7 +288,7 @@
// todo: macro
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_3
xeno_cooldown = 100
xeno_cooldown = 10 SECONDS
plasma_cost = 100

// Config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_2
plasma_cost = 0
xeno_cooldown = 100
xeno_cooldown = 10 SECONDS

// Config
var/shard_cost = 75
Expand All @@ -150,7 +150,7 @@
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_3
plasma_cost = 0
xeno_cooldown = 300
xeno_cooldown = 30 SECONDS

// Config values
var/shard_cost = 50
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
macro_path = /datum/action/xeno_action/verb/verb_pounce
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_1
xeno_cooldown = 30
xeno_cooldown = 3 SECONDS
plasma_cost = 0

// Config options
Expand All @@ -28,7 +28,7 @@
macro_path = /datum/action/xeno_action/verb/verb_runner_bonespurs
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_2
xeno_cooldown = 110
xeno_cooldown = 11 SECONDS
plasma_cost = 0

var/ammo_type = /datum/ammo/xeno/bone_chips/spread/runner_skillshot
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
action_type = XENO_ACTION_CLICK

plasma_cost = 50
xeno_cooldown = 80
xeno_cooldown = 8 SECONDS

// Configurable options
spray_type = ACID_SPRAY_LINE // Enum for the shape of spray to do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
macro_path = /datum/action/xeno_action/verb/verb_fling
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_3
xeno_cooldown = 60
xeno_cooldown = 6 SECONDS

// Configurables
var/fling_distance = 4
Expand All @@ -22,7 +22,7 @@
macro_path = /datum/action/xeno_action/verb/verb_lunge
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_2
xeno_cooldown = 100
xeno_cooldown = 10 SECONDS

// Configurables
var/grab_range = 4
Expand All @@ -36,7 +36,7 @@
macro_path = /datum/action/xeno_action/verb/verb_punch
action_type = XENO_ACTION_CLICK
ability_primacy = XENO_PRIMARY_ACTION_1
xeno_cooldown = 45
xeno_cooldown = 4.5 SECONDS

// Configurables
var/base_damage = 25
Expand Down

0 comments on commit 551c493

Please sign in to comment.