Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buggy blood (but functional) #127

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 90 additions & 0 deletions modular_doppler/modular_medical/reagents/bug_blood.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
// Reagent used as blood by Insect- or Snail-people.
// Precursor chems and recipes listed here for ease of use/reference.
/datum/reagent/bug_blood
name = "Hemolymph"
description = "A blood analog found in invertebrate species. Transports oxygen by binding it to copper, as opposed to the more common iron."
taste_description = "viscous copper"
taste_mult = 5
color = "#82fac6" //rgb 130,250,198
reagent_state = LIQUID
ph = 7.4
chemical_flags = REAGENT_CAN_BE_SYNTHESIZED


/datum/chemical_reaction/bug_blood
results = list(/datum/reagent/bug_blood = 2)
required_reagents = list(/datum/reagent/imidazole = 6, /datum/reagent/copper = 2, /datum/reagent/oxygen = 1)
mix_message = "The solution thickens and turns a buggy-blue"
//fermichem
is_cold_recipe = FALSE
required_temp = 293
optimal_temp = 300
overheat_temp = 365
optimal_ph_min = 6.5
optimal_ph_max = 7.4
determin_ph_range = 1
temp_exponent_factor = 2
ph_exponent_factor = 1
thermic_constant = 1
H_ion_release = 0.1
rate_up_lim = 10
purity_min = 0
reaction_tags = REACTION_TAG_MODERATE | REACTION_TAG_UNIQUE


/datum/reagent/imidazole
name = "Imidazole"
description = "A white water-soluble organic compound."
taste_description = "mildly alkaline"
taste_mult = 2.5
color = "#FFFFFF"
ph = 14
reagent_state = SOLID


/datum/chemical_reaction/imidazole
results = list(/datum/reagent/imidazole = 0.5)
required_reagents = list(/datum/reagent/toxin/formaldehyde = 1, /datum/reagent/ammonia = 5, /datum/reagent/glyoxal = 1)
mix_message = "The solution clouds and becomes white"
//fermichem
is_cold_recipe = FALSE
required_temp = 362
optimal_temp = 420
overheat_temp = 529
optimal_ph_min = 10
optimal_ph_max = 14
determin_ph_range = 2
temp_exponent_factor = 1
ph_exponent_factor = 1.5
thermic_constant = 0.8
H_ion_release = 2
rate_up_lim = 10
purity_min = 0
reaction_tags = REACTION_TAG_CHEMICAL

/datum/reagent/glyoxal
name = "Glyoxal"
description = "A yellow organic compound."
taste_description = "acidic salt"
taste_mult = 4
color = "#FFFF00"
ph = 4.5
reagent_state = LIQUID
chemical_flags = REAGENT_CAN_BE_SYNTHESIZED

/datum/chemical_reaction/glyoxal
results = list(/datum/reagent/glyoxal = 2)
required_reagents = list(/datum/reagent/acetaldehyde = 1, /datum/reagent/toxin/acid/nitracid = 1)
required_catalysts = list(/datum/reagent/oxygen = 10)
//fermichem
is_cold_recipe = FALSE
required_temp = 270
optimal_temp = 324
overheat_temp = 558
optimal_ph_min = 3
optimal_ph_max = 8
determin_ph_range = 2
temp_exponent_factor = 1.4
thermic_constant = 50
rate_up_lim = 30
reaction_tags = REACTION_TAG_CHEMICAL
1 change: 1 addition & 0 deletions tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -6819,6 +6819,7 @@
#include "modular_doppler\modular_mapping\code\ruins\icemoon.dm"
#include "modular_doppler\modular_medical\code\carbon_update_icons.dm"
#include "modular_doppler\modular_medical\medical_designs\medical_designs.dm"
#include "modular_doppler\modular_medical\reagents\bug_blood.dm"
#include "modular_doppler\modular_medical\reagents\medicine.dm"
#include "modular_doppler\modular_medical\reagents\reagents.dm"
#include "modular_doppler\modular_medical\reagents\synth_blood.dm"
Expand Down
Loading