mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Merge pull request #14807 from SatinIsle/Chocolate-Allergy
Chocolate Allergy
This commit is contained in:
committed by
CHOMPStation2
parent
95d6752941
commit
c4f4980adf
@@ -38,6 +38,7 @@
|
||||
#define ALLERGEN_SUGARS 0x400 // For unathi-like reactions
|
||||
#define ALLERGEN_EGGS 0x800 // For Skrell eggs allergy
|
||||
#define ALLERGEN_STIMULANT 0x1000 // Stimulants are what makes the Tajaran heart go ruh roh - not just coffee!
|
||||
#define ALLERGEN_CHOCOLATE 0x2000 // Makes dogs die if they want to?
|
||||
|
||||
// Allergen reactions
|
||||
#define AG_PHYS_DMG 0x1 // brute
|
||||
|
||||
@@ -311,6 +311,13 @@
|
||||
custom_only = FALSE
|
||||
allergen = ALLERGEN_COFFEE
|
||||
|
||||
/datum/trait/neutral/allergy/chocolate
|
||||
name = "Allergy: Chocolate"
|
||||
desc = "You're highly allergic to coco and chocolate in specific. NB: By taking this trait, you acknowledge there is a significant risk your character may suffer a fatal reaction if exposed to this substance."
|
||||
cost = 0
|
||||
custom_only = FALSE
|
||||
allergen = ALLERGEN_CHOCOLATE
|
||||
|
||||
/datum/trait/neutral/allergy_reaction
|
||||
name = "Allergy Reaction: Disable Toxicity"
|
||||
desc = "Take this trait to disable the toxic damage effect of being exposed to one of your allergens. Combine with the Disable Suffocation trait to have purely nonlethal reactions."
|
||||
|
||||
@@ -435,6 +435,7 @@
|
||||
reagent_state = SOLID
|
||||
nutriment_factor = 5
|
||||
color = "#302000"
|
||||
allergen_type = ALLERGEN_CHOCOLATE
|
||||
|
||||
/datum/reagent/nutriment/chocolate
|
||||
name = "Chocolate"
|
||||
@@ -444,6 +445,7 @@
|
||||
color = "#582815"
|
||||
nutriment_factor = 5
|
||||
taste_mult = 1.3
|
||||
allergen_type = ALLERGEN_CHOCOLATE
|
||||
|
||||
/datum/reagent/nutriment/instantjuice
|
||||
name = "Juice Powder"
|
||||
@@ -691,6 +693,7 @@
|
||||
description = "A dry mix for making delicious brownies."
|
||||
reagent_state = SOLID
|
||||
color = "#441a03"
|
||||
allergen_type = ALLERGEN_CHOCOLATE
|
||||
|
||||
/datum/reagent/cakebatter
|
||||
name = "Cake Batter"
|
||||
@@ -1224,6 +1227,7 @@
|
||||
|
||||
glass_name = "chocolate milk"
|
||||
glass_desc = "Deliciously fattening!"
|
||||
allergen_type = ALLERGEN_CHOCOLATE
|
||||
|
||||
/datum/reagent/drink/milk/affect_ingest(var/mob/living/carbon/M, var/alien, var/removed)
|
||||
..()
|
||||
@@ -1664,6 +1668,7 @@
|
||||
cup_icon_state = "cup_coco"
|
||||
cup_name = "cup of hot chocolate"
|
||||
cup_desc = "Made with love! And cocoa beans."
|
||||
allergen_type = ALLERGEN_CHOCOLATE
|
||||
|
||||
/datum/reagent/drink/soda/sodawater
|
||||
name = "Soda Water"
|
||||
@@ -1845,7 +1850,7 @@
|
||||
|
||||
glass_name = "Chocolate Milkshake"
|
||||
glass_desc = "A refreshing chocolate milkshake, just like mom used to make."
|
||||
allergen_type = ALLERGEN_DAIRY //Made with dairy products
|
||||
allergen_type = ALLERGEN_DAIRY|ALLERGEN_CHOCOLATE //Made with dairy products
|
||||
|
||||
/datum/reagent/drink/milkshake/berryshake
|
||||
name = "Berry Milkshake"
|
||||
|
||||
Reference in New Issue
Block a user