Whitespace cleanup part 2. (#19891)

This commit is contained in:
warriorstar-orion
2022-12-24 12:38:43 -05:00
committed by GitHub
parent 19d759b257
commit a7d09cf033
134 changed files with 652 additions and 656 deletions
+2 -2
View File
@@ -15,8 +15,8 @@
var/parent_organ = "chest"
var/list/datum/autopsy_data/autopsy_data = list()
var/list/trace_chemicals = list() // traces of chemicals in the organ,
// links chemical IDs to number of ticks for which they'll stay in the blood
var/list/trace_chemicals = list() // traces of chemicals in the organ,
// links chemical IDs to number of ticks for which they'll stay in the blood
germ_level = 0
var/datum/dna/dna
@@ -172,7 +172,7 @@
return TRUE
/****************************************************
DAMAGE PROCS
DAMAGE PROCS
****************************************************/
/obj/item/organ/external/receive_damage(brute, burn, sharp, used_weapon = null, list/forbidden_limbs = list(), ignore_resists = FALSE, updating_health = TRUE)
@@ -347,7 +347,7 @@ This function completely restores a damaged organ to perfect condition.
START_PROCESSING(SSobj, src)
/****************************************************
PROCESSING & UPDATING
PROCESSING & UPDATING
****************************************************/
//Determines if we even need to process this organ.
@@ -482,7 +482,7 @@ Note that amputating the affected organ does in fact remove the infection from t
/****************************************************
DISMEMBERMENT
DISMEMBERMENT
****************************************************/
//Handles dismemberment
@@ -616,7 +616,7 @@ Note that amputating the affected organ does in fact remove the infection from t
I.forceMove(T)
/****************************************************
HELPERS
HELPERS
****************************************************/
/obj/item/organ/external/proc/release_restraints(mob/living/carbon/human/holder)
if(!holder)
@@ -795,8 +795,8 @@ Note that amputating the affected organ does in fact remove the infection from t
return
if(owner)
owner.visible_message("<span class='warning'>\The [owner]'s [name] turns into a mangled mess!</span>", \
"<span class='userdanger'>Your [name] becomes a mangled mess!</span>", \
"<span class='warning'>You hear a sickening sound.</span>")
"<span class='userdanger'>Your [name] becomes a mangled mess!</span>", \
"<span class='warning'>You hear a sickening sound.</span>")
status |= ORGAN_DISFIGURED
+1 -1
View File
@@ -5,7 +5,7 @@ GLOBAL_LIST_EMPTY(limb_icon_cache)
for(var/child_i in child_icons)
overlays -= child_i
child_icons.Cut()
// This is a kludge, only one icon has more than one generation of children though.
// This is a kludge, only one icon has more than one generation of children though.
for(var/obj/item/organ/external/organ in contents)
if(organ.children && organ.children.len)
for(var/obj/item/organ/external/child in organ.children)
@@ -100,7 +100,7 @@
//abstract proc called by carbon/death()
/obj/item/organ/internal/proc/on_owner_death()
return
return
/obj/item/organ/internal/proc/prepare_eat()
if(is_robotic())
+2 -2
View File
@@ -71,8 +71,8 @@ GLOBAL_DATUM(basic_robolimb, /datum/robolimb)
unavailable_at_chargen = null
is_monitor = null
selectable = 0
has_subtypes = 2 //Edge case. We want to be able to pick this one, and if we had it left as null for has_subtypes we'd be assuming it'll be chosen as a child model,
//and since the parent is unavailable at chargen, we wouldn't be able to see it in the list anyway. Now, we'll be able to select the Morpheus Ckt. Alt. head as a solo-model.
has_subtypes = 2 //Edge case. We want to be able to pick this one, and if we had it left as null for has_subtypes we'd be assuming it'll be chosen as a child model,
//and since the parent is unavailable at chargen, we wouldn't be able to see it in the list anyway. Now, we'll be able to select the Morpheus Ckt. Alt. head as a solo-model.
/datum/robolimb/wardtakahashi
company = "Ward-Takahashi"
@@ -1,5 +1,5 @@
/****************************************************
ORGAN DEFINES
ORGAN DEFINES
****************************************************/
/obj/item/organ/external/chest