mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 01:49:19 +00:00
config based
This commit is contained in:
31
code/controllers/configuration/entries/stamina_combat.dm
Normal file
31
code/controllers/configuration/entries/stamina_combat.dm
Normal file
@@ -0,0 +1,31 @@
|
||||
/datum/config_entry/number/stamina_combat
|
||||
integer = FALSE
|
||||
abstract_type = /datum/config_entry/number/stamina_combat
|
||||
|
||||
/// Maximum stamina buffer
|
||||
/datum/config_entry/number/stamina_combat/buffer_max
|
||||
config_entry_value = 75
|
||||
|
||||
/// Seconds until percent_regeneration_out_of_combat kicks in
|
||||
/datum/config_entry/number/stamina_combat/out_of_combat_timer
|
||||
config_entry_value = 5
|
||||
|
||||
/// Base regeneration per second
|
||||
/datum/config_entry/number/stamina_combat/base_regeneration
|
||||
config_entry_value = 1
|
||||
|
||||
/// Combat mode regeneration per second
|
||||
/datum/config_entry/number/stamina_combat/combat_regeneration
|
||||
config_entry_value = 5
|
||||
|
||||
/// After out_of_combat_timer elapses, additionally regenerate this percent of missing stamina per second. Unaffected by combat mode.
|
||||
/datum/config_entry/number/stamina_combat/missing_percent_regeneration_out_of_combat
|
||||
config_entry_value = 30
|
||||
|
||||
/// Seconds after an action for which your regeneration is penalized
|
||||
/datum/config_entry/number/stamina_combat/post_action_penalty_delay
|
||||
config_entry_value = 2
|
||||
|
||||
/// Factor to multiply by for penalizing post-action-stamina-regen
|
||||
/datum/config_entry/number/stamina_combat/post_action_penalty_factor
|
||||
config_entry_value = 0.25
|
||||
Reference in New Issue
Block a user