mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
raynar is now a reagent used in breath code
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user