reagent_all_process macro

This commit is contained in:
DeltaFire
2021-11-13 03:23:11 +01:00
parent 5ef08feb04
commit 8ca1015510
8 changed files with 93 additions and 92 deletions
@@ -142,7 +142,7 @@ Creating a chem with a low purity will make you permanently fall in love with so
var/creatorName
var/mob/living/creator
pH = 10
chemical_flags = REAGENT_ONMOBMERGE | REAGENT_DONOTSPLIT | REAGENT_ORGANIC_PROCESS | REAGENT_ROBOTIC_PROCESS //Procs on_mob_add when merging into a human
chemical_flags = REAGENT_ONMOBMERGE | REAGENT_DONOTSPLIT | REAGENT_ALL_PROCESS //Procs on_mob_add when merging into a human
can_synth = FALSE
value = REAGENT_VALUE_EXCEPTIONAL
@@ -336,7 +336,7 @@ IMPORTANT FACTORS TO CONSIDER WHILE BALANCING
var/startHunger
can_synth = TRUE
taste_description = "a weird chemical fleshy flavour"
chemical_flags = REAGENT_SNEAKYNAME | REAGENT_ORGANIC_PROCESS | REAGENT_ROBOTIC_PROCESS
chemical_flags = REAGENT_SNEAKYNAME | REAGENT_ALL_PROCESS
value = REAGENT_VALUE_RARE
/datum/reagent/impure/SDZF/on_mob_life(mob/living/carbon/M) //If you're bad at fermichem, turns your clone into a zombie instead.
@@ -9,7 +9,7 @@
impure_chem = /datum/reagent/impure/fermiTox // What chemical is metabolised with an inpure reaction
inverse_chem_val = 0.25 // If the impurity is below 0.5, replace ALL of the chem with inverse_chemupon metabolising
inverse_chem = /datum/reagent/impure/fermiTox
chemical_flags = REAGENT_ORGANIC_PROCESS | REAGENT_ROBOTIC_PROCESS //Lets just default to robots being able to process these funky chems.
chemical_flags = REAGENT_ALL_PROCESS //Lets just default to robots being able to process these funky chems.
//This should process fermichems to find out how pure they are and what effect to do.
@@ -37,7 +37,7 @@
taste_description = "like jerky, whiskey and an off aftertaste of a crypt."
metabolization_rate = 0.2
overdose_threshold = 25
chemical_flags = REAGENT_DONOTSPLIT | REAGENT_ORGANIC_PROCESS | REAGENT_ROBOTIC_PROCESS
chemical_flags = REAGENT_DONOTSPLIT | REAGENT_ALL_PROCESS
pH = 4
can_synth = TRUE
@@ -85,7 +85,7 @@
metabolization_rate = 0.5 * REAGENTS_METABOLISM
inverse_chem_val = 0
var/obj/item/organ/tongue/nT
chemical_flags = REAGENT_DONOTSPLIT | REAGENT_ORGANIC_PROCESS | REAGENT_ROBOTIC_PROCESS
chemical_flags = REAGENT_DONOTSPLIT | REAGENT_ALL_PROCESS
pH = 5
var/obj/item/organ/tongue/T
can_synth = TRUE
@@ -241,7 +241,7 @@
name = "Electromagnetic crystals"
description = "Causes items upon the patient to sometimes short out, as well as causing a shock in the patient, if the residual charge between the crystals builds up to sufficient quantities"
metabolization_rate = 0.5
chemical_flags = REAGENT_INVISIBLE | REAGENT_ORGANIC_PROCESS | REAGENT_ROBOTIC_PROCESS
chemical_flags = REAGENT_INVISIBLE | REAGENT_ALL_PROCESS
//Increases shock events.
/datum/reagent/fermi/nanite_b_goneTox/on_mob_life(mob/living/carbon/C)//Damages the taker if their purity is low. Extended use of impure chemicals will make the original die. (thus can't be spammed unless you've very good)
@@ -304,7 +304,7 @@
/datum/reagent/fermi/fermiTest
name = "Fermis Test Reagent"
description = "You should be really careful with this...! Also, how did you get this?"
chemical_flags = REAGENT_FORCEONNEW | REAGENT_ORGANIC_PROCESS | REAGENT_ROBOTIC_PROCESS
chemical_flags = REAGENT_FORCEONNEW | REAGENT_ALL_PROCESS
can_synth = FALSE
/datum/reagent/fermi/fermiTest/on_new(datum/reagents/holder)
@@ -339,7 +339,7 @@
description = "This reagent will consume itself and move the pH of a beaker towards acidity when added to another."
color = "#fbc314"
pH = 0
chemical_flags = REAGENT_FORCEONNEW | REAGENT_ORGANIC_PROCESS | REAGENT_ROBOTIC_PROCESS
chemical_flags = REAGENT_FORCEONNEW | REAGENT_ALL_PROCESS
can_synth = TRUE
var/strength = 1.5
@@ -377,7 +377,7 @@
description = "This reagent will consume itself and move the pH of a beaker towards alkalinity when added to another."
color = "#3853a4"
pH = 14
chemical_flags = REAGENT_FORCEONNEW | REAGENT_ORGANIC_PROCESS | REAGENT_ROBOTIC_PROCESS
chemical_flags = REAGENT_FORCEONNEW | REAGENT_ALL_PROCESS
can_synth = TRUE
var/strength = 1.5