diff --git a/code/modules/reagents/chemistry/holder.dm b/code/modules/reagents/chemistry/holder.dm index baf1df7788..2efc135542 100644 --- a/code/modules/reagents/chemistry/holder.dm +++ b/code/modules/reagents/chemistry/holder.dm @@ -380,7 +380,7 @@ matching_container = 1 else - if(cached_my_atom.type == C.required_container)//if the container requires a certain type, and if it equals what it needs? + if(cached_my_atom.type == C.required_container)//if the suspected container is a container matching_container = 1 if (isliving(cached_my_atom) && !C.mob_react) //Makes it so certain chemical reactions don't occur in mobs return @@ -393,7 +393,7 @@ if(M.Uses > 0) // added a limit to slime cores -- Muskets requested this matching_other = 1 else - if(!C.required_container)//I'm not sure why this is here twice, I think if it's not a beaker? + if(!C.required_container)//I'm not sure why this is here twice, I think if it's not a beaker? Oh, cyro. matching_container = 1 if(!C.required_other) matching_other = 1 @@ -429,9 +429,10 @@ multiplier = min(multiplier, round(get_reagent_amount(B) / cached_required_reagents[B]))//a simple one over the other? (Is this for multiplying end product? Useful for toxinsludge buildup) //FermiChem - if (purity != 1)//if purity of reaction isn't 1 - multiplierProd = multiplier * purity //adjusts multiplier to be in line with purity - multiplierTox = multiplier - multiplierProd // + + //if (purity != 1)//if purity of reaction isn't 1 + // multiplierProd = multiplier * purity //adjusts multiplier to be in line with purity + // multiplierTox = multiplier - multiplierProd // for(var/B in cached_required_reagents) diff --git a/code/modules/reagents/chemistry/recipes.dm b/code/modules/reagents/chemistry/recipes.dm index 50006eef62..dba07ed875 100644 --- a/code/modules/reagents/chemistry/recipes.dm +++ b/code/modules/reagents/chemistry/recipes.dm @@ -17,6 +17,12 @@ var/mix_message = "The solution begins to bubble." //The message shown to nearby people upon mixing, if applicable var/mix_sound = 'sound/effects/bubbles.ogg' //The sound played upon mixing, if applicable + //FermiChem! + var/FermiChem = FALSE //If the chemical uses the Fermichem reaction mechanics + var/FermiExplode = FALSE //If the chemical explodes in a special way as a result of + var/ExplodeTemp = 900 //If any reaction is this hot, it explodes! + var/ImpureChem = "toxin" //What chemical is produced with an inpure reaction + /datum/chemical_reaction/proc/on_reaction(datum/reagents/holder, created_volume, specialreact) return //I recommend you set the result amount to the total volume of all components.