fix regeneration multipliers (#16561) (#16564)

* fix regeneration multipliers

* .

* .

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Selis
2024-11-04 11:29:30 +01:00
committed by GitHub
co-authored by Kashargul
parent 2b4b12633e
commit 08cf6fe045
4 changed files with 11 additions and 9 deletions
@@ -12,10 +12,12 @@
/datum/config_entry/flag/limbs_can_break
/datum/config_entry/number/organ_health_multiplier
default = 1
integer = FALSE
default = 1.0
/datum/config_entry/number/organ_regeneration_multiplier
default = 1
integer = FALSE
default = 1.0
// FIXME: Unused
///datum/config_entry/flag/revival_pod_plants
@@ -279,11 +279,10 @@ var/global/list/obj/item/communicator/all_communicators = list()
// Parameters: None
// Description: Removes the ghost's address and nulls the exonet datum, to allow qdel()ing.
/mob/observer/dead/Destroy()
. = ..()
if(exonet)
exonet.remove_address()
qdel_null(exonet)
return ..()
. = ..()
// Proc: register_device()
// Parameters: 1 (user - the person to use their name for)
+2 -1
View File
@@ -21,8 +21,9 @@
my_mob = M
/obj/screen/plane_master/augmented/Destroy()
entopic_users -= my_mob
my_mob = null
return ..()
. = ..()
/obj/screen/plane_master/augmented/set_visibility(var/want = FALSE)
. = ..()
+4 -4
View File
@@ -18,12 +18,12 @@ BONES_CAN_BREAK 1
LIMBS_CAN_BREAK 1
## multiplier which enables organs to take more damage before bones breaking or limbs being destroyed
## 100 means normal, 50 means half
ORGAN_HEALTH_MULTIPLIER 100
## 1.0 means normal, 0.5 means half
ORGAN_HEALTH_MULTIPLIER 1.0
## multiplier which influences how fast organs regenerate naturally
## 100 means normal, 50 means half
ORGAN_REGENERATION_MULTIPLIER 50
## 1.0 means normal, 0.5 means half
ORGAN_REGENERATION_MULTIPLIER 0.5
### REVIVAL ###