diff --git a/code/game/objects/effects/decals/Cleanable/humans.dm b/code/game/objects/effects/decals/Cleanable/humans.dm index c5b2d5898f3..98f1387f90d 100644 --- a/code/game/objects/effects/decals/Cleanable/humans.dm +++ b/code/game/objects/effects/decals/Cleanable/humans.dm @@ -27,8 +27,8 @@ var/global/list/image/splatter_cache = list() /obj/effect/decal/cleanable/blood/replace_decal(obj/effect/decal/cleanable/blood/C) if(C.blood_DNA) blood_DNA |= C.blood_DNA.Copy() - if (bloodiness) - if (C.bloodiness < MAX_SHOE_BLOODINESS) + if(bloodiness) + if(C.bloodiness < MAX_SHOE_BLOODINESS) C.bloodiness += bloodiness return ..() diff --git a/code/game/objects/effects/decals/Cleanable/tracks.dm b/code/game/objects/effects/decals/Cleanable/tracks.dm index cca098b1a98..e7dfb8d7dd6 100644 --- a/code/game/objects/effects/decals/Cleanable/tracks.dm +++ b/code/game/objects/effects/decals/Cleanable/tracks.dm @@ -44,7 +44,7 @@ var/global/list/image/fluidtrack_cache = list() if(!S.blood_DNA) S.blood_DNA = list() S.blood_DNA |= blood_DNA.Copy() - if (!(entered_dirs & H.dir)) + if(!(entered_dirs & H.dir)) entered_dirs |= H.dir update_icon() else if(hasfeet && H.bloody_feet[blood_state] && H.feet_blood_color == basecolor)//Or feet //This will need to be changed. @@ -52,7 +52,7 @@ var/global/list/image/fluidtrack_cache = list() if(!H.feet_blood_DNA) H.feet_blood_DNA = list() H.feet_blood_DNA |= blood_DNA.Copy() - if (!(entered_dirs & H.dir)) + if(!(entered_dirs & H.dir)) entered_dirs |= H.dir update_icon() /obj/effect/decal/cleanable/blood/footprints/Uncrossed(atom/movable/O) @@ -70,7 +70,7 @@ var/global/list/image/fluidtrack_cache = list() if(!S.blood_DNA) S.blood_DNA = list() S.blood_DNA |= blood_DNA.Copy() - if (!(exited_dirs & H.dir)) + if(!(exited_dirs & H.dir)) exited_dirs |= H.dir update_icon() else if(hasfeet && H.bloody_feet[blood_state] && H.feet_blood_color == basecolor)//Or feet @@ -78,7 +78,7 @@ var/global/list/image/fluidtrack_cache = list() if(!H.feet_blood_DNA) H.feet_blood_DNA = list() H.feet_blood_DNA |= blood_DNA.Copy() - if (!(exited_dirs & H.dir)) + if(!(exited_dirs & H.dir)) exited_dirs |= H.dir update_icon() diff --git a/code/modules/mob/living/carbon/human/human_movement.dm b/code/modules/mob/living/carbon/human/human_movement.dm index b0100d0b483..c574cf3cd53 100644 --- a/code/modules/mob/living/carbon/human/human_movement.dm +++ b/code/modules/mob/living/carbon/human/human_movement.dm @@ -63,7 +63,7 @@ else //No oldFP or it's a different kind of blood S.bloody_shoes[S.blood_state] = max(0, S.bloody_shoes[S.blood_state] - BLOOD_LOSS_PER_STEP) - if (S.bloody_shoes[S.blood_state] > BLOOD_LOSS_IN_SPREAD) + if(S.bloody_shoes[S.blood_state] > BLOOD_LOSS_IN_SPREAD) createFootprintsFrom(shoes, dir, T) update_inv_shoes() else if(hasfeet) @@ -73,7 +73,7 @@ return else bloody_feet[blood_state] = max(0, bloody_feet[blood_state] - BLOOD_LOSS_PER_STEP) - if (bloody_feet[blood_state] > BLOOD_LOSS_IN_SPREAD) + if(bloody_feet[blood_state] > BLOOD_LOSS_IN_SPREAD) createFootprintsFrom(src, dir, T) update_inv_shoes() //End bloody footprints diff --git a/code/modules/surgery/organs/blood.dm b/code/modules/surgery/organs/blood.dm index 265ff31d9a1..6f1fb8fe293 100644 --- a/code/modules/surgery/organs/blood.dm +++ b/code/modules/surgery/organs/blood.dm @@ -99,11 +99,11 @@ /mob/living/carbon/proc/bleed_internal(amt) // Return 1 if we've coughed blood up, 2 if we're vomited it. if(blood_volume) blood_volume = max(blood_volume - amt, 0) - if (prob(10 * amt)) // +5% chance per internal bleeding site that we'll cough up blood on a given tick. + if(prob(10 * amt)) // +5% chance per internal bleeding site that we'll cough up blood on a given tick. custom_emote(1, "coughs up blood!") add_splatter_floor(loc, 1) return 1 - else if (amt >= 1 && prob(5 * amt)) // +2.5% chance per internal bleeding site that we'll cough up blood on a given tick. Must be bleeding internally in more than one place to have a chance at this. + else if(amt >= 1 && prob(5 * amt)) // +2.5% chance per internal bleeding site that we'll cough up blood on a given tick. Must be bleeding internally in more than one place to have a chance at this. vomit(0, 1) return 2 return 0 @@ -278,7 +278,7 @@ B = locate() in bloods if(!B) B = new(T) - if (B.bloodiness < MAX_SHOE_BLOODINESS) //add more blood, up to a limit + if(B.bloodiness < MAX_SHOE_BLOODINESS) //add more blood, up to a limit B.bloodiness += BLOOD_AMOUNT_PER_DECAL B.transfer_mob_blood_dna(src) //give blood info to the blood decal. if(temp_blood_DNA)