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)
..()
+2
View File
@@ -3125,6 +3125,7 @@
#include "hyperstation\code\modules\clothing\under\under.dm"
#include "hyperstation\code\modules\economy\account.dm"
#include "hyperstation\code\modules\events\crystalline_reentry.dm"
#include "hyperstation\code\modules\food_and_drinks\recipes\drinks_recipes.dm"
#include "hyperstation\code\modules\integrated_electronics\input.dm"
#include "hyperstation\code\modules\jobs\job_types\roleplay.dm"
#include "hyperstation\code\modules\mining\shelters.dm"
@@ -3137,6 +3138,7 @@
#include "hyperstation\code\modules\power\reactor\fuel_rods.dm"
#include "hyperstation\code\modules\power\reactor\rbmk.dm"
#include "hyperstation\code\modules\power\reactor\reactor_cargo.dm"
#include "hyperstation\code\modules\reagents\chemistry\reagents\drink_reagents.dm"
#include "hyperstation\code\modules\reagents\chemistry\reagents\food_reagents.dm"
#include "hyperstation\code\modules\reagents\chemistry\reagents\hydroponics_reactions.dm"
#include "hyperstation\code\modules\reagents\chemistry\reagents\medicine_reagents.dm"