From bf25fa91839c24c496c97158ed658c8287dc6aa2 Mon Sep 17 00:00:00 2001 From: MrMelbert Date: Tue, 3 Dec 2024 13:27:19 -0600 Subject: [PATCH] Better --- .../objects/effects/decals/cleanable/humans.dm | 2 +- .../code/modules/mob/living/blood.dm | 17 +++++++++++------ .../carbon/human/species_types/silverscale.dm | 2 +- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/code/game/objects/effects/decals/cleanable/humans.dm b/code/game/objects/effects/decals/cleanable/humans.dm index 77df9f98fb8c..1375c8400e60 100644 --- a/code/game/objects/effects/decals/cleanable/humans.dm +++ b/code/game/objects/effects/decals/cleanable/humans.dm @@ -83,7 +83,7 @@ clamp(starting_color_rgb[1] - red_offset, 0, 255), clamp(starting_color_rgb[2] - green_offset, 0, 255), clamp(starting_color_rgb[3] - blue_offset, 0, 255), - length(starting_color_rgb) >= 4 ? starting_color_rgb[4] : 255, // maintain alpha! (if it has it) + length(starting_color_rgb) >= 4 ? starting_color_rgb[4] : alpha, // maintain alpha! (if it has it) ) // if it's dried (or about to dry) we can just set color directly if(dried || drying_progress >= drying_time) diff --git a/maplestation_modules/code/modules/mob/living/blood.dm b/maplestation_modules/code/modules/mob/living/blood.dm index 87278eb81250..cef4c18ad402 100644 --- a/maplestation_modules/code/modules/mob/living/blood.dm +++ b/maplestation_modules/code/modules/mob/living/blood.dm @@ -279,16 +279,21 @@ PROCESSING_SUBSYSTEM_DEF(blood_drying) /datum/blood_type/crew/lizard name = "L" color = "#047200" // Some species of lizards have mutated green blood due to biliverdin build up - compatible_types = list(/datum/blood_type/crew/lizard/silver) + compatible_types = list(/datum/blood_type/silver/lizard) -/datum/blood_type/crew/lizard/silver - color = "#ffffff9c" - compatible_types = list(/datum/blood_type/crew/lizard) +/datum/blood_type/silver + name = "Ag" + color = "#c9c9c99c" + reagent_type = /datum/reagent/silver -/datum/blood_type/crew/lizard/silver/set_up_blood(obj/effect/decal/cleanable/blood/blood, new_splat) - blood.add_filter("silver_glint", 3, list("type" = "outline", "color" = "#c9c9c99c", "size" = 1.5)) +/datum/blood_type/silver/set_up_blood(obj/effect/decal/cleanable/blood/blood, new_splat) + blood.can_dry = FALSE blood.emissive_alpha = max(blood.emissive_alpha, new_splat ? 125 : 63) +/datum/blood_type/silver/lizard + name = "sL" + compatible_types = list(/datum/blood_type/crew/lizard) + /datum/blood_type/crew/skrell name = "S" color = "#009696" // Did you know octopi have blue blood, as it contains hemocyanin rather than hemoglobin? It binds to copper instead of Iron diff --git a/maplestation_modules/code/modules/mob/living/carbon/human/species_types/silverscale.dm b/maplestation_modules/code/modules/mob/living/carbon/human/species_types/silverscale.dm index a8d40a4fc539..16bb77f22cfe 100644 --- a/maplestation_modules/code/modules/mob/living/carbon/human/species_types/silverscale.dm +++ b/maplestation_modules/code/modules/mob/living/carbon/human/species_types/silverscale.dm @@ -82,7 +82,7 @@ he_who_was_blessed_with_silver.add_filter("silver_glint", 2, list("type" = "outline", "color" = "#ffffff63", "size" = 2)) he_who_was_blessed_with_silver.physiology?.damage_resistance += 10 - he_who_was_blessed_with_silver.dna.species.exotic_bloodtype = /datum/blood_type/crew/lizard/silver + he_who_was_blessed_with_silver.dna.species.exotic_bloodtype = /datum/blood_type/silver/lizard organ_owner.update_body(TRUE) /obj/item/organ/internal/tongue/lizard/silver/on_mob_remove(mob/living/carbon/organ_owner, special)