Merge pull request #384 from Sharkmare/patch-11

Tea + Dylovene = Anti Alcoholic Anti Toxin.
This commit is contained in:
Vollybally
2019-02-13 16:14:14 -05:00
committed by GitHub
2 changed files with 48 additions and 0 deletions
@@ -107,3 +107,37 @@
M.custom_pain("You suddenly lose your train of thought!",30)
if(prob(0.1))
M.hallucination = max(M.hallucination, 2)
////////////////////////////////////////////////
/////////DRINKS////////////////////////////////
//////////////////////////////////////////////
/datum/reagent/drink/tea/dyloteane
name = "The Anti-Irish"
id = "dyloteane"
glass_name = "Medicinal tea cup"
glass_desc = "Goes perfectly with alcohol poisoning!"
taste_description = "The sweet taste of multidepartment cooperation!"
cup_desc = "Goes perfectly with alcohol poisoning!"
cup_name = "Medicinal tea cup"
color = "#00FF00"
/datum/reagent/drink/tea/dyloteane/affect_blood(var/mob/living/carbon/M, var/alien, var/removed)
if(alien == IS_DIONA)
return
if(M.ingested)
for(var/datum/reagent/R in M.ingested.reagent_list)
if(istype(R, /datum/reagent/ethanol))
R.remove_self(removed * 3)
if(M.bloodstr)
for(var/datum/reagent/R in M.bloodstr.reagent_list)
if(istype(R, /datum/reagent/ethanol))
R.remove_self(removed * 10)
/datum/reagent/drink/tea/dyloteane/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
var/chem_effective = 1
if(alien != IS_DIONA)
M.drowsyness = max(0, M.drowsyness - 6 * removed * chem_effective)
M.hallucination = max(0, M.hallucination - 9 * removed * chem_effective)
M.adjustToxLoss(-1 * removed * chem_effective)
@@ -4,3 +4,17 @@
result = "claridyl"
required_reagents = list("lithium" = 1, "radium" = 1, "sugar" = 1)
result_amount = 1
/datum/chemical_reaction/dyloteane
name = "dyloteane"
id = "dyloteane"
result = "dyloteane"
required_reagents = list("anti_toxin" = 1, "tea" = 1)
result_amount = 1
/datum/chemical_reaction/dyloteane/super
name = "dyloteanesuper"
id = "dyloteanesuper"
result = "dyloteane"
required_reagents = list("anti_toxin" = 1, "tea" = 1,"sugar" = 1)
result_amount = 10 //by the powers of england for sugaring your tea you gain *10 result