mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-05 15:02:56 +00:00
Dionea anti-radiation drugs reaction (#5054)
As per request of Lore Dev team, this adds Dionea (allergic) reaction to any anti-radiation reagents. And also toxin regeneration from radiation ...
This commit is contained in:
committed by
Werner
parent
dd4efb5a27
commit
b1a3703a9b
@@ -306,9 +306,13 @@
|
||||
reagent_state = SOLID
|
||||
color = "#C7C7C7"
|
||||
taste_description = "the color blue, and regret"
|
||||
unaffected_species = IS_MACHINE
|
||||
|
||||
/datum/reagent/radium/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
M.apply_effect(10 * removed, IRRADIATE, blocked = 0) // Radium may increase your chances to cure a disease
|
||||
if(alien == IS_DIONA)
|
||||
M.adjustToxLoss(-20 * removed)
|
||||
return
|
||||
if(M.virus2.len)
|
||||
for(var/ID in M.virus2)
|
||||
var/datum/disease2/disease/V = M.virus2[ID]
|
||||
|
||||
@@ -957,10 +957,24 @@
|
||||
glass_name = "cup of tea"
|
||||
glass_desc = "Tasty black tea, it has antioxidants, it's good for you!"
|
||||
|
||||
unaffected_species = IS_MACHINE
|
||||
var/last_taste_time = -100
|
||||
|
||||
/datum/reagent/drink/tea/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
..()
|
||||
M.adjustToxLoss(-0.5 * removed)
|
||||
|
||||
|
||||
/datum/reagent/drink/tea/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
if(alien == IS_DIONA)
|
||||
if(last_taste_time + 800 < world.time) // Not to spam message
|
||||
to_chat(M, "<span class='danger'>Your body withers as you feel slight pain throughout.</span>")
|
||||
last_taste_time = world.time
|
||||
metabolism = REM * 0.33
|
||||
M.adjustToxLoss(1.5 * removed)
|
||||
else
|
||||
M.adjustToxLoss(-0.5 * removed)
|
||||
|
||||
/datum/reagent/drink/tea/icetea
|
||||
name = "Iced Tea"
|
||||
id = "icetea"
|
||||
|
||||
@@ -450,9 +450,18 @@
|
||||
overdose = REAGENTS_OVERDOSE
|
||||
scannable = 1
|
||||
taste_description = "bitterness"
|
||||
unaffected_species = IS_MACHINE
|
||||
var/last_taste_time = -100
|
||||
|
||||
/datum/reagent/hyronalin/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
M.apply_radiation(-30 * removed)
|
||||
if(alien == IS_DIONA)
|
||||
if(last_taste_time + 500 < world.time) // Not to spam message
|
||||
to_chat(M, "<span class='danger'>Your body withers as you feel a searing pain throughout.</span>")
|
||||
last_taste_time = world.time
|
||||
metabolism = REM * 0.33
|
||||
M.adjustToxLoss(30 * removed) // Tested numbers myself
|
||||
else
|
||||
M.apply_radiation(-30 * removed)
|
||||
|
||||
/datum/reagent/arithrazine
|
||||
name = "Arithrazine"
|
||||
@@ -464,12 +473,21 @@
|
||||
overdose = REAGENTS_OVERDOSE
|
||||
scannable = 1
|
||||
taste_description = "bitterness"
|
||||
unaffected_species = IS_MACHINE
|
||||
var/last_taste_time = -100
|
||||
|
||||
/datum/reagent/arithrazine/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
M.apply_radiation(-70 * removed)
|
||||
M.adjustToxLoss(-10 * removed)
|
||||
if(prob(60))
|
||||
M.take_organ_damage(4 * removed, 0)
|
||||
if(alien == IS_DIONA)
|
||||
if(last_taste_time + 250 < world.time) // Not to spam message
|
||||
to_chat(M, "<span class='danger'>Your body withers as you feel a searing pain throughout.</span>")
|
||||
last_taste_time = world.time
|
||||
metabolism = REM * 0.33
|
||||
M.adjustToxLoss(120 * removed) // Tested numbers myself
|
||||
else
|
||||
M.apply_radiation(-70 * removed)
|
||||
M.adjustToxLoss(-10 * removed)
|
||||
if(prob(60))
|
||||
M.take_organ_damage(4 * removed, 0)
|
||||
|
||||
/datum/reagent/spaceacillin
|
||||
name = "Spaceacillin"
|
||||
|
||||
Reference in New Issue
Block a user