diff --git a/code/modules/atmospherics/gasmixtures/reactions.dm b/code/modules/atmospherics/gasmixtures/reactions.dm index c3be9aca027..4db11264de0 100644 --- a/code/modules/atmospherics/gasmixtures/reactions.dm +++ b/code/modules/atmospherics/gasmixtures/reactions.dm @@ -26,7 +26,8 @@ halon_formation = 15 sivana_formation = 16 raynar_crystal_production = 17 roinneil_crystal_production = 18 -cymar crystal_production = 19 +cymar_crystal_production = 19 +roinneil_response = 20 nobiliumsuppression = INFINITY */ diff --git a/code/modules/reagents/chemistry/reagents/other_reagents.dm b/code/modules/reagents/chemistry/reagents/other_reagents.dm index 88b875707a9..c3bc943fa19 100644 --- a/code/modules/reagents/chemistry/reagents/other_reagents.dm +++ b/code/modules/reagents/chemistry/reagents/other_reagents.dm @@ -1350,6 +1350,23 @@ if(isplasmaman(L)) REMOVE_TRAIT(L, TRAIT_NOFIRE, type) return ..() + +/datum/reagent/raynar + name = "Raynar" + description = "A Powerful sleeping agent with healing properties" + reagent_state = GAS + metabolization_rate = REAGENTS_METABOLISM * 0.5 + color = "90560B" + taste_description = "rubbery" + +/datum/reagent/raynar/on_mob_metabolize(mob/living/L) + . = ..() + ADD_TRAIT(L, TRAIT_KNOCKEDOUT, type) + +/datum/reagent/raynar/on_mob_end_metabolize(mob/living/L) + REMOVE_TRAIT(L, TRAIT_KNOCKEDOUT, type) + return ..() + /////////////////////////Colorful Powder//////////////////////////// //For colouring in /proc/mix_color_from_reagents diff --git a/code/modules/surgery/organs/lungs.dm b/code/modules/surgery/organs/lungs.dm index 28108994055..be3d10e4f17 100644 --- a/code/modules/surgery/organs/lungs.dm +++ b/code/modules/surgery/organs/lungs.dm @@ -333,9 +333,9 @@ // Raynar var/raynar_pp = breath.get_breath_partial_pressure(breath_gases[/datum/gas/raynar][MOLES]) - if(raynar_pp > 0.01) - H.Unconscious(200) - H.Sleeping(200) + if(raynar_pp > gas_stimulation_min) + var/existing = H.reagents.get_reagent_amount(/datum/reagent/raynar) + H.reagents.add_reagent(/datum/reagent/raynar,max(0, 1 - existing)) H.adjustOxyLoss(-5) H.adjustFireLoss(-7) H.adjustToxLoss(-7) @@ -347,7 +347,7 @@ // Inert // Cymar var/cymar_pp = breath.get_breath_partial_pressure(breath_gases[/datum/gas/cymar][MOLES]) - if(cymar_pp > 0.1) + if(cymar_pp > gas_stimulation_min) H.adjustBruteLoss(25) H.adjustOxyLoss(5) H.adjustFireLoss(8)