From eca94f7854869495d194d0c29136e965a0ad89d8 Mon Sep 17 00:00:00 2001 From: Runa Dacino Date: Thu, 7 Sep 2023 15:24:27 +0200 Subject: [PATCH] tweak(species/chemistry): Makes zorren need copper for blood Changes iron reagent to no longer regenerate copper for zorren Changes copper reagent to regenerate blood for zorren Adds IS_ZORREN reagent_tag define and applies it to species Updates medical scanner guide to recommend using copper for zorren and skrell --- code/__defines/chemistry.dm | 3 ++- code/game/objects/items/devices/scanners/guide.dm | 2 +- .../mob/living/carbon/human/species/station/station_vr.dm | 1 + code/modules/reagents/reagents/dispenser.dm | 4 ++-- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/code/__defines/chemistry.dm b/code/__defines/chemistry.dm index 80f25e5fb87..2fd9719eb45 100644 --- a/code/__defines/chemistry.dm +++ b/code/__defines/chemistry.dm @@ -26,6 +26,7 @@ #define IS_TESHARI 7 #define IS_SLIME 8 #define IS_ZADDAT 9 +#define IS_ZORREN 10 #define CE_STABLE "stable" // Inaprovaline #define CE_ANTIBIOTIC "antibiotic" // Antibiotics @@ -57,4 +58,4 @@ var/list/cheartstopper = list("potassium_chloride") // Thi #define MAX_UNITS_PER_PILL 60 // Max amount of units in a pill #define MAX_UNITS_PER_PATCH 60 // Max amount of units in a patch #define MAX_UNITS_PER_BOTTLE 60 // Max amount of units in a bottle (it's volume) -#define MAX_CUSTOM_NAME_LEN 64 // Max length of a custom pill/condiment/whatever \ No newline at end of file +#define MAX_CUSTOM_NAME_LEN 64 // Max length of a custom pill/condiment/whatever diff --git a/code/game/objects/items/devices/scanners/guide.dm b/code/game/objects/items/devices/scanners/guide.dm index 0765deea9c5..11e49a35a33 100644 --- a/code/game/objects/items/devices/scanners/guide.dm +++ b/code/game/objects/items/devices/scanners/guide.dm @@ -86,7 +86,7 @@ if(organ) dat += "Organ damage - Give Peridaxon. Perform full body scan for targeted organ repair surgery.
" if(bloodloss) - dat += "Low blood volume - Commence blood transfusion via IV drip or provide blood-restorative chemicals (i.e. Iron)." + dat += "Low blood volume - Commence blood transfusion via IV drip or provide blood-restorative chemicals (e.g.: Copper for zorren and skrell, iron for the rest)." if(M.getToxLoss()) dat += "Toxins - Give Dylovene or Carthatoline. Vomitting is normal and helpful. Tends to be a symptom of larger issues, such as infection.
" if(M.getBruteLoss()) diff --git a/code/modules/mob/living/carbon/human/species/station/station_vr.dm b/code/modules/mob/living/carbon/human/species/station/station_vr.dm index 5039d55a7e7..84b3a61c5e5 100644 --- a/code/modules/mob/living/carbon/human/species/station/station_vr.dm +++ b/code/modules/mob/living/carbon/human/species/station/station_vr.dm @@ -201,6 +201,7 @@ flesh_color = "#AFA59E" base_color = "#333333" blood_color = "#240bc4" + reagent_tag = IS_ZORREN color_mult = 1 genders = list(MALE, FEMALE, PLURAL, NEUTER) diff --git a/code/modules/reagents/reagents/dispenser.dm b/code/modules/reagents/reagents/dispenser.dm index 5fba3ffe204..7b6f49af676 100644 --- a/code/modules/reagents/reagents/dispenser.dm +++ b/code/modules/reagents/reagents/dispenser.dm @@ -80,7 +80,7 @@ color = "#6E3B08" /datum/reagent/copper/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) - if(alien == IS_SKRELL) + if(alien == IS_SKRELL || alien == IS_ZORREN) M.add_chemical_effect(CE_BLOODRESTORE, 8 * removed) /datum/reagent/ethanol @@ -247,7 +247,7 @@ color = "#353535" /datum/reagent/iron/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) - if(alien != IS_DIONA && alien != IS_SKRELL) + if(alien != IS_DIONA && alien != IS_SKRELL && alien != IS_ZORREN) M.add_chemical_effect(CE_BLOODRESTORE, 8 * removed) /datum/reagent/lithium