Modular Glow Component and a peculiar drink.

This commit is contained in:
Archie
2022-09-27 03:56:14 -03:00
parent a6ebe1ed67
commit dd84cecbee
5 changed files with 69 additions and 1 deletions
@@ -916,4 +916,11 @@
name = "Orange Creamsical"
id = /datum/reagent/consumable/orange_creamsicle
results = list(/datum/reagent/consumable/orange_creamsicle = 4)
required_reagents = list(/datum/reagent/consumable/vanilla = 1, /datum/reagent/consumable/milk = 1, /datum/reagent/consumable/ice = 1, /datum/reagent/consumable/orangejuice = 1)
required_reagents = list(/datum/reagent/consumable/vanilla = 1, /datum/reagent/consumable/milk = 1, /datum/reagent/consumable/ice = 1, /datum/reagent/consumable/orangejuice = 1)
/datum/chemical_reaction/criticality_coffee
name = "1964 Criticality Accident Leftover Coffee"
id = /datum/reagent/consumable/criticality_coffee
results = list(/datum/reagent/consumable/criticality_coffee = 4)
required_reagents = list(/datum/reagent/consumable/coffee = 1, /datum/reagent/radium = 1, /datum/reagent/iron = 1, /datum/reagent/uranium = 1)
mix_message = "All drinks inevitably come at a cost."
@@ -1002,4 +1002,28 @@
glass_name = "Orange Creamsicle"
hydration = 4
/datum/reagent/consumable/criticality_coffee
name = "1964 Criticality Accident Leftover Coffee"
description = "That thang bleedin' to the-... ya know I mean?"
color = "#4dc4be"
quality = DRINK_VERYGOOD
taste_description = "like graphite, but there's none there"
glass_icon_state = "1964"
glass_name = "1964 Criticality Accident Leftover Coffee"
glass_desc = "Vyx's special blend. In some other stations it is known as The Dyatlov Special. 'Two grains is all you need to see the thin fabric of reality.'"
hydration = 4
/datum/reagent/consumable/criticality_coffee/on_mob_life(mob/living/carbon/M)
M.dizziness = max(0,M.dizziness-5)
M.drowsyness = 0
M.AdjustSleeping(-40, FALSE)
M.Jitter(2)
//310.15 is the normal bodytemp.
M.adjust_bodytemperature(25 * TEMPERATURE_DAMAGE_COEFFICIENT, 0, BODYTEMP_NORMAL)
var/datum/component/glow_harmless/gl = M.GetComponent(/datum/component/glow_harmless)
if(!gl)
M.AddComponent(/datum/component/glow_harmless, "#37ff1438")
if(holder.has_reagent(/datum/reagent/consumable/frostoil))
holder.remove_reagent(/datum/reagent/consumable/frostoil, 5)
..()
. = 1