From d642cbee1cc1452415d8e55c76665ea524df93ca Mon Sep 17 00:00:00 2001 From: Chompstation Bot Date: Sun, 28 Feb 2021 00:36:58 +0000 Subject: [PATCH] [MIRROR] Diet/Allergy System Rework --- code/__defines/species_languages.dm | 13 + .../living/carbon/human/species/species.dm | 2 + .../carbon/human/species/station/station.dm | 2 + .../human/species/station/station_vr.dm | 4 +- .../species/station/traits_vr/neutral.dm | 61 ++++ .../Chemistry-Reagents-Dispenser.dm | 8 + .../Chemistry-Reagents-Food-Drinks.dm | 338 ++++++++++++++++-- 7 files changed, 406 insertions(+), 22 deletions(-) diff --git a/code/__defines/species_languages.dm b/code/__defines/species_languages.dm index f6ca0ea565..9b9c83d256 100644 --- a/code/__defines/species_languages.dm +++ b/code/__defines/species_languages.dm @@ -24,6 +24,19 @@ #define EMP_TOX_DMG 0x80 // EMPs inflict toxin damage #define EMP_OXY_DMG 0x100 // EMPs inflict oxy damage +// Species allergens +#define MEAT 0x1 // Skrell won't like this. +#define FISH 0x2 // Seperate for completion's sake. Still bad for skrell. +#define FRUIT 0x4 // An apple a day only keeps the doctor away if they're allergic. +#define VEGETABLE 0x8 // Taters 'n' carrots. Potato allergy is a thing, apparently. +#define GRAINS 0x10 // Wheat, oats, etc. +#define BEANS 0x20 // The musical fruit! Includes soy. +#define SEEDS 0x40 // Hope you don't have a nut allergy. +#define DAIRY 0x80 // Lactose intolerance, ho! Also bad for skrell. +#define FUNGI 0x100 // Delicious shrooms. +#define COFFEE 0x200 // Mostly here for tajara. +#define GENERIC 0x400 // Catchall for stuff that doesn't fall into the groups above. You shouldn't be allergic to this type, ever. + // Species spawn flags #define SPECIES_IS_WHITELISTED 0x1 // Must be whitelisted to play. #define SPECIES_IS_RESTRICTED 0x2 // Is not a core/normally playable species. (castes, mutantraces) diff --git a/code/modules/mob/living/carbon/human/species/species.dm b/code/modules/mob/living/carbon/human/species/species.dm index 15757d2d2b..0b720322fa 100644 --- a/code/modules/mob/living/carbon/human/species/species.dm +++ b/code/modules/mob/living/carbon/human/species/species.dm @@ -55,6 +55,8 @@ var/active_regen_mult = 1 // Multiplier for 'Regenerate' power speed, in human_powers.dm var/taste_sensitivity = TASTE_NORMAL // How sensitive the species is to minute tastes. + var/allergens = null // Things that will make this species very sick + var/allergen_severity = 0.5 // How bad are reactions to the allergen? This is raw toxin damage per metabolism tick, multiplied by the amount metabolized var/min_age = 17 var/max_age = 70 diff --git a/code/modules/mob/living/carbon/human/species/station/station.dm b/code/modules/mob/living/carbon/human/species/station/station.dm index d290c0c42f..e26679f856 100644 --- a/code/modules/mob/living/carbon/human/species/station/station.dm +++ b/code/modules/mob/living/carbon/human/species/station/station.dm @@ -231,6 +231,7 @@ base_color = "#333333" reagent_tag = IS_TAJARA + allergens = COFFEE move_trail = /obj/effect/decal/cleanable/blood/tracks/paw @@ -321,6 +322,7 @@ breath_heat_level_3 = 1350 //Default 1250 reagent_tag = IS_SKRELL + allergens = MEAT|FISH|DAIRY has_limbs = list( BP_TORSO = list("path" = /obj/item/organ/external/chest), diff --git a/code/modules/mob/living/carbon/human/species/station/station_vr.dm b/code/modules/mob/living/carbon/human/species/station/station_vr.dm index 44ce2dfe45..9700eb8f66 100644 --- a/code/modules/mob/living/carbon/human/species/station/station_vr.dm +++ b/code/modules/mob/living/carbon/human/species/station/station_vr.dm @@ -246,7 +246,7 @@ dual-star Vazzend system. Their politically de-centralized society and independent natures have led them to become a species and \ culture both feared and respected for their scientific breakthroughs. Discovery, loyalty, and utilitarianism dominates their lifestyles \ to the degree it can cause conflict with more rigorous and strict authorities. They speak a guttural language known as 'Canilunzt' \ - which has a heavy emphasis on utilizing tail positioning and ear twitches to communicate intent." + which has a heavy emphasis on utilizing tail positioning and ear twitches to communicate intent." //CHOMPStation Removal TFF 12/24/19 - Wikilinks removed // wikilink="https://www.yawn.ocry.com/Vulpkanin" @@ -289,6 +289,7 @@ tail_animation = 'icons/mob/species/tajaran/tail_vr.dmi' color_mult = 1 min_age = 18 + allergens = null gluttonous = 0 //Moving this here so I don't have to fix this conflict every time polaris glances at station.dm inherent_verbs = list(/mob/living/carbon/human/proc/lick_wounds) heat_discomfort_level = 295 //Prevents heat discomfort spam at 20c @@ -305,6 +306,7 @@ color_mult = 1 min_age = 18 reagent_tag = null + allergens = null assisted_langs = list(LANGUAGE_EAL, LANGUAGE_ROOTLOCAL, LANGUAGE_ROOTGLOBAL, LANGUAGE_VOX) //CHOMPedit: link to our wiki diff --git a/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm b/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm index 41dbf2a72b..540d0584c3 100644 --- a/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm +++ b/code/modules/mob/living/carbon/human/species/station/traits_vr/neutral.dm @@ -208,6 +208,67 @@ YW change end */ H.verbs |= /mob/living/proc/glow_toggle H.verbs |= /mob/living/proc/glow_color +<<<<<<< HEAD +||||||| parent of 3558e37a44... Merge pull request #9751 from VOREStation/upstream-merge-7864 +/* +//Allergen traits! Not available to any species with a base allergens var. +/datum/trait/allergy_gluten + name = "Allergy: Gluten" + desc = "You're highly allergic to gluten proteins, which are found in most common grains. This trait cannot be taken by skrell or tajara." + cost = 0 + custom_only = FALSE + banned_species = list(SPECIES_SKRELL,SPECIES_TAJ) + var_changes = list("allergens" = 16) + excludes = list(/datum/trait/allergy_nuts,/datum/trait/allergy_soy) + +/datum/trait/allergy_nuts + name = "Allergy: Nuts" + desc = "You're highly allergic to hard-shell seeds, such as peanuts. This trait cannot be taken by skrell or tajara." + cost = 0 + custom_only = FALSE + banned_species = list(SPECIES_SKRELL,SPECIES_TAJ) + var_changes = list("allergens" = 64) + excludes = list(/datum/trait/allergy_gluten,/datum/trait/allergy_soy) + +/datum/trait/allergy_soy + name = "Allergy: Soy" + desc = "You're highly allergic to soybeans, and some other kinds of bean. This trait cannot be taken by skrell or tajara." + cost = 0 + custom_only = FALSE + banned_species = list(SPECIES_SKRELL,SPECIES_TAJ) + var_changes = list("allergens" = 32) + excludes = list(/datum/trait/allergy_gluten,/datum/trait/allergy_nuts) +*/ + +======= + +//Allergen traits! Not available to any species with a base allergens var. +/datum/trait/allergy_gluten + name = "Allergy: Gluten" + desc = "You're highly allergic to gluten proteins, which are found in most common grains." + cost = 0 + custom_only = FALSE + var_changes = list("allergens" = 16) + excludes = list(/datum/trait/allergy_nuts,/datum/trait/allergy_soy) + +/datum/trait/allergy_nuts + name = "Allergy: Nuts" + desc = "You're highly allergic to hard-shell seeds, such as peanuts." + cost = 0 + custom_only = FALSE + var_changes = list("allergens" = 64) + excludes = list(/datum/trait/allergy_gluten,/datum/trait/allergy_soy) + +/datum/trait/allergy_soy + name = "Allergy: Soy" + desc = "You're highly allergic to soybeans, and some other kinds of bean." + cost = 0 + custom_only = FALSE + var_changes = list("allergens" = 32) + excludes = list(/datum/trait/allergy_gluten,/datum/trait/allergy_nuts) + + +>>>>>>> 3558e37a44... Merge pull request #9751 from VOREStation/upstream-merge-7864 // Spicy Food Traits, from negative to positive. /datum/trait/spice_intolerance_extreme name = "Extreme Spice Intolerance" diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Dispenser.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Dispenser.dm index f326dcf9af..0e880681dc 100644 --- a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Dispenser.dm +++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Dispenser.dm @@ -82,6 +82,8 @@ var/nutriment_factor = 0 var/strength = 10 // This is, essentially, units between stages - the lower, the stronger. Less fine tuning, more clarity. + var/allergen_type = GENERIC // What potential allergens does this contain? + var/allergen_factor = 0.5 // If the potential allergens are mixed and low-volume, they're a bit less dangerous. Needed for drinks because they're a single reagent compared to food which contains multiple seperate reagents. var/toxicity = 1 var/druggy = 0 @@ -139,6 +141,9 @@ if(halluci) M.hallucination = max(M.hallucination, halluci*3) + + if(M.species.allergens & allergen_type) + M.adjustToxLoss(((M.species.allergen_severity*allergen_factor)*4) * removed) /datum/reagent/ethanol/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) if(issmall(M)) removed *= 2 @@ -183,6 +188,9 @@ if(halluci) M.hallucination = max(M.hallucination, halluci) + + if(M.species.allergens & allergen_type) + M.adjustToxLoss((M.species.allergen_severity*allergen_factor) * removed) /datum/reagent/ethanol/touch_obj(var/obj/O) if(istype(O, /obj/item/weapon/paper)) diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm index 5ba0b23c45..70fc93bb54 100644 --- a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm +++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm @@ -9,6 +9,7 @@ metabolism = REM * 4 ingest_met = REM * 4 var/nutriment_factor = 30 // Per unit + var/allergen_type = GENERIC // What potential allergens does this contain? var/injectable = 0 color = "#664330" @@ -40,7 +41,23 @@ if(!injectable && alien != IS_SLIME && alien != IS_CHIMERA) //VOREStation Edit M.adjustToxLoss(0.1 * removed) return + if(M.species.allergens & allergen_type) + M.adjustToxLoss((M.species.allergen_severity*4) * removed) + return affect_ingest(M, alien, removed) +<<<<<<< HEAD +||||||| parent of 3558e37a44... Merge pull request #9751 from VOREStation/upstream-merge-7864 + //VOREStation Edits Start + if(M.isSynthetic() && M.nutrition < 500) + M.adjust_nutrition((nutriment_factor * removed) * M.species.synthetic_food_coeff) + //VOREStation Edits End +======= + //VOREStation Edits Start + if(M.isSynthetic() && M.nutrition < 500) + M.adjust_nutrition((nutriment_factor * removed) * M.species.synthetic_food_coeff) + //VOREStation Edits End + ..() +>>>>>>> 3558e37a44... Merge pull request #9751 from VOREStation/upstream-merge-7864 /datum/reagent/nutriment/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) switch(alien) @@ -48,10 +65,28 @@ if(IS_UNATHI) removed *= 0.5 if(IS_CHIMERA) removed *= 0.25 //VOREStation Edit if(issmall(M)) removed *= 2 // Small bodymass, more effect from lower volume. +<<<<<<< HEAD M.heal_organ_damage(0.5 * removed, 0) if(M.species.gets_food_nutrition) //VOREStation edit. If this is set to 0, they don't get nutrition from food. M.adjust_nutrition(nutriment_factor * removed) // For hunger and fatness M.add_chemical_effect(CE_BLOODRESTORE, 4 * removed) +||||||| parent of 3558e37a44... Merge pull request #9751 from VOREStation/upstream-merge-7864 + //VOREStation Edits Start + if(!M.isSynthetic()) + M.adjust_nutrition((nutriment_factor * removed) * M.species.organic_food_coeff) + M.heal_organ_damage(0.5 * removed, 0) + M.add_chemical_effect(CE_BLOODRESTORE, 4 * removed) +======= + //VOREStation Edits Start + if(!M.isSynthetic()) + if(M.species.allergens & allergen_type) + M.adjustToxLoss(M.species.allergen_severity * removed) + else + M.heal_organ_damage(0.5 * removed, 0) + M.adjust_nutrition((nutriment_factor * removed) * M.species.organic_food_coeff) + M.add_chemical_effect(CE_BLOODRESTORE, 4 * removed) + //VOREStation Edits Stop +>>>>>>> 3558e37a44... Merge pull request #9751 from VOREStation/upstream-merge-7864 // Aurora Cooking Port Insertion Begin @@ -228,6 +263,7 @@ id = "cornoil" description = "An oil derived from various types of corn." reagent_state = LIQUID + allergen_type = VEGETABLE /datum/reagent/nutriment/triglyceride/oil/peanut name = "Peanut Oil" @@ -237,6 +273,7 @@ taste_mult = 0.3 nutriment_factor = 15 color = "#4F3500" + allergen_type = SEEDS // Aurora Cooking Port Insertion End @@ -253,11 +290,10 @@ id = "protein" taste_description = "some sort of meat" color = "#440000" + allergen_type = MEAT /datum/reagent/nutriment/protein/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) switch(alien) - if(IS_SKRELL) - M.adjustToxLoss(0.5 * removed) if(IS_TESHARI) ..(M, alien, removed*1.2) // Teshari get a bit more nutrition from meat. if(IS_UNATHI) @@ -269,41 +305,40 @@ else ..() -/datum/reagent/nutriment/protein/affect_blood(var/mob/living/carbon/M, var/alien, var/removed) - if(alien && alien == IS_SKRELL) - M.adjustToxLoss(2 * removed) - return - ..() - /datum/reagent/nutriment/protein/tofu name = "tofu protein" id = "tofu" color = "#fdffa8" taste_description = "tofu" + allergen_type = BEANS /datum/reagent/nutriment/protein/seafood name = "seafood protein" id = "seafood" color = "#f5f4e9" taste_description = "fish" + allergen_type = FISH -/datum/reagent/nutriment/protein/cheese // Also bad for skrell. +/datum/reagent/nutriment/protein/cheese name = "cheese" id = "cheese" color = "#EDB91F" taste_description = "cheese" + allergen_type = DAIRY -/datum/reagent/nutriment/protein/egg // Also bad for skrell. +/datum/reagent/nutriment/protein/egg name = "egg yolk" id = "egg" taste_description = "egg" color = "#FFFFAA" + allergen_type = DAIRY /datum/reagent/nutriment/protein/murk name = "murkfin protein" id = "murk_protein" taste_description = "mud" color = "#664330" + allergen_type = FISH /datum/reagent/nutriment/honey name = "Honey" @@ -341,6 +376,7 @@ taste_description = "unmistakably mayonnaise" nutriment_factor = 10 color = "#FFFFFF" + allergen_type = DAIRY //because egg /datum/reagent/nutriment/yeast name = "Yeast" @@ -358,6 +394,7 @@ reagent_state = SOLID nutriment_factor = 1 color = "#FFFFFF" + allergen_type = GRAINS /datum/reagent/nutriment/flour/touch_turf(var/turf/simulated/T) if(!istype(T, /turf/space)) @@ -371,6 +408,7 @@ taste_mult = 1.3 nutriment_factor = 1 color = "#482000" + allergen_type = COFFEE /datum/reagent/nutriment/tea name = "Tea Powder" @@ -397,6 +435,7 @@ description = "Dehydrated, powdered juice of some kind." taste_mult = 1.3 nutriment_factor = 1 + allergen_type = FRUIT /datum/reagent/nutriment/instantjuice/grape name = "Grape Juice Powder" @@ -473,6 +512,7 @@ reagent_state = LIQUID nutriment_factor = 1 color = "#801E28" + allergen_type = FRUIT /datum/reagent/nutriment/peanutbutter name = "Peanut Butter" @@ -483,6 +523,7 @@ reagent_state = LIQUID nutriment_factor = 30 color = "#4F3500" + allergen_type = SEEDS /datum/reagent/nutriment/vanilla name = "Vanilla Extract" @@ -528,6 +569,7 @@ reagent_state = LIQUID nutriment_factor = 2 color = "#899613" + allergen_type = DAIRY //incase anyone is dumb enough to drink it - it does contain milk! /datum/reagent/nutriment/sprinkles name = "Sprinkles" @@ -860,16 +902,23 @@ var/adj_temp = 0 var/nutriment_factor = 0 //CHOMPStation addition var/water_based = TRUE + var/allergen_type = GENERIC // What potential allergens does this contain? + var/allergen_factor = 1 // If the potential allergens are mixed and low-volume, they're a bit less dangerous. Needed for drinks because they're a single reagent compared to food which contains multiple seperate reagents. /datum/reagent/drink/affect_blood(var/mob/living/carbon/M, var/alien, var/removed) var/strength_mod = 1 if(alien == IS_SLIME && water_based) strength_mod = 3 M.adjustToxLoss(removed * strength_mod) // Probably not a good idea; not very deadly though + if(M.species.allergens & allergen_type) // Unless you're allergic, in which case... + M.adjustToxLoss(((M.species.allergen_severity*allergen_factor)*2) * removed) return /datum/reagent/drink/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) - M.adjust_nutrition(nutrition * removed) + if(M.species.allergens & allergen_type) + M.adjustToxLoss((M.species.allergen_severity*allergen_factor) * removed) + else //delicious + M.adjust_nutrition(nutrition * removed) M.dizziness = max(0, M.dizziness + adj_dizzy) M.drowsyness = max(0, M.drowsyness + adj_drowsy) M.AdjustSleeping(adj_sleepy) @@ -929,6 +978,7 @@ glass_name = "carrot juice" glass_desc = "It is just like a carrot but without crunching." + allergen_type = VEGETABLE /datum/reagent/drink/juice/carrot/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..() @@ -944,6 +994,7 @@ glass_name = "grape juice" glass_desc = "It's grrrrrape!" + allergen_type = FRUIT /datum/reagent/drink/juice/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..() @@ -1044,6 +1095,7 @@ glass_name = "potato juice" glass_desc = "Juice from a potato. Bleh." + allergen_type = VEGETABLE /datum/reagent/drink/juice/tomato name = "Tomato Juice" @@ -1087,6 +1139,7 @@ cup_icon_state = "cup_cream" cup_name = "cup of milk" cup_desc = "White and nutritious goodness!" + allergen_type = DAIRY /datum/reagent/drink/milk/chocolate name = "Chocolate Milk" @@ -1102,7 +1155,6 @@ glass_name = "chocolate milk" glass_desc = "Deliciously fattening!" - /datum/reagent/drink/milk/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..() if(alien == IS_DIONA) @@ -1123,6 +1175,7 @@ cup_icon_state = "cup_cream" cup_name = "cup of cream" cup_desc = "Ewwww..." + allergen_type = DAIRY /datum/reagent/drink/milk/soymilk name = "Soy Milk" @@ -1137,6 +1190,7 @@ cup_icon_state = "cup_cream" cup_name = "cup of milk" cup_desc = "White and nutritious goodness!" + allergen_type = FRUIT /datum/reagent/drink/tea name = "Tea" @@ -1221,6 +1275,7 @@ cup_name = "cup of lemon tea" cup_desc = "A tasty mixture of lemon and tea. It's apparently good for you!" + allergen_type = FRUIT /datum/reagent/drink/tea/limetea name = "Lime Tea" @@ -1234,6 +1289,7 @@ cup_name = "cup of lime tea" cup_desc = "A tasty mixture of lime and tea. It's apparently good for you!" + allergen_type = FRUIT /datum/reagent/drink/tea/orangetea name = "Orange Tea" @@ -1247,6 +1303,7 @@ cup_name = "cup of orange tea" cup_desc = "A tasty mixture of orange and tea. It's apparently good for you!" + allergen_type = FRUIT /datum/reagent/drink/tea/berrytea name = "Berry Tea" @@ -1260,6 +1317,7 @@ cup_name = "cup of berry tea" cup_desc = "A tasty mixture of berries and tea. It's apparently good for you!" + allergen_type = FRUIT /datum/reagent/drink/greentea name = "Green Tea" @@ -1306,12 +1364,13 @@ glass_name = "coffee" glass_desc = "Don't drop it, or you'll send scalding liquid and glass shards everywhere." - + allergen_type = COFFEE /datum/reagent/drink/coffee/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) if(alien == IS_DIONA) return ..() + //if(alien == IS_TAJARA) //VOREStation Edit Begin //M.adjustToxLoss(0.5 * removed) //M.make_jittery(4) //extra sensitive to caffine @@ -1320,6 +1379,7 @@ /datum/reagent/drink/coffee/affect_blood(var/mob/living/carbon/M, var/alien, var/removed) ..() + //if(alien == IS_TAJARA) //M.adjustToxLoss(2 * removed) //M.make_jittery(4) @@ -1372,11 +1432,11 @@ glass_desc = "A nice and refreshing beverage while you are reading." glass_name = "soy latte" - glass_desc = "A nice and refrshing beverage while you are reading." cup_icon_state = "cup_latte" cup_name = "cup of soy latte" cup_desc = "A nice and refreshing beverage while you are reading." + allergen_type = COFFEE|BEANS /datum/reagent/drink/coffee/soy_latte/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..() @@ -1396,6 +1456,7 @@ cup_icon_state = "cup_latte" cup_name = "cup of cafe latte" cup_desc = "A nice and refreshing beverage while you are reading." + allergen_type = COFFEE|DAIRY /datum/reagent/drink/coffee/cafe_latte/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..() @@ -1460,6 +1521,7 @@ glass_name = "grape soda" glass_desc = "Looks like a delicious drink!" glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/soda/tonic name = "Tonic Water" @@ -1488,6 +1550,7 @@ glass_name = "lemonade" glass_desc = "Oh the nostalgia..." glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/soda/melonade name = "Melonade" @@ -1501,6 +1564,7 @@ glass_name = "melonade" glass_desc = "Oh the.. nostalgia?" glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/soda/appleade name = "Appleade" @@ -1514,6 +1578,7 @@ glass_name = "appleade" glass_desc = "Applejuice, improved." glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/soda/pineappleade name = "Pineappleade" @@ -1527,6 +1592,7 @@ glass_name = "pineappleade" glass_desc = "Pineapple, juiced up." glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/soda/kiraspecial name = "Kira Special" @@ -1552,6 +1618,7 @@ glass_name = "Brown Star" glass_desc = "It's not what it sounds like..." + allergen_type = FRUIT /datum/reagent/drink/milkshake name = "Milkshake" @@ -1563,6 +1630,7 @@ glass_name = "milkshake" glass_desc = "Glorious brainfreezing mixture." + allergen_type = DAIRY /datum/reagent/milkshake/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..() @@ -1595,6 +1663,7 @@ glass_name = "Chocolate Milkshake" glass_desc = "A refreshing chocolate milkshake, just like mom used to make." + allergen_type = DAIRY /datum/reagent/drink/milkshake/berryshake name = "Berry Milkshake" @@ -1606,6 +1675,7 @@ glass_name = "Berry Milkshake" glass_desc = "A refreshing berry milkshake, just like mom used to make." + allergen_type = FRUIT|DAIRY /datum/reagent/drink/milkshake/coffeeshake name = "Coffee Milkshake" @@ -1618,9 +1688,9 @@ adj_drowsy = -3 adj_sleepy = -2 - glass_name = "Coffee Milkshake" glass_desc = "An energizing coffee milkshake, perfect for hot days at work.." + allergen_type = DAIRY|COFFEE /datum/reagent/drink/milkshake/coffeeshake/overdose(var/mob/living/carbon/M, var/alien) M.make_jittery(5) @@ -1634,6 +1704,7 @@ glass_name = "Peanut Milkshake" glass_desc = "Savory cream in an ice-cold stature." + allergen_type = SEEDS|DAIRY /datum/reagent/drink/rewriter name = "Rewriter" @@ -1646,6 +1717,7 @@ glass_name = "Rewriter" glass_desc = "The secret of the sanctuary of the Libarian..." + allergen_type = FRUIT|COFFEE /datum/reagent/drink/rewriter/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..() @@ -1713,6 +1785,7 @@ glass_name = "Space Mountain Wind" glass_desc = "Space Mountain Wind. As you know, there are no mountains in space, only wind." glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/soda/dr_gibb name = "Dr. Gibb" @@ -1739,6 +1812,7 @@ glass_name = "Space-up" glass_desc = "Space-up. It helps keep your cool." glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/soda/lemon_lime name = "Lemon-Lime" @@ -1752,6 +1826,7 @@ glass_name = "lemon lime soda" glass_desc = "A tangy substance made of 0.5% natural citrus!" glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/soda/gingerale name = "Ginger Ale" @@ -1810,6 +1885,7 @@ glass_name = "roy rogers" glass_desc = "I'm a cowboy, on a steel horse I ride" glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/collins_mix name = "Collins Mix" @@ -1823,6 +1899,7 @@ glass_name = "collins mix" glass_desc = "Best hope it isn't a hoax." glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/arnold_palmer name = "Arnold Palmer" @@ -1836,6 +1913,7 @@ glass_name = "arnold palmer" glass_desc = "Tastes just like the old man." glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/doctor_delight name = "The Doctor's Delight" @@ -1848,6 +1926,7 @@ glass_name = "The Doctor's Delight" glass_desc = "A healthy mixture of juices, guaranteed to keep you healthy until the next toolboxing takes place." + allergen_type = FRUIT /datum/reagent/drink/doctor_delight/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..() @@ -1957,6 +2036,7 @@ glass_name = "Dream Cream" glass_desc = "A smoothy, silky mix of honey and dairy." + allergen_type = FRUIT|DAIRY /datum/reagent/drink/soda/vilelemon name = "Vile Lemon" @@ -1969,6 +2049,7 @@ glass_name = "Vile Lemon" glass_desc = "A sour, fizzy drink with lemonade and lemonlime." glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/entdraught name = "Ent's Draught" @@ -1980,6 +2061,7 @@ glass_name = "Ent's Draught" glass_desc = "You can almost smell the tranquility emanating from this." + allergen_type = FRUIT /datum/reagent/drink/lovepotion name = "Love Potion" @@ -1990,6 +2072,7 @@ glass_name = "Love Potion" glass_desc = "Love me tender, love me sweet." + allergen_type = FRUIT|DAIRY /datum/reagent/drink/oilslick name = "Oil Slick" @@ -2003,6 +2086,7 @@ glass_name = "Oil Slick" glass_desc = "A concoction that should probably be in an engine, rather than your stomach." glass_icon = DRINK_ICON_NOISY + allergen_type = VEGETABLE|FRUIT /datum/reagent/drink/slimeslammer name = "Slick Slimes Slammer" @@ -2016,6 +2100,7 @@ glass_name = "Slick Slime Slammer" glass_desc = "A concoction that should probably be in an engine, rather than your stomach. Still." glass_icon = DRINK_ICON_NOISY + allergen_type = VEGETABLE|SEEDS /datum/reagent/drink/eggnog name = "Eggnog" @@ -2026,6 +2111,7 @@ glass_name = "Eggnog" glass_desc = "You can't egg-nore the holiday cheer all around you" + allergen_type = DAIRY /datum/reagent/drink/nuclearwaste name = "Nuclear Waste" @@ -2066,6 +2152,7 @@ glass_desc = "A pitiful sludge that looks vaguely like a soda.. if you look at it a certain way." glass_icon = DRINK_ICON_NOISY glass_special = list(DRINK_FIZZ) + allergen_type = VEGETABLE /datum/reagent/drink/sodaoil/affect_blood(var/mob/living/carbon/M, var/alien, var/removed) ..() @@ -2105,6 +2192,7 @@ glass_name = "sex on the beach" glass_desc = "A secret combination of orange juice and pomegranate." + allergen_type = FRUIT /datum/reagent/drink/driverspunch name = "Driver's Punch" @@ -2116,6 +2204,7 @@ glass_name = "driver`s punch" glass_desc = "A fruity punch!" glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/mintapplesparkle name = "Mint Apple Sparkle" @@ -2127,6 +2216,7 @@ glass_name = "mint apple sparkle" glass_desc = "Delicious appleade with a touch of mint." glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/berrycordial name = "Berry Cordial" @@ -2138,6 +2228,7 @@ glass_name = "berry cordial" glass_desc = "How berry cordial of you." glass_icon = DRINK_ICON_NOISY + allergen_type = FRUIT /datum/reagent/drink/tropicalfizz name = "Tropical Fizz" @@ -2150,6 +2241,7 @@ glass_desc = "One sip and you're in the bahamas." glass_icon = DRINK_ICON_NOISY glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /datum/reagent/drink/fauxfizz name = "Faux Fizz" @@ -2163,6 +2255,7 @@ glass_desc = "One sip and you're in the bahamas... maybe." glass_icon = DRINK_ICON_NOISY glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT /* Alcohol */ @@ -2192,6 +2285,8 @@ glass_name = "ale" glass_desc = "A freezing pint of delicious ale" + allergen_type = GRAINS + /datum/reagent/ethanol/beer name = "Beer" id = "beer" @@ -2204,6 +2299,8 @@ glass_name = "beer" glass_desc = "A freezing pint of beer" + allergen_type = GRAINS + /datum/reagent/ethanol/beer/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..() if(alien == IS_DIONA) @@ -2222,6 +2319,8 @@ glass_name = "lite beer" glass_desc = "A freezing pint of lite beer" + allergen_type = GRAINS + /datum/reagent/ethanol/bluecuracao name = "Blue Curacao" id = "bluecuracao" @@ -2234,6 +2333,8 @@ glass_name = "blue curacao" glass_desc = "Exotically blue, fruity drink, distilled from oranges." + allergen_type = FRUIT + /datum/reagent/ethanol/cognac name = "Cognac" id = "cognac" @@ -2246,6 +2347,8 @@ glass_name = "cognac" glass_desc = "Damn, you feel like some kind of French aristocrat just by holding this." + allergen_type = FRUIT + /datum/reagent/ethanol/deadrum name = "Deadrum" id = "deadrum" @@ -2286,9 +2389,12 @@ glass_name = "gin" glass_desc = "A crystal clear glass of Griffeater gin." + allergen_type = FRUIT + //Base type for alchoholic drinks containing coffee /datum/reagent/ethanol/coffee overdose = 45 + allergen_type = COFFEE /datum/reagent/ethanol/coffee/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) if(alien == IS_DIONA) @@ -2299,6 +2405,7 @@ M.AdjustSleeping(-2) if(M.bodytemperature > 310) M.bodytemperature = max(310, M.bodytemperature - (5 * TEMPERATURE_DAMAGE_COEFFICIENT)) + //if(alien == IS_TAJARA) //M.adjustToxLoss(0.5 * removed) //M.make_jittery(4) //extra sensitive to caffine @@ -2308,7 +2415,6 @@ //M.adjustToxLoss(2 * removed) //M.make_jittery(4) //return - ..() /datum/reagent/ethanol/coffee/overdose(var/mob/living/carbon/M, var/alien) if(alien == IS_DIONA) @@ -2342,6 +2448,8 @@ glass_name = "melon liquor" glass_desc = "A relatively sweet and fruity 46 proof liquor." + allergen_type = FRUIT + /datum/reagent/ethanol/melonspritzer name = "Melon Spritzer" id = "melonspritzer" @@ -2354,6 +2462,8 @@ glass_desc = "Melons: Citrus style." glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT + /datum/reagent/ethanol/rum name = "Rum" id = "rum" @@ -2388,6 +2498,8 @@ glass_name = "sex on the beach" glass_desc = "A concoction of vodka and a secret combination of orange juice and pomegranate." + allergen_type = FRUIT + /datum/reagent/ethanol/tequila name = "Tequila" id = "tequilla" @@ -2443,6 +2555,8 @@ glass_name = "vodka" glass_desc = "The glass contain wodka. Xynta." + allergen_type = GRAINS + /datum/reagent/ethanol/vodka/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..() M.apply_effect(max(M.radiation - 1 * removed, 0), IRRADIATE, check_protection = 0) @@ -2458,6 +2572,8 @@ glass_name = "whiskey" glass_desc = "The silky, smokey whiskey goodness inside the glass makes the drink look very classy." + allergen_type = GRAINS + /datum/reagent/ethanol/wine name = "Wine" id = "wine" @@ -2469,6 +2585,8 @@ glass_name = "wine" glass_desc = "A very classy looking drink." + allergen_type = FRUIT + /datum/reagent/ethanol/wine/champagne name = "Champagne" id = "champagne" @@ -2479,6 +2597,7 @@ glass_name = "champagne" glass_desc = "An even classier looking drink." + allergen_type = FRUIT /datum/reagent/ethanol/cider name = "Cider" @@ -2492,6 +2611,8 @@ glass_desc = "The second most Irish drink." glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT + // Cocktails @@ -2507,6 +2628,8 @@ glass_name = "Acid Spit" glass_desc = "A drink from the company archives. Made from live aliens." + allergen_type = FRUIT + /datum/reagent/ethanol/alliescocktail name = "Allies Cocktail" id = "alliescocktail" @@ -2518,6 +2641,8 @@ glass_name = "Allies cocktail" glass_desc = "A drink made from your allies." + allergen_type = GRAINS + /datum/reagent/ethanol/aloe name = "Aloe" id = "aloe" @@ -2529,6 +2654,8 @@ glass_name = "Aloe" glass_desc = "Very, very, very good." + allergen_type = FRUIT|DAIRY|GRAINS + /datum/reagent/ethanol/amasec name = "Amasec" id = "amasec" @@ -2541,6 +2668,8 @@ glass_name = "Amasec" glass_desc = "Always handy before combat!" + allergen_type = FRUIT|GRAINS + /datum/reagent/ethanol/andalusia name = "Andalusia" id = "andalusia" @@ -2552,6 +2681,8 @@ glass_name = "Andalusia" glass_desc = "A nice, strange named drink." + allergen_type = GRAINS|FRUIT + /datum/reagent/ethanol/antifreeze name = "Anti-freeze" id = "antifreeze" @@ -2565,6 +2696,8 @@ glass_name = "Anti-freeze" glass_desc = "The ultimate refreshment." + allergen_type = GRAINS|DAIRY + /datum/reagent/ethanol/atomicbomb name = "Atomic Bomb" id = "atomicbomb" @@ -2578,6 +2711,8 @@ glass_name = "Atomic Bomb" glass_desc = "We cannot take legal responsibility for your actions after imbibing." + allergen_type = COFFEE|DAIRY + /datum/reagent/ethanol/coffee/b52 name = "B-52" id = "b52" @@ -2590,6 +2725,8 @@ glass_name = "B-52" glass_desc = "Kahlua, Irish cream, and cognac. You will get bombed." + allergen_type = COFFEE|DAIRY + /datum/reagent/ethanol/bahama_mama name = "Bahama mama" id = "bahama_mama" @@ -2601,6 +2738,8 @@ glass_name = "Bahama Mama" glass_desc = "Tropical cocktail." + allergen_type = FRUIT + /datum/reagent/ethanol/bananahonk name = "Banana Mama" id = "bananahonk" @@ -2613,6 +2752,8 @@ glass_name = "Banana Honk" glass_desc = "A drink from Banana Heaven." + allergen_type = FRUIT|DAIRY + /datum/reagent/ethanol/barefoot name = "Barefoot" id = "barefoot" @@ -2624,6 +2765,8 @@ glass_name = "Barefoot" glass_desc = "Barefoot and pregnant." + allergen_type = DAIRY|FRUIT + /datum/reagent/ethanol/beepsky_smash name = "Beepsky Smash" id = "beepskysmash" @@ -2637,6 +2780,8 @@ glass_name = "Beepsky Smash" glass_desc = "Heavy, hot and strong. Just like the Iron fist of the LAW." + allergen_type = FRUIT|GRAINS + /datum/reagent/ethanol/beepsky_smash/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..() M.Stun(2) @@ -2653,6 +2798,8 @@ glass_name = "bilk" glass_desc = "A brew of milk and beer. For those alcoholics who fear osteoporosis." + allergen_type = GRAINS|DAIRY + /datum/reagent/ethanol/black_russian name = "Black Russian" id = "blackrussian" @@ -2664,6 +2811,8 @@ glass_name = "Black Russian" glass_desc = "For the lactose-intolerant. Still as classy as a White Russian." + allergen_type = COFFEE|GRAINS + /datum/reagent/ethanol/bloody_mary name = "Bloody Mary" id = "bloodymary" @@ -2675,6 +2824,8 @@ glass_name = "Bloody Mary" glass_desc = "Tomato juice, mixed with Vodka and a lil' bit of lime. Tastes like liquid murder." + allergen_type = GRAINS|FRUIT + /datum/reagent/ethanol/booger name = "Booger" id = "booger" @@ -2686,6 +2837,8 @@ glass_name = "Booger" glass_desc = "Ewww..." + allergen_type = DAIRY|FRUIT + /datum/reagent/ethanol/coffee/brave_bull name = "Brave Bull" id = "bravebull" @@ -2709,6 +2862,8 @@ glass_name = "Changeling Sting" glass_desc = "A stingy drink." + allergen_type = FRUIT|GRAINS + /datum/reagent/ethanol/martini name = "Classic Martini" id = "martini" @@ -2720,6 +2875,8 @@ glass_name = "classic martini" glass_desc = "Damn, the bartender even stirred it, not shook it." + allergen_type = FRUIT + /datum/reagent/ethanol/cuba_libre name = "Cuba Libre" id = "cubalibre" @@ -2779,6 +2936,8 @@ glass_name = "gin fizz" glass_desc = "Refreshingly lemony, deliciously dry." + allergen_type = FRUIT + /datum/reagent/ethanol/grog name = "Grog" id = "grog" @@ -2788,7 +2947,6 @@ color = "#FFBB00" strength = 100 - glass_name = "grog" glass_desc = "A fine and cepa drink for Space." @@ -2803,6 +2961,8 @@ glass_name = "Erika Surprise" glass_desc = "The surprise is, it's green!" + allergen_type = GRAINS|FRUIT + /datum/reagent/ethanol/gargle_blaster name = "Pan-Galactic Gargle Blaster" id = "gargleblaster" @@ -2817,6 +2977,8 @@ glass_name = "Pan-Galactic Gargle Blaster" glass_desc = "Does... does this mean that Arthur and Ford are on the station? Oh joy." + allergen_type = FRUIT|GRAINS + /datum/reagent/ethanol/gintonic name = "Gin and Tonic" id = "gintonic" @@ -2828,6 +2990,8 @@ glass_name = "gin and tonic" glass_desc = "A mild but still great cocktail. Drink up, like a true Englishman." + allergen_type = FRUIT + /datum/reagent/ethanol/goldschlager name = "Goldschlager" id = "goldschlager" @@ -2840,6 +3004,8 @@ glass_name = "Goldschlager" glass_desc = "100 proof that teen girls will drink anything with gold in it." + allergen_type = GRAINS + /datum/reagent/ethanol/hippies_delight name = "Hippies' Delight" id = "hippiesdelight" @@ -2853,6 +3019,8 @@ glass_name = "Hippie's Delight" glass_desc = "A drink enjoyed by people during the 1960's." + allergen_type = FRUIT|GRAINS|FUNGI + /datum/reagent/ethanol/hooch name = "Hooch" id = "hooch" @@ -2890,6 +3058,8 @@ glass_name = "Irish Car Bomb" glass_desc = "An irish car bomb." + allergen_type = DAIRY|GRAINS + /datum/reagent/ethanol/coffee/irishcoffee name = "Irish Coffee" id = "irishcoffee" @@ -2901,6 +3071,8 @@ glass_name = "Irish coffee" glass_desc = "Coffee and alcohol. More fun than a Mimosa to drink in the morning." + allergen_type = COFFEE|DAIRY + /datum/reagent/ethanol/irish_cream name = "Irish Cream" id = "irishcream" @@ -2912,6 +3084,8 @@ glass_name = "Irish cream" glass_desc = "It's cream, mixed with whiskey. What else would you expect from the Irish?" + allergen_type = DAIRY + /datum/reagent/ethanol/longislandicedtea name = "Long Island Iced Tea" id = "longislandicedtea" @@ -2923,6 +3097,8 @@ glass_name = "Long Island iced tea" glass_desc = "The liquor cabinet, brought together in a delicious mix. Intended for middle-aged alcoholic women only." + allergen_type = GRAINS|FRUIT + /datum/reagent/ethanol/manhattan name = "Manhattan" id = "manhattan" @@ -2934,6 +3110,8 @@ glass_name = "Manhattan" glass_desc = "The Detective's undercover drink of choice. He never could stomach gin..." + allergen_type = GRAINS + /datum/reagent/ethanol/manhattan_proj name = "Manhattan Project" id = "manhattan_proj" @@ -2957,6 +3135,8 @@ glass_name = "The Manly Dorf" glass_desc = "A manly concotion made from Ale and Beer. Intended for true men only." + allergen_type = GRAINS + /datum/reagent/ethanol/margarita name = "Margarita" id = "margarita" @@ -2968,6 +3148,8 @@ glass_name = "margarita" glass_desc = "On the rocks with salt on the rim. Arriba~!" + allergen_type = FRUIT + /datum/reagent/ethanol/mead name = "Mead" id = "mead" @@ -3007,6 +3189,8 @@ glass_icon = DRINK_ICON_NOISY glass_special = list("neuroright") + allergen_type = FRUIT|GRAINS + /datum/reagent/ethanol/neurotoxin/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..() M.Weaken(3) @@ -3071,6 +3255,8 @@ glass_name = "Sbiten" glass_desc = "A spicy mix of Vodka and Spice. Very hot." + allergen_type = GRAINS + /datum/reagent/ethanol/screwdrivercocktail name = "Screwdriver" id = "screwdrivercocktail" @@ -3082,6 +3268,8 @@ glass_name = "Screwdriver" glass_desc = "A simple, yet superb mixture of Vodka and orange juice. Just the thing for the tired engineer." + allergen_type = FRUIT|GRAINS + /datum/reagent/ethanol/silencer name = "Silencer" id = "silencer" @@ -3106,6 +3294,8 @@ glass_name = "Singulo" glass_desc = "A blue-space beverage." + allergen_type = GRAINS|FRUIT + /datum/reagent/ethanol/snowwhite name = "Snow White" id = "snowwhite" @@ -3118,6 +3308,8 @@ glass_name = "Snow White" glass_desc = "A cold refreshment." + allergen_type = GRAINS|FRUIT + /datum/reagent/ethanol/suidream name = "Sui Dream" id = "suidream" @@ -3130,6 +3322,8 @@ glass_name = "Sui Dream" glass_desc = "A froofy, fruity, and sweet mixed drink. Understanding the name only brings shame." + allergen_type = FRUIT + /datum/reagent/ethanol/syndicatebomb name = "Syndicate Bomb" id = "syndicatebomb" @@ -3141,6 +3335,8 @@ glass_name = "Syndicate Bomb" glass_desc = "Tastes like terrorism!" + allergen_type = GRAINS + /datum/reagent/ethanol/tequilla_sunrise name = "Tequila Sunrise" id = "tequillasunrise" @@ -3152,6 +3348,8 @@ glass_name = "Tequilla Sunrise" glass_desc = "Oh great, now you feel nostalgic about sunrises back on Earth..." + allergen_type = FRUIT + /datum/reagent/ethanol/threemileisland name = "Three Mile Island Iced Tea" id = "threemileisland" @@ -3164,6 +3362,8 @@ glass_name = "Three Mile Island iced tea" glass_desc = "A glass of this is sure to prevent a meltdown." + allergen_type = GRAINS|FRUIT + /datum/reagent/ethanol/toxins_special name = "Toxins Special" id = "phoronspecial" @@ -3189,6 +3389,7 @@ glass_name = "vodka martini" glass_desc ="A bastardization of the classic martini. Still great." + allergen_type = GRAINS /datum/reagent/ethanol/vodkatonic name = "Vodka and Tonic" @@ -3201,6 +3402,7 @@ glass_name = "vodka and tonic" glass_desc = "For when a gin and tonic isn't Russian enough." + allergen_type = GRAINS /datum/reagent/ethanol/white_russian name = "White Russian" @@ -3213,6 +3415,7 @@ glass_name = "White Russian" glass_desc = "A very nice looking drink. But that's just, like, your opinion, man." + allergen_type = COFFEE|GRAINS|DAIRY /datum/reagent/ethanol/whiskey_cola name = "Whiskey Cola" @@ -3226,6 +3429,7 @@ glass_name = "whiskey cola" glass_desc = "An innocent-looking mixture of cola and Whiskey. Delicious." + allergen_type = GRAINS /datum/reagent/ethanol/whiskeysoda name = "Whiskey Soda" @@ -3239,6 +3443,8 @@ glass_name = "whiskey soda" glass_desc = "Ultimate refreshment." + allergen_type = GRAINS + /datum/reagent/ethanol/specialwhiskey // I have no idea what this is and where it comes from name = "Special Blend Whiskey" id = "specialwhiskey" @@ -3250,6 +3456,8 @@ glass_name = "special blend whiskey" glass_desc = "Just when you thought regular station whiskey was good... This silky, amber goodness has to come along and ruin everything." + allergen_type = GRAINS + /datum/reagent/ethanol/unathiliquor name = "Redeemer's Brew" id = "unathiliquor" @@ -3286,6 +3494,8 @@ glass_name = "Sake Bomb" glass_desc = "Some sake mixed into a pint of beer." + allergen_type = GRAINS + /datum/reagent/ethanol/tamagozake name = "Tamagozake" id = "tamagozake" @@ -3298,6 +3508,8 @@ glass_name = "Tamagozake" glass_desc = "An egg cracked into sake and sugar." + allergen_type = GRAINS|DAIRY + /datum/reagent/ethanol/ginzamary name = "Ginza Mary" id = "ginzamary" @@ -3309,6 +3521,8 @@ glass_name = "Ginza Mary" glass_desc = "Tomato juice, vodka, and sake make something not quite completely unlike a Bloody Mary." + allergen_type = FRUIT|GRAINS + /datum/reagent/ethanol/tokyorose name = "Tokyo Rose" id = "tokyorose" @@ -3320,6 +3534,8 @@ glass_name = "Tokyo Rose" glass_desc = "It's kinda pretty!" + allergen_type = GRAINS|FRUIT + /datum/reagent/ethanol/saketini name = "Saketini" id = "saketini" @@ -3331,16 +3547,20 @@ glass_name = "Saketini" glass_desc = "What are you doing drinking this outside of New Kyoto?" + allergen_type = GRAINS + /datum/reagent/ethanol/coffee/elysiumfacepunch name = "Elysium Facepunch" id = "elysiumfacepunch" - description = "A lothesome cocktail favored by Heaven's skeleton shift workers." + description = "A loathesome cocktail favored by Heaven's skeleton shift workers." taste_description = "sour coffee" color = "#8f7729" strength = 20 glass_name = "Elysium Facepunch" - glass_desc = "A lothesome cocktail favored by Heaven's skeleton shift workers." + glass_desc = "A loathesome cocktail favored by Heaven's skeleton shift workers." + + allergen_type = COFFEE|FRUIT /datum/reagent/ethanol/erebusmoonrise name = "Erebus Moonrise" @@ -3353,6 +3573,8 @@ glass_name = "Erebus Moonrise" glass_desc = "A deeply alcoholic mix, popular in Nyx." + allergen_type = GRAINS + /datum/reagent/ethanol/balloon name = "Balloon" id = "balloon" @@ -3364,6 +3586,8 @@ glass_name = "Balloon" glass_desc = "A strange drink invented in the aerostats of Venus." + allergen_type = DAIRY|FRUIT + /datum/reagent/ethanol/natunabrandy name = "Natuna Brandy" id = "natunabrandy" @@ -3376,6 +3600,8 @@ glass_desc = "On Natuna, they do the best with what they have." glass_special = list(DRINK_FIZZ) + allergen_type = GRAINS + /datum/reagent/ethanol/euphoria name = "Euphoria" id = "euphoria" @@ -3387,6 +3613,8 @@ glass_name = "Euphoria" glass_desc = "Invented by a Eutopian marketing team, this is one of the most expensive cocktails in existence." + allergen_type = GRAINS|FRUIT + /datum/reagent/ethanol/xanaducannon name = "Xanadu Cannon" id = "xanaducannon" @@ -3399,6 +3627,8 @@ glass_name = "Xanadu Cannon" glass_desc = "Common in the entertainment districts of Titan." + allergen_type = GRAINS + /datum/reagent/ethanol/debugger name = "Debugger" id = "debugger" @@ -3423,6 +3653,8 @@ glass_name = "Spacer's Brew" glass_desc = "Ethanol and orange soda. A common emergency drink on frontier colonies." + allergen_type = FRUIT + /datum/reagent/ethanol/binmanbliss name = "Binman Bliss" id = "binmanbliss" @@ -3434,6 +3666,8 @@ glass_name = "Binman Bliss" glass_desc = "A dry cocktail popular on Binma." + allergen_type = GRAINS + /datum/reagent/ethanol/chrysanthemum name = "Chrysanthemum" id = "chrysanthemum" @@ -3445,6 +3679,8 @@ glass_name = "Chrysanthemum" glass_desc = "An exotic cocktail from New Kyoto." + allergen_type = GRAINS|FRUIT + /datum/reagent/ethanol/bitters name = "Bitters" id = "bitters" @@ -3456,6 +3692,8 @@ glass_name = "Bitters" glass_desc = "A blend of fermented fruits and herbs, commonly used in cocktails." + allergen_type = FRUIT + /datum/reagent/ethanol/soemmerfire name = "Soemmer Fire" id = "soemmerfire" @@ -3467,6 +3705,8 @@ glass_name = "Soemmer Fire" glass_desc = "A painfully hot mixed drink, for when you absolutely need to hurt right now." + allergen_type = GRAINS + /datum/reagent/drink/soemmerfire/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..() if(alien == IS_DIONA) @@ -3484,6 +3724,8 @@ glass_name = "Wine Brandy" glass_desc = "A very classy looking after-dinner drink." + allergen_type = FRUIT + /datum/reagent/ethanol/morningafter name = "Morning After" id = "morningafter" @@ -3495,6 +3737,8 @@ glass_name = "Morning After" glass_desc = "The finest hair of the dog, coming up!" + allergen_type = GRAINS + /datum/reagent/ethanol/vesper name = "Vesper" id = "vesper" @@ -3506,6 +3750,8 @@ glass_name = "Vesper" glass_desc = "A dry martini, ice cold and well shaken." + allergen_type = FRUIT|GRAINS + /datum/reagent/ethanol/rotgut name = "Rotgut Fever Dream" id = "rotgut" @@ -3518,6 +3764,8 @@ glass_name = "Rotgut Fever Dream" glass_desc = "Why are you doing this to yourself?" + allergen_type = GRAINS + /datum/reagent/ethanol/voxdelight name = "Vox's Delight" id = "voxdelight" @@ -3549,6 +3797,8 @@ glass_name = "Screaming Viking" glass_desc = "A boozy, citrus-packed brew." + allergen_type = FRUIT|GRAINS + /datum/reagent/ethanol/robustin name = "Robustin" id = "robustin" @@ -3560,6 +3810,8 @@ glass_name = "Robustin" glass_desc = "A bootleg brew of all the worst things on station." + allergen_type = GRAINS|DAIRY + /datum/reagent/ethanol/virginsip name = "Virgin Sip" id = "virginsip" @@ -3582,6 +3834,8 @@ glass_name = "Jelly Shot" glass_desc = "A thick and vibrant alcoholic gel, perfect for the night life." + allergen_type = FRUIT + /datum/reagent/ethanol/slimeshot name = "Named Bullet" id = "slimeshot" @@ -3602,13 +3856,15 @@ /datum/reagent/ethanol/cloverclub name = "Clover Club" id = "cloverclub" - description = "A light and refreshing rasberry cocktail." + description = "A light and refreshing raspberry cocktail." taste_description = "sweet raspberry" color = "#dd00a6" // rgb(221, 0, 166) strength = 30 glass_name = "Clover Club" - glass_desc = "A light and refreshing rasberry cocktail." + glass_desc = "A light and refreshing raspberry cocktail." + + allergen_type = FRUIT /datum/reagent/ethanol/negroni name = "Negroni" @@ -3621,6 +3877,8 @@ glass_name = "Negroni" glass_desc = "A dark, complicated blend, perfect for relaxing nights by the fire." + allergen_type = FRUIT + /datum/reagent/ethanol/whiskeysour name = "Whiskey Sour" id = "whiskeysour" @@ -3632,6 +3890,8 @@ glass_name = "Whiskey Sour" glass_desc = "A smokey, refreshing lemoned whiskey." + allergen_type = GRAINS|FRUIT + /datum/reagent/ethanol/oldfashioned name = "Old Fashioned" id = "oldfashioned" @@ -3643,6 +3903,8 @@ glass_name = "Old Fashioned" glass_desc = "A classic mix of whiskey and sugar... simple and direct." + allergen_type = GRAINS + /datum/reagent/ethanol/daiquiri name = "Daiquiri" id = "daiquiri" @@ -3654,6 +3916,8 @@ glass_name = "Daiquiri" glass_desc = "Refeshing rum and citrus. Time for a tropical get away." + allergen_type = FRUIT + /datum/reagent/ethanol/mojito name = "Mojito" id = "mojito" @@ -3666,6 +3930,8 @@ glass_desc = "Minty rum and citrus, made for sailing." glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT + /datum/reagent/ethanol/paloma name = "Paloma" id = "paloma" @@ -3678,6 +3944,8 @@ glass_desc = "Tequila and citrus, iced just right..." glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT + /datum/reagent/ethanol/piscosour name = "Pisco Sour" id = "piscosour" @@ -3689,6 +3957,8 @@ glass_name = "Pisco Sour" glass_desc = "South American bliss, served ice cold." + allergen_type = FRUIT + /datum/reagent/ethanol/coldfront name = "Cold Front" id = "coldfront" @@ -3702,6 +3972,8 @@ glass_name = "Cold Front" glass_desc = "Minty, rich, and painfully cold. It's a blizzard in a cup." + allergen_type = GRAINS + /datum/reagent/ethanol/mintjulep name = "Mint Julep" id = "mintjulep" @@ -3714,6 +3986,8 @@ glass_name = "Mint Julep" glass_desc = "Minty and refreshing, perfect for a hot day." + allergen_type = GRAINS + /datum/reagent/ethanol/godsake name = "Gods Sake" id = "godsake" @@ -3725,6 +3999,8 @@ glass_name = "God's Sake" glass_desc = "A glass of sake." + allergen_type = GRAINS + /datum/reagent/ethanol/godka name = "Godka" id = "godka" @@ -3737,6 +4013,8 @@ glass_desc = "The glass is barely able to contain the wodka. Xynta." glass_special = list(DRINK_FIZZ) + allergen_type = GRAINS + /datum/reagent/ethanol/godka/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..() M.apply_effect(max(M.radiation - 5 * removed, 0), IRRADIATE, check_protection = 0) @@ -3765,6 +4043,8 @@ glass_desc = "A very pious looking drink." glass_icon = DRINK_ICON_NOISY + allergen_type = FRUIT + /datum/reagent/ethanol/holy_mary name = "Holy Mary" id = "holymary" @@ -3776,6 +4056,8 @@ glass_name = "Holy Mary" glass_desc = "Angel's Ichor, mixed with Vodka and a lil' bit of lime. Tastes like liquid ascension." + allergen_type = FRUIT|GRAINS + /datum/reagent/ethanol/angelswrath name = "Angels Wrath" id = "angelswrath" @@ -3791,6 +4073,8 @@ glass_icon = DRINK_ICON_NOISY glass_special = list(DRINK_FIZZ) + allergen_type = FRUIT|GRAINS + /datum/reagent/ethanol/angelskiss name = "Angels Kiss" id = "angelskiss" @@ -3802,6 +4086,8 @@ glass_name = "Angel's Kiss" glass_desc = "Miracle time!" + allergen_type = FRUIT|GRAINS + /datum/reagent/ethanol/ichor_mead name = "Ichor Mead" id = "ichor_mead" @@ -3813,6 +4099,8 @@ glass_name = "Ichor Mead" glass_desc = "A trip to Valhalla." + allergen_type = FRUIT|GRAINS + /datum/reagent/ethanol/schnapps_pep name = "Peppermint Schnapps" id = "schnapps_pep" @@ -3835,6 +4123,8 @@ glass_name = "peach schnapps" glass_desc = "A glass of peach schnapps. It seems like it'd be better, mixed." + allergen_type = FRUIT + /datum/reagent/ethanol/schnapps_lem name = "Lemonade Schnapps" id = "schnapps_lem" @@ -3846,6 +4136,8 @@ glass_name = "lemonade schnapps" glass_desc = "A glass of lemonade schnapps. It seems like it'd be better, mixed." + allergen_type = FRUIT + /datum/reagent/ethanol/fusionnaire name = "Fusionnaire" id = "fusionnaire" @@ -3857,6 +4149,8 @@ glass_name = "fusionnaire" glass_desc = "A relatively new cocktail, mostly served in the bars of NanoTrasen owned stations." + allergen_type = FRUIT|GRAINS + /datum/reagent/ethanol/deathbell name = "Deathbell" id = "deathbell" @@ -3871,6 +4165,8 @@ glass_name = "Deathbell" glass_desc = "The perfect blend of the most alcoholic things a bartender can get their hands on." + allergen_type = GRAINS|DAIRY|FRUIT + /datum/reagent/ethanol/deathbell/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed) ..()