This commit is contained in:
Archie
2021-07-24 16:30:15 -03:00
parent c7b7023f8c
commit 89a3d29ce1
3 changed files with 30 additions and 0 deletions
@@ -0,0 +1,5 @@
/datum/chemical_reaction/pilk
name = "Pilk"
id = /datum/reagent/consumable/pilk
results = list(/datum/reagent/consumable/pilk = 2)
required_reagents = list(/datum/reagent/consumable/milk = 1, /datum/reagent/consumable/space_cola = 1)
@@ -0,0 +1,23 @@
/datum/reagent/consumable/pilk
name = "Pilk"
description = "A forbidden mixture that dates back to the early days of space civilization, its creation is known to have caused at least one or two massacres."
color = "#cf9f6f"
taste_description = "heresy"
glass_icon_state = "whiskeycolaglass"
glass_name = "glass of Pilk"
glass_desc = "Why would you do this to yourself?"
hydration = 3
/datum/reagent/consumable/pilk/on_mob_life(mob/living/carbon/M)
M.drowsyness = max(0,M.drowsyness-3)
M.adjust_bodytemperature(-3 * TEMPERATURE_DAMAGE_COEFFICIENT, BODYTEMP_NORMAL)
if(HAS_TRAIT(M, TRAIT_CALCIUM_HEALER))
M.heal_bodypart_damage(0.75,0, 0)
. = 1
else
if(M.getBruteLoss() && prob(20))
M.heal_bodypart_damage(0.5,0, 0)
. = 1
if(holder.has_reagent(/datum/reagent/consumable/capsaicin))
holder.remove_reagent(/datum/reagent/consumable/capsaicin, 1)
..()