diff --git a/code/__DEFINES/mobs.dm b/code/__DEFINES/mobs.dm index 284b0e4d745..2ca76be31b2 100644 --- a/code/__DEFINES/mobs.dm +++ b/code/__DEFINES/mobs.dm @@ -64,11 +64,12 @@ // Factor of how fast mob nutrition decreases #define HUNGER_FACTOR 0.1 -// Taste sensitivity - the more the more reagents you'll taste -#define TASTE_SENSITIVITY_NORMAL 1 -#define TASTE_SENSITIVITY_SHARP 1.5 -#define TASTE_SENSITIVITY_DULL 0.75 -#define TASTE_SENSITIVITY_NO_TASTE 0 +// Taste sensitivity - lower is more sensitive +// Represents the minimum portion of total taste the mob can sense +#define TASTE_SENSITIVITY_NORMAL 15 +#define TASTE_SENSITIVITY_SHARP 7.5 +#define TASTE_SENSITIVITY_DULL 20 +#define TASTE_SENSITIVITY_NO_TASTE 101 // Reagent type flags, defines the types of mobs this reagent will affect #define ORGANIC 1 diff --git a/code/__HELPERS/lists.dm b/code/__HELPERS/lists.dm index 9e01753d492..49983658d48 100644 --- a/code/__HELPERS/lists.dm +++ b/code/__HELPERS/lists.dm @@ -799,3 +799,29 @@ proc/dd_sortedObjectList(list/incoming) L.Swap(start++, end--) return L + +/proc/counterlist_scale(list/L, scalar) + var/list/out = list() + for(var/key in L) + out[key] = L[key] * scalar + . = out + +/proc/counterlist_sum(list/L) + . = 0 + for(var/key in L) + . += L[key] + +/proc/counterlist_normalise(list/L) + var/avg = counterlist_sum(L) + if(avg != 0) + . = counterlist_scale(L, 1 / avg) + else + . = L + +/proc/counterlist_combine(list/L1, list/L2) + for(var/key in L2) + var/other_value = L2[key] + if(key in L1) + L1[key] += other_value + else + L1[key] = other_value \ No newline at end of file diff --git a/code/modules/food_and_drinks/food.dm b/code/modules/food_and_drinks/food.dm index e931db813cf..6293e72e689 100644 --- a/code/modules/food_and_drinks/food.dm +++ b/code/modules/food_and_drinks/food.dm @@ -12,7 +12,7 @@ var/apply_method = "swallow" var/transfer_efficiency = 1.0 var/instant_application = 0 //if we want to bypass the forcedfeed delay - var/taste = TRUE//whether you can taste eating from this + var/can_taste = TRUE//whether you can taste eating from this var/antable = TRUE // Will ants come near it? var/ant_location = null var/ant_timer = null diff --git a/code/modules/food_and_drinks/food/snacks.dm b/code/modules/food_and_drinks/food/snacks.dm index b1cd3f091ff..8ee4ea8b06c 100644 --- a/code/modules/food_and_drinks/food/snacks.dm +++ b/code/modules/food_and_drinks/food/snacks.dm @@ -16,9 +16,22 @@ var/cooktype[0] var/cooked_type = null //for microwave cooking. path of the resulting item after microwaving var/total_w_class = 0 //for the total weight an item of food can carry + var/list/tastes // for example list("crisps" = 2, "salt" = 1) +/obj/item/reagent_containers/food/snacks/add_initial_reagents() + if(!list_reagents) + return + if(!tastes || !tastes.len) + return ..() + var/list/nutritious_reagents = list("nutriment", "protein", "plantmatter") + for(var/reagent_id in list_reagents) + var/amount = list_reagents[reagent_id] + if(reagent_id in nutritious_reagents) + reagents.add_reagent(reagent_id, amount, tastes.Copy()) + else + reagents.add_reagent(reagent_id, amount) - //Placeholder for effect that trigger on eating that aren't tied to reagents. +//Placeholder for effect that trigger on eating that aren't tied to reagents. /obj/item/reagent_containers/food/snacks/proc/On_Consume(mob/M, mob/user) if(!user) return @@ -153,11 +166,13 @@ C.adjustFireLoss(-5) qdel(src) G.last_eaten = world.time + G.taste(reagents) else M.visible_message("[M] takes a bite of [src].","You take a bite of [src].") playsound(loc,'sound/items/eatfood.ogg', rand(10,50), 1) bitecount++ G.last_eaten = world.time + G.taste(reagents) else if(ismouse(M)) var/mob/living/simple_animal/mouse/N = M to_chat(N, text("You nibble away at [src].")) @@ -166,6 +181,7 @@ //N.emote("nibbles away at the [src]") N.adjustBruteLoss(-1) N.adjustFireLoss(-1) + N.taste(reagents) /obj/item/reagent_containers/food/snacks/sliceable/examine(mob/user) . = ..() diff --git a/code/modules/hydroponics/seeds.dm b/code/modules/hydroponics/seeds.dm index 753186831fd..d35645924fb 100644 --- a/code/modules/hydroponics/seeds.dm +++ b/code/modules/hydroponics/seeds.dm @@ -160,15 +160,23 @@ return result -/obj/item/seeds/proc/prepare_result(var/obj/item/reagent_containers/food/snacks/grown/T) - if(T.reagents) - for(var/reagent_id in reagents_add) - if(reagent_id == "blood") // Hack to make blood in plants always O- - T.reagents.add_reagent(reagent_id, 1 + round(potency * reagents_add[reagent_id], 1), list("blood_type"="O-")) - continue +/obj/item/seeds/proc/prepare_result(var/obj/item/T) + if(!T.reagents) + CRASH("[T] has no reagents.") + for(var/reagent_id in reagents_add) + var/amount = 1 + round(potency * reagents_add[reagent_id], 1) + var/list/data = null + if(reagent_id == "blood") // Hack to make blood in plants always O- + data = list("blood_type"="O-") + continue + var/list/nutritious_reagents = list("nutriment", "protein", "plantmatter") + if(reagent_id in nutritious_reagents) + if(istype(T, /obj/item/reagent_containers/food/snacks/grown)) + var/obj/item/reagent_containers/food/snacks/grown/grown_edible = T + data = grown_edible.tastes - T.reagents.add_reagent(reagent_id, 1 + round(potency * reagents_add[reagent_id]), 1) - return 1 + T.reagents.add_reagent(reagent_id, amount, data) + return 1 /// Setters procs /// diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index a8dbaa7ac2f..0421481a8d9 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -1000,7 +1000,7 @@ var/list/ventcrawl_machinery = list(/obj/machinery/atmospherics/unary/vent_pump, else if(!forceFed(toEat, user, fullness)) return 0 - consume(toEat, bitesize_override, taste = toEat.taste) + consume(toEat, bitesize_override, can_taste_container = toEat.can_taste) score_foodeaten++ return 1 @@ -1051,7 +1051,7 @@ var/list/ventcrawl_machinery = list(/obj/machinery/atmospherics/unary/vent_pump, /*TO DO - If/when stomach organs are introduced, override this at the human level sending the item to the stomach so that different stomachs can handle things in different ways VB*/ -/mob/living/carbon/proc/consume(var/obj/item/reagent_containers/food/toEat, var/bitesize_override, var/taste = TRUE) +/mob/living/carbon/proc/consume(var/obj/item/reagent_containers/food/toEat, var/bitesize_override, var/can_taste_container = TRUE) var/this_bite = bitesize_override ? bitesize_override : toEat.bitesize if(!toEat.reagents) return @@ -1060,8 +1060,8 @@ so that different stomachs can handle things in different ways VB*/ if(toEat.consume_sound) playsound(loc, toEat.consume_sound, rand(10,50), 1) if(toEat.reagents.total_volume) - if(taste) - taste_reagents(toEat.reagents) + if(can_taste_container) + taste(toEat.reagents) var/fraction = min(this_bite/toEat.reagents.total_volume, 1) toEat.reagents.reaction(src, toEat.apply_type, fraction) toEat.reagents.trans_to(src, this_bite*toEat.transfer_efficiency) diff --git a/code/modules/mob/living/carbon/human/human.dm b/code/modules/mob/living/carbon/human/human.dm index 6481f6bc04a..d33070ea363 100644 --- a/code/modules/mob/living/carbon/human/human.dm +++ b/code/modules/mob/living/carbon/human/human.dm @@ -1946,12 +1946,6 @@ Eyes need to have significantly high darksight to shine unless the mob has the X .["Make superhero"] = "?_src_=vars;makesuper=[UID()]" . += "---" -/mob/living/carbon/human/get_taste_sensitivity() - if(dna.species) - return dna.species.taste_sensitivity - else - return 1 - /mob/living/carbon/human/proc/special_post_clone_handling() if(mind && mind.assigned_role == "Cluwne") //HUNKE your suffering never stops makeCluwne() diff --git a/code/modules/mob/living/living.dm b/code/modules/mob/living/living.dm index f9dba949b4b..08c032ee541 100644 --- a/code/modules/mob/living/living.dm +++ b/code/modules/mob/living/living.dm @@ -914,44 +914,6 @@ if(pulling && !(pulling in orange(1))) stop_pulling() -/mob/living/proc/get_taste_sensitivity() - return 1 - -/mob/living/proc/taste_reagents(datum/reagents/tastes) - if(!get_taste_sensitivity())//this also works for IPCs and stuff that returns 0 here - return - - var/do_not_taste_at_all = 1//so we don't spam with recent tastes - - var/taste_sum = 0 - var/list/taste_list = list()//associative list so we can stack stuff that tastes the same - var/list/final_taste_list = list()//final list of taste strings - - for(var/datum/reagent/R in tastes.reagent_list) - taste_sum += R.volume * R.taste_strength - if(!R.taste_message)//set to null; no taste, like water - continue - taste_list[R.taste_message] += R.volume * R.taste_strength - - for(var/R in taste_list) - if(recent_tastes[R] && (world.time - recent_tastes[R] < 12 SECONDS)) - continue - - do_not_taste_at_all = 0//something was fresh enough to taste; could still be bland enough to be unrecognizable - - if(taste_list[R] / taste_sum >= 0.15 / get_taste_sensitivity())//we return earlier if the proc returns a 0; won't break the universe - final_taste_list += R - recent_tastes[R] = world.time - - if(do_not_taste_at_all) - return //no message spam - - if(final_taste_list.len == 0)//too many reagents - none meet their thresholds - to_chat(src, "You can't really make out what you're tasting...") - return - - to_chat(src, "You can taste [english_list(final_taste_list)].") - /mob/living/proc/update_z(new_z) // 1+ to register, null to unregister if(registered_z != new_z) if(registered_z) diff --git a/code/modules/reagents/chemistry/holder.dm b/code/modules/reagents/chemistry/holder.dm index 69023a3e6e8..f02a8400bb4 100644 --- a/code/modules/reagents/chemistry/holder.dm +++ b/code/modules/reagents/chemistry/holder.dm @@ -785,6 +785,51 @@ var/const/INGEST = 2 trans_data["viruses"] = temp return trans_data +/datum/reagents/proc/generate_taste_message(minimum_percent=15) +// the lower the minimum percent, the more sensitive the message is. + var/list/out = list() + var/list/tastes = list() //descriptor = strength + if(minimum_percent <= 100) + for(var/datum/reagent/R in reagent_list) + if(!R.taste_mult) + continue + + if(istype(R, /datum/reagent/consumable/nutriment)) + var/list/taste_data = R.data + for(var/taste in taste_data) + var/ratio = taste_data[taste] + var/amount = ratio * R.taste_mult * R.volume + if(taste in tastes) + tastes[taste] += amount + else + tastes[taste] = amount + else + var/taste_desc = R.taste_description + var/taste_amount = R.volume * R.taste_mult + if(taste_desc in tastes) + tastes[taste_desc] += taste_amount + else + tastes[taste_desc] = taste_amount + //deal with percentages + // TODO it would be great if we could sort these from strong to weak + var/total_taste = counterlist_sum(tastes) + if(total_taste > 0) + for(var/taste_desc in tastes) + var/percent = tastes[taste_desc]/total_taste * 100 + if(percent < minimum_percent) + continue + var/intensity_desc = "a hint of" + if(percent > minimum_percent * 2 || percent == 100) + intensity_desc = "" + else if(percent > minimum_percent * 3) + intensity_desc = "the strong flavor of" + if(intensity_desc != "") + out += "[intensity_desc] [taste_desc]" + else + out += "[taste_desc]" + + return english_list(out, "something indescribable") + /////////////////////////////////////////////////////////////////////////////////// diff --git a/code/modules/reagents/chemistry/reagents.dm b/code/modules/reagents/chemistry/reagents.dm index d4199c3dcec..577b21ce3be 100644 --- a/code/modules/reagents/chemistry/reagents.dm +++ b/code/modules/reagents/chemistry/reagents.dm @@ -26,8 +26,8 @@ var/drink_icon = null var/drink_name = "Glass of ..what?" var/drink_desc = "You can't really tell what this is." - var/taste_strength = 1 //how easy it is to taste - the more the easier - var/taste_message = "bitterness" //life's bitter by default. Cool points for using a span class for when you're tasting LIQUID FUCKING DEATH + var/taste_mult = 1 //how easy it is to taste - the more the easier + var/taste_description = "bitterness" //life's bitter by default. Cool points for using a span class for when you're tasting LIQUID FUCKING DEATH /datum/reagent/Destroy() . = ..() diff --git a/code/modules/reagents/chemistry/reagents/admin.dm b/code/modules/reagents/chemistry/reagents/admin.dm index 0856955da2b..c238c63a8ff 100644 --- a/code/modules/reagents/chemistry/reagents/admin.dm +++ b/code/modules/reagents/chemistry/reagents/admin.dm @@ -6,7 +6,7 @@ color = "#C8A5DC" // rgb: 200, 165, 220 process_flags = ORGANIC | SYNTHETIC //Adminbuse knows no bounds! can_synth = FALSE - taste_message = "admin abuse" + taste_description = "admin abuse" /datum/reagent/medicine/adminordrazine/on_mob_life(mob/living/carbon/M) M.setCloneLoss(0, FALSE) @@ -58,4 +58,4 @@ name = "Nanites" id = "nanites" description = "Nanomachines that aid in rapid cellular regeneration." - taste_message = "nanomachines, son" + taste_description = "nanomachines, son" diff --git a/code/modules/reagents/chemistry/reagents/alcohol.dm b/code/modules/reagents/chemistry/reagents/alcohol.dm index 6c22360face..6e5ff4846f6 100644 --- a/code/modules/reagents/chemistry/reagents/alcohol.dm +++ b/code/modules/reagents/chemistry/reagents/alcohol.dm @@ -8,7 +8,7 @@ color = "#404030" // rgb: 64, 64, 48 var/dizzy_adj = 3 var/alcohol_perc = 1 //percentage of ethanol in a beverage 0.0 - 1.0 - taste_message = "liquid fire" + taste_description = "liquid fire" /datum/reagent/consumable/ethanol/on_mob_life(mob/living/M) M.AdjustDrunk(alcohol_perc) @@ -46,7 +46,7 @@ drink_icon ="beerglass" drink_name = "Beer glass" drink_desc = "A freezing pint of beer" - taste_message = "beer" + taste_description = "beer" /datum/reagent/consumable/ethanol/cider name = "Cider" @@ -58,7 +58,7 @@ drink_icon = "rewriter" drink_name = "Cider" drink_desc = "a refreshing glass of traditional cider" - taste_message = "cider" + taste_description = "cider" /datum/reagent/consumable/ethanol/whiskey name = "Whiskey" @@ -70,7 +70,7 @@ drink_icon = "whiskeyglass" drink_name = "Glass of whiskey" drink_desc = "The silky, smokey whiskey goodness inside the glass makes the drink look very classy." - taste_message = "whiskey" + taste_description = "whiskey" /datum/reagent/consumable/ethanol/specialwhiskey name = "Special Blend Whiskey" @@ -78,7 +78,7 @@ description = "Just when you thought regular station whiskey was good... This silky, amber goodness has to come along and ruin everything." color = "#664300" // rgb: 102, 67, 0 alcohol_perc = 0.5 - taste_message = "class" + taste_description = "class" /datum/reagent/consumable/ethanol/gin name = "Gin" @@ -90,7 +90,7 @@ drink_icon = "ginvodkaglass" drink_name = "Glass of gin" drink_desc = "A crystal clear glass of Griffeater gin." - taste_message = "gin" + taste_description = "gin" /datum/reagent/consumable/ethanol/absinthe name = "Absinthe" @@ -103,7 +103,7 @@ drink_icon = "absinthebottle" drink_name = "Glass of Absinthe" drink_desc = "The green fairy is going to get you now!" - taste_message = "fucking pain" + taste_description = "fucking pain" //copy paste from LSD... shoot me /datum/reagent/consumable/ethanol/absinthe/on_mob_life(mob/living/M) @@ -126,7 +126,7 @@ drink_icon = "rumglass" drink_name = "Glass of Rum" drink_desc = "Now you want to Pray for a pirate suit, don't you?" - taste_message = "rum" + taste_description = "rum" /datum/reagent/consumable/ethanol/rum/overdose_process(mob/living/M, severity) var/update_flags = STATUS_UPDATE_NONE @@ -142,7 +142,7 @@ drink_icon = "mojito" drink_name = "Glass of Mojito" drink_desc = "Fresh from Spesscuba." - taste_message = "mojito" + taste_description = "mojito" /datum/reagent/consumable/ethanol/vodka name = "Vodka" @@ -153,7 +153,7 @@ drink_icon = "ginvodkaglass" drink_name = "Glass of vodka" drink_desc = "The glass contain wodka. Xynta." - taste_message = "vodka" + taste_description = "vodka" /datum/reagent/consumable/ethanol/sake name = "Sake" @@ -164,7 +164,7 @@ drink_icon = "ginvodkaglass" drink_name = "Glass of Sake" drink_desc = "A glass of Sake." - taste_message = "sake" + taste_description = "sake" /datum/reagent/consumable/ethanol/tequila name = "Tequila" @@ -175,7 +175,7 @@ drink_icon = "tequilaglass" drink_name = "Glass of Tequila" drink_desc = "Now all that's missing is the weird colored shades!" - taste_message = "tequila" + taste_description = "tequila" /datum/reagent/consumable/ethanol/vermouth name = "Vermouth" @@ -186,7 +186,7 @@ drink_icon = "vermouthglass" drink_name = "Glass of Vermouth" drink_desc = "You wonder why you're even drinking this straight." - taste_message = "vermouth" + taste_description = "vermouth" /datum/reagent/consumable/ethanol/wine name = "Wine" @@ -198,7 +198,7 @@ drink_icon = "wineglass" drink_name = "Glass of wine" drink_desc = "A very classy looking drink." - taste_message = "wine" + taste_description = "wine" /datum/reagent/consumable/ethanol/cognac name = "Cognac" @@ -210,7 +210,7 @@ drink_icon = "cognacglass" drink_name = "Glass of cognac" drink_desc = "Damn, you feel like some kind of French aristocrat just by holding this." - taste_message = "cognac" + taste_description = "cognac" /datum/reagent/consumable/ethanol/suicider //otherwise known as "I want to get so smashed my liver gives out and I die from alcohol poisoning". name = "Suicider" @@ -222,7 +222,7 @@ drink_icon = "suicider" drink_name = "Suicider" drink_desc = "You've really hit rock bottom now... your liver packed its bags and left last night." - taste_message = "approaching death" + taste_description = "approaching death" /datum/reagent/consumable/ethanol/ale name = "Ale" @@ -233,7 +233,7 @@ drink_icon = "aleglass" drink_name = "Ale glass" drink_desc = "A freezing pint of delicious Ale" - taste_message = "ale" + taste_description = "ale" /datum/reagent/consumable/ethanol/thirteenloko name = "Thirteen Loko" @@ -247,7 +247,7 @@ drink_icon = "thirteen_loko_glass" drink_name = "Glass of Thirteen Loko" drink_desc = "This is a glass of Thirteen Loko, it appears to be of the highest quality. The drink, not the glass" - taste_message = "party" + taste_description = "party" /datum/reagent/consumable/ethanol/thirteenloko/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -272,7 +272,7 @@ drink_icon = "glass_brown" drink_name = "Glass of bilk" drink_desc = "A brew of milk and beer. For those alcoholics who fear osteoporosis." - taste_message = "bilk" + taste_description = "bilk" /datum/reagent/consumable/ethanol/atomicbomb name = "Atomic Bomb" @@ -284,7 +284,7 @@ drink_icon = "atomicbombglass" drink_name = "Atomic Bomb" drink_desc = "Nanotrasen cannot take legal responsibility for your actions after imbibing." - taste_message = "a long, fiery burn" + taste_description = "a long, fiery burn" /datum/reagent/consumable/ethanol/threemileisland name = "THree Mile Island Iced Tea" @@ -296,7 +296,7 @@ drink_icon = "threemileislandglass" drink_name = "Three Mile Island Ice Tea" drink_desc = "A glass of this is sure to prevent a meltdown." - taste_message = "a creeping heat" + taste_description = "a creeping heat" /datum/reagent/consumable/ethanol/goldschlager name = "Goldschlager" @@ -308,7 +308,7 @@ drink_icon = "ginvodkaglass" drink_name = "Glass of goldschlager" drink_desc = "100 proof that teen girls will drink anything with gold in it." - taste_message = "a deep, spicy warmth" + taste_description = "a deep, spicy warmth" /datum/reagent/consumable/ethanol/patron name = "Patron" @@ -320,7 +320,7 @@ drink_icon = "patronglass" drink_name = "Glass of Patron" drink_desc = "Drinking patron in the bar, with all the subpar ladies." - taste_message = "a gift" + taste_description = "a gift" /datum/reagent/consumable/ethanol/gintonic name = "Gin and Tonic" @@ -332,7 +332,7 @@ drink_icon = "gintonicglass" drink_name = "Gin and Tonic" drink_desc = "A mild but still great cocktail. Drink up, like a true Englishman." - taste_message = "bitter medicine" + taste_description = "bitter medicine" /datum/reagent/consumable/ethanol/cuba_libre name = "Cuba Libre" @@ -344,8 +344,8 @@ drink_icon = "cubalibreglass" drink_name = "Cuba Libre" drink_desc = "A classic mix of rum and cola." - taste_message = "fruity alcohol" - taste_message = "liberation" + taste_description = "fruity alcohol" + taste_description = "liberation" /datum/reagent/consumable/ethanol/whiskey_cola name = "Whiskey Cola" @@ -357,7 +357,7 @@ drink_icon = "whiskeycolaglass" drink_name = "Whiskey Cola" drink_desc = "An innocent-looking mixture of cola and Whiskey. Delicious." - taste_message = "whiskey and coke" + taste_description = "whiskey and coke" /datum/reagent/consumable/ethanol/martini name = "Classic Martini" @@ -369,7 +369,7 @@ drink_icon = "martiniglass" drink_name = "Classic Martini" drink_desc = "Damn, the bartender even stirred it, not shook it." - taste_message = "class" + taste_description = "class" /datum/reagent/consumable/ethanol/vodkamartini name = "Vodka Martini" @@ -381,7 +381,7 @@ drink_icon = "martiniglass" drink_name = "Vodka martini" drink_desc ="A bastardisation of the classic martini. Still great." - taste_message = "class and potatoes" + taste_description = "class and potatoes" /datum/reagent/consumable/ethanol/white_russian name = "White Russian" @@ -393,7 +393,7 @@ drink_icon = "whiterussianglass" drink_name = "White Russian" drink_desc = "A very nice looking drink. But that's just, like, your opinion, man." - taste_message = "very creamy alcohol" + taste_description = "very creamy alcohol" /datum/reagent/consumable/ethanol/screwdrivercocktail name = "Screwdriver" @@ -405,7 +405,7 @@ drink_icon = "screwdriverglass" drink_name = "Screwdriver" drink_desc = "A simple, yet superb mixture of Vodka and orange juice. Just the thing for the tired engineer." - taste_message = "a naughty secret" + taste_description = "a naughty secret" /datum/reagent/consumable/ethanol/booger name = "Booger" @@ -417,7 +417,7 @@ drink_icon = "booger" drink_name = "Booger" drink_desc = "Eww..." - taste_message = "a fruity mess" + taste_description = "a fruity mess" /datum/reagent/consumable/ethanol/bloody_mary name = "Bloody Mary" @@ -429,7 +429,7 @@ drink_icon = "bloodymaryglass" drink_name = "Bloody Mary" drink_desc = "Tomato juice, mixed with Vodka and a lil' bit of lime. Tastes like liquid murder." - taste_message = "tomatoes with booze" + taste_description = "tomatoes with booze" /datum/reagent/consumable/ethanol/gargle_blaster name = "Pan-Galactic Gargle Blaster" @@ -441,7 +441,7 @@ drink_icon = "gargleblasterglass" drink_name = "Pan-Galactic Gargle Blaster" drink_desc = "Does... does this mean that Arthur and Ford are on the station? Oh joy." - taste_message = "the number fourty two" + taste_description = "the number fourty two" /datum/reagent/consumable/ethanol/flaming_homer name = "Flaming Moe" @@ -453,7 +453,7 @@ drink_icon = "flamingmoeglass" drink_name = "Flaming Moe" drink_desc = "Happiness is just a Flaming Moe away!" - taste_message = "caramelised booze and sweet, salty medicine" + taste_description = "caramelised booze and sweet, salty medicine" /datum/reagent/consumable/ethanol/brave_bull name = "Brave Bull" @@ -465,7 +465,7 @@ drink_icon = "bravebullglass" drink_name = "Brave Bull" drink_desc = "Tequila and Coffee liquor, brought together in a mouthwatering mixture. Drink up." - taste_message = "sweet alcohol" + taste_description = "sweet alcohol" /datum/reagent/consumable/ethanol/tequila_sunrise name = "Tequila Sunrise" @@ -477,7 +477,7 @@ drink_icon = "tequilasunriseglass" drink_name = "Tequila Sunrise" drink_desc = "Oh great, now you feel nostalgic about sunrises back on Terra..." - taste_message = "fruity alcohol" + taste_description = "fruity alcohol" /datum/reagent/consumable/ethanol/toxins_special name = "Toxins Special" @@ -489,7 +489,7 @@ drink_icon = "toxinsspecialglass" drink_name = "Toxins Special" drink_desc = "Whoah, this thing is on FIRE" - taste_message = "FIRE" + taste_description = "FIRE" /datum/reagent/consumable/ethanol/toxins_special/on_mob_life(mob/living/M) if(M.bodytemperature < 330) @@ -507,7 +507,7 @@ description = "Whiskey-imbued cream, what else would you expect from the Irish." drink_name = "Beepsky Smash" drink_desc = "Heavy, hot and strong. Just like the Iron fist of the LAW." - taste_message = "THE LAW" + taste_description = "THE LAW" /datum/reagent/consumable/ethanol/beepsky_smash/on_mob_life(mob/living/M) var/update_flag = STATUS_UPDATE_NONE @@ -523,7 +523,7 @@ drink_icon = "irishcreamglass" drink_name = "Irish Cream" drink_desc = "It's cream, mixed with whiskey. What else would you expect from the Irish?" - taste_message = "creamy alcohol" + taste_description = "creamy alcohol" /datum/reagent/consumable/ethanol/manly_dorf name = "The Manly Dorf" @@ -535,7 +535,7 @@ drink_icon = "manlydorfglass" drink_name = "The Manly Dorf" drink_desc = "A manly concotion made from Ale and Beer. Intended for true men only." - taste_message = "manliness" + taste_description = "manliness" /datum/reagent/consumable/ethanol/longislandicedtea name = "Long Island Iced Tea" @@ -547,7 +547,7 @@ drink_icon = "longislandicedteaglass" drink_name = "Long Island Iced Tea" drink_desc = "The liquor cabinet, brought together in a delicious mix. Intended for middle-aged alcoholic women only." - taste_message = "fruity alcohol" + taste_description = "fruity alcohol" /datum/reagent/consumable/ethanol/moonshine name = "Moonshine" @@ -559,7 +559,7 @@ drink_icon = "glass_clear" drink_name = "Moonshine" drink_desc = "You've really hit rock bottom now... your liver packed its bags and left last night." - taste_message = "prohibition" + taste_description = "prohibition" /datum/reagent/consumable/ethanol/b52 name = "B-52" @@ -571,7 +571,7 @@ drink_icon = "b52glass" drink_name = "B-52" drink_desc = "Kahlua, Irish Cream, and congac. You will get bombed." - taste_message = "destruction" + taste_description = "destruction" /datum/reagent/consumable/ethanol/irishcoffee name = "Irish Coffee" @@ -583,7 +583,7 @@ drink_icon = "irishcoffeeglass" drink_name = "Irish Coffee" drink_desc = "Coffee and alcohol. More fun than a Mimosa to drink in the morning." - taste_message = "coffee and booze" + taste_description = "coffee and booze" /datum/reagent/consumable/ethanol/margarita name = "Margarita" @@ -595,7 +595,7 @@ drink_icon = "margaritaglass" drink_name = "Margarita" drink_desc = "On the rocks with salt on the rim. Arriba~!" - taste_message = "daisies" + taste_description = "daisies" /datum/reagent/consumable/ethanol/black_russian name = "Black Russian" @@ -607,7 +607,7 @@ drink_icon = "blackrussianglass" drink_name = "Black Russian" drink_desc = "For the lactose-intolerant. Still as classy as a White Russian." - taste_message = "sweet alcohol" + taste_description = "sweet alcohol" /datum/reagent/consumable/ethanol/manhattan name = "Manhattan" @@ -619,7 +619,7 @@ drink_icon = "manhattanglass" drink_name = "Manhattan" drink_desc = "The Detective's undercover drink of choice. He never could stomach gin..." - taste_message = "a bustling city" + taste_description = "a bustling city" /datum/reagent/consumable/ethanol/manhattan_proj name = "Manhattan Project" @@ -631,7 +631,7 @@ drink_icon = "proj_manhattanglass" drink_name = "Manhattan Project" drink_desc = "A scientist's drink of choice, for thinking how to blow up the station." - taste_message = "the apocalypse" + taste_description = "the apocalypse" /datum/reagent/consumable/ethanol/whiskeysoda name = "Whiskey Soda" @@ -643,7 +643,7 @@ drink_icon = "whiskeysodaglass2" drink_name = "Whiskey Soda" drink_desc = "Ultimate refreshment." - taste_message = "mediocrity" + taste_description = "mediocrity" /datum/reagent/consumable/ethanol/antifreeze name = "Anti-freeze" @@ -655,7 +655,7 @@ drink_icon = "antifreeze" drink_name = "Anti-freeze" drink_desc = "The ultimate refreshment." - taste_message = "poor life choices" + taste_description = "poor life choices" /datum/reagent/consumable/ethanol/antifreeze/on_mob_life(mob/living/M) if(M.bodytemperature < 330) @@ -672,7 +672,7 @@ drink_icon = "b&p" drink_name = "Barefoot" drink_desc = "Barefoot and pregnant" - taste_message = "pregnancy" + taste_description = "pregnancy" /datum/reagent/consumable/ethanol/snowwhite name = "Snow White" @@ -684,7 +684,7 @@ drink_icon = "snowwhite" drink_name = "Snow White" drink_desc = "A cold refreshment." - taste_message = "a poisoned apple" + taste_description = "a poisoned apple" /datum/reagent/consumable/ethanol/demonsblood name = "Demons Blood" @@ -697,7 +697,7 @@ drink_icon = "demonsblood" drink_name = "Demons Blood" drink_desc = "Just looking at this thing makes the hair at the back of your neck stand up." - taste_message = "evil" + taste_description = "evil" /datum/reagent/consumable/ethanol/vodkatonic name = "Vodka and Tonic" @@ -710,7 +710,7 @@ drink_icon = "vodkatonicglass" drink_name = "Vodka and Tonic" drink_desc = "For when a gin and tonic isn't russian enough." - taste_message = "bitter medicine" + taste_description = "bitter medicine" /datum/reagent/consumable/ethanol/ginfizz name = "Gin Fizz" @@ -723,7 +723,7 @@ drink_icon = "ginfizzglass" drink_name = "Gin Fizz" drink_desc = "Refreshingly lemony, deliciously dry." - taste_message = "fizzy alcohol" + taste_description = "fizzy alcohol" /datum/reagent/consumable/ethanol/bahama_mama name = "Bahama mama" @@ -735,7 +735,7 @@ drink_icon = "bahama_mama" drink_name = "Bahama Mama" drink_desc = "Tropic cocktail" - taste_message = "HONK" + taste_description = "HONK" /datum/reagent/consumable/ethanol/singulo name = "Singulo" @@ -748,7 +748,7 @@ drink_icon = "singulo" drink_name = "Singulo" drink_desc = "A blue-space beverage." - taste_message = "infinity" + taste_description = "infinity" /datum/reagent/consumable/ethanol/sbiten name = "Sbiten" @@ -760,7 +760,7 @@ drink_icon = "sbitenglass" drink_name = "Sbiten" drink_desc = "A spicy mix of Vodka and Spice. Very hot." - taste_message = "comforting warmth" + taste_description = "comforting warmth" /datum/reagent/consumable/ethanol/sbiten/on_mob_life(mob/living/M) if(M.bodytemperature < 360) @@ -777,7 +777,7 @@ drink_icon = "devilskiss" drink_name = "Devils Kiss" drink_desc = "Creepy time!" - taste_message = "naughtiness" + taste_description = "naughtiness" /datum/reagent/consumable/ethanol/red_mead name = "Red Mead" @@ -789,7 +789,7 @@ drink_icon = "red_meadglass" drink_name = "Red Mead" drink_desc = "A True Vikings Beverage, though its color is strange." - taste_message = "blood" + taste_description = "blood" /datum/reagent/consumable/ethanol/mead name = "Mead" @@ -802,7 +802,7 @@ drink_icon = "meadglass" drink_name = "Mead" drink_desc = "A Vikings Beverage, though a cheap one." - taste_message = "honey" + taste_description = "honey" /datum/reagent/consumable/ethanol/iced_beer name = "Iced Beer" @@ -814,7 +814,7 @@ drink_icon = "iced_beerglass" drink_name = "Iced Beer" drink_desc = "A beer so frosty, the air around it freezes." - taste_message = "cold beer" + taste_description = "cold beer" /datum/reagent/consumable/ethanol/iced_beer/on_mob_life(mob/living/M) if(M.bodytemperature > 270) @@ -831,7 +831,7 @@ drink_icon = "grogglass" drink_name = "Grog" drink_desc = "A fine and cepa drink for Space." - taste_message = "strongly diluted rum" + taste_description = "strongly diluted rum" /datum/reagent/consumable/ethanol/aloe name = "Aloe" @@ -843,7 +843,7 @@ drink_icon = "aloe" drink_name = "Aloe" drink_desc = "Very, very, very good." - taste_message = "healthy skin" + taste_description = "healthy skin" /datum/reagent/consumable/ethanol/andalusia name = "Andalusia" @@ -855,7 +855,7 @@ drink_icon = "andalusia" drink_name = "Andalusia" drink_desc = "A nice, strange named drink." - taste_message = "sweet alcohol" + taste_description = "sweet alcohol" /datum/reagent/consumable/ethanol/alliescocktail name = "Allies Cocktail" @@ -867,7 +867,7 @@ drink_icon = "alliescocktail" drink_name = "Allies cocktail" drink_desc = "A drink made from your allies." - taste_message = "victory" + taste_description = "victory" /datum/reagent/consumable/ethanol/acid_spit name = "Acid Spit" @@ -879,7 +879,7 @@ drink_icon = "acidspitglass" drink_name = "Acid Spit" drink_desc = "A drink from Nanotrasen. Made from live aliens." - taste_message = "PAIN" + taste_description = "PAIN" /datum/reagent/consumable/ethanol/amasec name = "Amasec" @@ -891,7 +891,7 @@ drink_icon = "amasecglass" drink_name = "Amasec" drink_desc = "Always handy before COMBAT!!!" - taste_message = "a stunbaton" + taste_description = "a stunbaton" /datum/reagent/consumable/ethanol/neurotoxin name = "Neuro-toxin" @@ -905,7 +905,7 @@ drink_icon = "neurotoxinglass" drink_name = "Neurotoxin" drink_desc = "A drink that is guaranteed to knock you silly." - taste_message = "brain damageeeEEeee" + taste_description = "brain damageeeEEeee" /datum/reagent/consumable/ethanol/neurotoxin/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -927,7 +927,7 @@ drink_icon = "hippiesdelightglass" drink_name = "Hippie's Delight" drink_desc = "A drink enjoyed by people during the 1960's." - taste_message = "colors" + taste_description = "colors" /datum/reagent/consumable/ethanol/hippies_delight/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -965,7 +965,7 @@ drink_icon = "changelingsting" drink_name = "Changeling Sting" drink_desc = "A stingy drink." - taste_message = "a tiny prick" + taste_description = "a tiny prick" /datum/reagent/consumable/ethanol/irishcarbomb name = "Irish Car Bomb" @@ -978,7 +978,7 @@ drink_icon = "irishcarbomb" drink_name = "Irish Car Bomb" drink_desc = "An irish car bomb." - taste_message = "troubles" + taste_description = "troubles" /datum/reagent/consumable/ethanol/syndicatebomb name = "Syndicate Bomb" @@ -990,7 +990,7 @@ drink_icon = "syndicatebomb" drink_name = "Syndicate Bomb" drink_desc = "A syndicate bomb." - taste_message = "a job offer" + taste_description = "a job offer" /datum/reagent/consumable/ethanol/erikasurprise name = "Erika Surprise" @@ -1002,7 +1002,7 @@ drink_icon = "erikasurprise" name = "Erika Surprise" drink_desc = "The surprise is, it's green!" - taste_message = "disappointment" + taste_description = "disappointment" /datum/reagent/consumable/ethanol/driestmartini name = "Driest Martini" @@ -1015,7 +1015,7 @@ drink_icon = "driestmartiniglass" drink_name = "Driest Martini" drink_desc = "Only for the experienced. You think you see sand floating in the glass." - taste_message = "dust and ashes" + taste_description = "dust and ashes" /datum/reagent/consumable/ethanol/driestmartini/on_mob_life(mob/living/M) if(current_cycle >= 55 && current_cycle < 115) @@ -1031,7 +1031,7 @@ drink_icon = "kahluaglass" drink_name = "Glass of RR coffee Liquor" drink_desc = "DAMN, THIS THING LOOKS ROBUST" - taste_message = "coffee and alcohol" + taste_description = "coffee and alcohol" /datum/reagent/consumable/ethanol/kahlua/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1050,7 +1050,7 @@ drink_icon = "ginsonic" drink_name = "Gin and Sonic" drink_desc = "An extremely high amperage drink. Absolutely not for the true Englishman." - taste_message = "SPEED" + taste_description = "SPEED" /datum/reagent/ginsonic/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1077,7 +1077,7 @@ drink_icon = "cognacglass" drink_name = "Glass of applejack" drink_desc = "When cider isn't strong enough, you gotta jack it." - taste_message = "strong cider" + taste_description = "strong cider" /datum/reagent/consumable/ethanol/jackrose name = "Jack Rose" @@ -1088,7 +1088,7 @@ drink_icon = "patronglass" drink_name = "Jack Rose" drink_desc = "Drinking this makes you feel like you belong in a luxury hotel bar during the 1920s." - taste_message = "style" + taste_description = "style" /datum/reagent/consumable/ethanol/drunkenblumpkin name = "Drunken Blumpkin" @@ -1099,7 +1099,7 @@ drink_icon = "drunkenblumpkin" drink_name = "Drunken Blumpkin" drink_desc = "A drink for the drunks" - taste_message = "weirdness" + taste_description = "weirdness" /datum/reagent/consumable/ethanol/eggnog name = "Eggnog" @@ -1111,7 +1111,7 @@ drink_icon = "glass_yellow" drink_name = "Eggnog" drink_desc = "For enjoying the most wonderful time of the year." - taste_message = "christmas spirit" + taste_description = "christmas spirit" /datum/reagent/consumable/ethanol/dragons_breath //inaccessible to players, but here for admin shennanigans name = "Dragon's Breath" @@ -1121,7 +1121,7 @@ color = "#DC0000" alcohol_perc = 1 can_synth = FALSE - taste_message = "LIQUID FUCKING DEATH OH GOD WHAT THE FUCK" + taste_description = "LIQUID FUCKING DEATH OH GOD WHAT THE FUCK" /datum/reagent/consumable/ethanol/dragons_breath/reaction_mob(mob/living/M, method=TOUCH, volume) if(method == INGEST && prob(20)) @@ -1170,7 +1170,7 @@ drink_icon = "synthanolglass" drink_name = "Glass of Synthanol" drink_desc = "The equivalent of alcohol for synthetic crewmembers. They'd find it awful if they had tastebuds too." - taste_message = "motor oil" + taste_description = "motor oil" /datum/reagent/consumable/ethanol/synthanol/on_mob_life(mob/living/M) if(!M.isSynthetic()) @@ -1196,7 +1196,7 @@ drink_icon = "robottearsglass" drink_name = "Glass of Robot Tears" drink_desc = "No robots were hurt in the making of this drink." - taste_message = "existential angst" + taste_description = "existential angst" /datum/reagent/consumable/ethanol/synthanol/trinary name = "Trinary" @@ -1208,7 +1208,7 @@ drink_icon = "trinaryglass" drink_name = "Glass of Trinary" drink_desc = "Colorful drink made for synthetic crewmembers. It doesn't seem like it would taste well." - taste_message = "modem static" + taste_description = "modem static" /datum/reagent/consumable/ethanol/synthanol/servo name = "Servo" @@ -1220,7 +1220,7 @@ drink_icon = "servoglass" drink_name = "Glass of Servo" drink_desc = "Chocolate - based drink made for IPCs. Not sure if anyone's actually tried out the recipe." - taste_message = "motor oil and cocoa" + taste_description = "motor oil and cocoa" /datum/reagent/consumable/ethanol/synthanol/uplink name = "Uplink" @@ -1232,7 +1232,7 @@ drink_icon = "uplinkglass" drink_name = "Glass of Uplink" drink_desc = "An exquisite mix of the finest liquoirs and synthanol. Meant only for synthetics." - taste_message = "a GUI in visual basic" + taste_description = "a GUI in visual basic" /datum/reagent/consumable/ethanol/synthanol/synthnsoda name = "Synth 'n Soda" @@ -1244,7 +1244,7 @@ drink_icon = "synthnsodaglass" drink_name = "Glass of Synth 'n Soda" drink_desc = "Classic drink altered to fit the tastes of a robot. Bad idea to drink if you're made of carbon." - taste_message = "fizzy motor oil" + taste_description = "fizzy motor oil" /datum/reagent/consumable/ethanol/synthanol/synthignon name = "Synthignon" @@ -1256,7 +1256,7 @@ drink_icon = "synthignonglass" drink_name = "Glass of Synthignon" drink_desc = "Someone mixed good wine and robot booze. Romantic, but atrocious." - taste_message = "fancy motor oil" + taste_description = "fancy motor oil" /datum/reagent/consumable/ethanol/fruit_wine name = "Fruit Wine" @@ -1264,7 +1264,7 @@ description = "A wine made from grown plants." color = "#FFFFFF" alcohol_perc = 0.35 - taste_message = "bad coding" + taste_description = "bad coding" can_synth = FALSE var/list/names = list("null fruit" = 1) //Names of the fruits used. Associative list where name is key, value is the percentage of that fruit. var/list/tastes = list("bad coding" = 1) //List of tastes. See above. @@ -1358,6 +1358,6 @@ if(secondary_tastes.len) flavor += ", with a hint of " flavor += english_list(secondary_tastes) - taste_message = flavor + taste_description = flavor if(holder.my_atom) holder.my_atom.on_reagent_change() diff --git a/code/modules/reagents/chemistry/reagents/drink_base.dm b/code/modules/reagents/chemistry/reagents/drink_base.dm index 236da829c73..8f15156753e 100644 --- a/code/modules/reagents/chemistry/reagents/drink_base.dm +++ b/code/modules/reagents/chemistry/reagents/drink_base.dm @@ -4,7 +4,7 @@ description = "Uh, some kind of drink." reagent_state = LIQUID color = "#E78108" // rgb: 231, 129, 8 - taste_message = "something which should not exist" + taste_description = "something which should not exist" var/adj_dizzy = 0 var/adj_drowsy = 0 var/adj_sleepy = 0 diff --git a/code/modules/reagents/chemistry/reagents/drink_cold.dm b/code/modules/reagents/chemistry/reagents/drink_cold.dm index 707aab07b54..66931ae0847 100644 --- a/code/modules/reagents/chemistry/reagents/drink_cold.dm +++ b/code/modules/reagents/chemistry/reagents/drink_cold.dm @@ -1,7 +1,7 @@ /datum/reagent/consumable/drink/cold name = "Cold drink" adj_temp_cool = 5 - taste_message = null + taste_description = null /datum/reagent/consumable/drink/cold/tonic name = "Tonic Water" @@ -14,7 +14,7 @@ drink_icon = "glass_clear" drink_name = "Glass of Tonic Water" drink_desc = "Quinine tastes funny, but at least it'll keep that Space Malaria away." - taste_message = "bitterness" + taste_description = "bitterness" /datum/reagent/consumable/drink/cold/sodawater name = "Soda Water" @@ -26,7 +26,7 @@ drink_icon = "glass_clear" drink_name = "Glass of Soda Water" drink_desc = "Soda water. Why not make a scotch and soda?" - taste_message = "fizz" + taste_description = "fizz" /datum/reagent/consumable/drink/cold/ice name = "Ice" @@ -38,7 +38,7 @@ drink_icon = "iceglass" drink_name = "Glass of ice" drink_desc = "Generally, you're supposed to put something else in there too..." - taste_message = "cold" + taste_description = "cold" /datum/reagent/consumable/drink/cold/ice/on_mob_life(mob/living/M) M.bodytemperature = max(M.bodytemperature - 5 * TEMPERATURE_DAMAGE_COEFFICIENT, 0) @@ -54,7 +54,7 @@ drink_icon = "glass_brown" drink_name = "Glass of Space Cola" drink_desc = "A glass of refreshing Space Cola" - taste_message = "cola" + taste_description = "cola" /datum/reagent/consumable/drink/cold/nuka_cola name = "Nuka Cola" @@ -65,7 +65,7 @@ drink_icon = "nuka_colaglass" drink_name = "Nuka Cola" drink_desc = "Don't cry, Don't raise your eye, It's only nuclear wasteland" - taste_message = "radioactive cola" + taste_description = "radioactive cola" /datum/reagent/consumable/drink/cold/nuka_cola/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -90,7 +90,7 @@ drink_icon = "Space_mountain_wind_glass" drink_name = "Glass of Space Mountain Wind" drink_desc = "Space Mountain Wind. As you know, there are no mountains in space, only wind." - taste_message = "lime soda" + taste_description = "lime soda" /datum/reagent/consumable/drink/cold/dr_gibb name = "Dr. Gibb" @@ -101,7 +101,7 @@ drink_icon = "dr_gibb_glass" drink_name = "Glass of Dr. Gibb" drink_desc = "Dr. Gibb. Not as dangerous as the name might imply." - taste_message = "cherry soda" + taste_description = "cherry soda" /datum/reagent/consumable/drink/cold/space_up name = "Space-Up" @@ -112,7 +112,7 @@ drink_icon = "space-up_glass" drink_name = "Glass of Space-up" drink_desc = "Space-up. It helps keep your cool." - taste_message = "lemon soda" + taste_description = "lemon soda" /datum/reagent/consumable/drink/cold/lemon_lime name = "Lemon Lime" @@ -120,7 +120,7 @@ id = "lemon_lime" color = "#878F00" // rgb: 135, 40, 0 adj_temp_cool = 8 - taste_message = "citrus soda" + taste_description = "citrus soda" /datum/reagent/consumable/drink/cold/lemonade name = "Lemonade" @@ -130,7 +130,7 @@ drink_icon = "lemonade" drink_name = "Lemonade" drink_desc = "Oh the nostalgia..." - taste_message = "lemonade" + taste_description = "lemonade" /datum/reagent/consumable/drink/cold/kiraspecial name = "Kira Special" @@ -140,7 +140,7 @@ drink_icon = "kiraspecial" drink_name = "Kira Special" drink_desc = "Long live the guy who everyone had mistaken for a girl. Baka!" - taste_message = "citrus soda" + taste_description = "citrus soda" /datum/reagent/consumable/drink/cold/brownstar name = "Brown Star" @@ -151,7 +151,7 @@ drink_icon = "brownstar" drink_name = "Brown Star" drink_desc = "Its not what it sounds like..." - taste_message = "orange soda" + taste_description = "orange soda" /datum/reagent/consumable/drink/cold/milkshake name = "Milkshake" @@ -162,7 +162,7 @@ drink_icon = "milkshake" drink_name = "Milkshake" drink_desc = "Glorious brainfreezing mixture." - taste_message = "milkshake" + taste_description = "milkshake" /datum/reagent/consumable/drink/cold/rewriter name = "Rewriter" @@ -172,7 +172,7 @@ drink_icon = "rewriter" drink_name = "Rewriter" drink_desc = "The secret of the sanctuary of the Librarian..." - taste_message = "coffee...soda?" + taste_description = "coffee...soda?" /datum/reagent/consumable/drink/cold/rewriter/on_mob_life(mob/living/M) M.Jitter(5) diff --git a/code/modules/reagents/chemistry/reagents/drinks.dm b/code/modules/reagents/chemistry/reagents/drinks.dm index 850df4f2382..6298e79d71d 100644 --- a/code/modules/reagents/chemistry/reagents/drinks.dm +++ b/code/modules/reagents/chemistry/reagents/drinks.dm @@ -6,7 +6,7 @@ drink_icon = "glass_orange" drink_name = "Glass of Orange juice" drink_desc = "Vitamins! Yay!" - taste_message = "orange juice" + taste_description = "orange juice" /datum/reagent/consumable/drink/orangejuice/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -22,7 +22,7 @@ drink_icon = "glass_red" drink_name = "Glass of Tomato juice" drink_desc = "Are you sure this is tomato juice?" - taste_message = "tomato juice" + taste_description = "tomato juice" /datum/reagent/consumable/drink/pineapplejuice name = "Pineapple Juice" @@ -32,7 +32,7 @@ drink_icon = "glass_orange" drink_name = "Glass of pineapple juice" drink_desc = "A bright drink, sweet and sugary." - taste_message = "pineapple juice" + taste_description = "pineapple juice" /datum/reagent/consumable/drink/tomatojuice/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -48,7 +48,7 @@ drink_icon = "glass_green" drink_name = "Glass of Lime juice" drink_desc = "A glass of sweet-sour lime juice." - taste_message = "lime juice" + taste_description = "lime juice" /datum/reagent/consumable/drink/limejuice/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -64,7 +64,7 @@ drink_icon = "carrotjuice" drink_name = "Glass of carrot juice" drink_desc = "It is just like a carrot but without crunching." - taste_message = "carrot juice" + taste_description = "carrot juice" /datum/reagent/consumable/drink/carrotjuice/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -87,7 +87,7 @@ drink_icon = "doctorsdelightglass" drink_name = "Doctor's Delight" drink_desc = "A healthy mixture of juices, guaranteed to keep you healthy until the next toolboxing takes place." - taste_message = "healthy dietary choices" + taste_description = "healthy dietary choices" /datum/reagent/consumable/drink/doctor_delight/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -104,7 +104,7 @@ drink_icon = "triplecitrus" drink_name = "Glass of Triplecitrus Juice" drink_desc = "As colorful and healthy as it is delicious." - taste_message = "citrus juice" + taste_description = "citrus juice" /datum/reagent/consumable/drink/triple_citrus/reaction_mob(mob/living/M, method=TOUCH, volume) if(method == INGEST) @@ -118,7 +118,7 @@ drink_icon = "berryjuice" drink_name = "Glass of berry juice" drink_desc = "Berry juice. Or maybe its jam. Who cares?" - taste_message = "berry juice" + taste_description = "berry juice" /datum/reagent/consumable/drink/poisonberryjuice name = "Poison Berry Juice" @@ -128,7 +128,7 @@ drink_icon = "poisonberryjuice" drink_name = "Glass of poison berry juice" drink_desc = "A glass of deadly juice." - taste_message = "berry juice" + taste_description = "berry juice" /datum/reagent/consumable/drink/poisonberryjuice/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -140,14 +140,14 @@ id = "applejuice" description = "The sweet juice of an apple, fit for all ages." color = "#ECFF56" // rgb: 236, 255, 86 - taste_message = "apple juice" + taste_description = "apple juice" /datum/reagent/consumable/drink/watermelonjuice name = "Watermelon Juice" id = "watermelonjuice" description = "Delicious juice made from watermelon." color = "#863333" // rgb: 134, 51, 51 - taste_message = "watermelon juice" + taste_description = "watermelon juice" /datum/reagent/consumable/drink/lemonjuice name = "Lemon Juice" @@ -157,14 +157,14 @@ drink_icon = "lemonglass" drink_name = "Glass of lemonjuice" drink_desc = "Sour..." - taste_message = "lemon juice" + taste_description = "lemon juice" /datum/reagent/consumable/drink/grapejuice name = "Grape Juice" id = "grapejuice" description = "This juice is known to stain shirts." color = "#993399" // rgb: 153, 51, 153 - taste_message = "grape juice" + taste_description = "grape juice" /datum/reagent/consumable/drink/banana name = "Banana Juice" @@ -174,7 +174,7 @@ drink_icon = "banana" drink_name = "Glass of banana juice" drink_desc = "The raw essence of a banana. HONK" - taste_message = "banana juice" + taste_description = "banana juice" /datum/reagent/consumable/drink/banana/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -190,7 +190,7 @@ drink_icon = "nothing" drink_name = "Nothing" drink_desc = "Absolutely nothing." - taste_message = "nothing... how?" + taste_description = "nothing... how?" /datum/reagent/consumable/drink/nothing/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -208,7 +208,7 @@ drink_icon = "glass_brown" drink_name = "Glass of potato juice" drink_desc = "Who in the hell requests this? Gross!" - taste_message = "puke, you're pretty sure" + taste_description = "puke, you're pretty sure" /datum/reagent/consumable/drink/milk name = "Milk" @@ -218,7 +218,7 @@ drink_icon = "glass_white" drink_name = "Glass of milk" drink_desc = "White and nutritious goodness!" - taste_message = "milk" + taste_description = "milk" /datum/reagent/consumable/drink/milk/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -235,7 +235,7 @@ color = "#DFDFC7" // rgb: 223, 223, 199 drink_name = "Glass of soy milk" drink_desc = "White and nutritious soy goodness!" - taste_message = "fake milk" + taste_description = "fake milk" /datum/reagent/consumable/drink/milk/cream name = "Cream" @@ -244,14 +244,14 @@ color = "#DFD7AF" // rgb: 223, 215, 175 drink_name = "Glass of cream" drink_desc = "Ewwww..." - taste_message = "cream" + taste_description = "cream" /datum/reagent/consumable/drink/milk/chocolate_milk name = "Chocolate milk" id ="chocolate_milk" description = "Chocolate-flavored milk, tastes like being a kid again." color = "#85432C" - taste_message = "chocolate milk" + taste_description = "chocolate milk" /datum/reagent/consumable/drink/hot_coco name = "Hot Chocolate" @@ -263,7 +263,7 @@ drink_icon = "hot_coco" drink_name = "Glass of hot coco" drink_desc = "Delicious and cozy" - taste_message = "chocolate" + taste_description = "chocolate" /datum/reagent/consumable/drink/coffee name = "Coffee" @@ -281,7 +281,7 @@ drink_icon = "glass_brown" drink_name = "Glass of coffee" drink_desc = "Don't drop it, or you'll send scalding liquid and glass shards everywhere." - taste_message = "coffee" + taste_description = "coffee" /datum/reagent/consumable/drink/coffee/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -308,7 +308,7 @@ drink_icon = "icedcoffeeglass" drink_name = "Iced Coffee" drink_desc = "A drink to perk you up and refresh you!" - taste_message = "refreshingly cold coffee" + taste_description = "refreshingly cold coffee" /datum/reagent/consumable/drink/coffee/soy_latte name = "Soy Latte" @@ -320,7 +320,7 @@ drink_icon = "soy_latte" drink_name = "Soy Latte" drink_desc = "A nice and refrshing beverage while you are reading." - taste_message = "fake milky coffee" + taste_description = "fake milky coffee" /datum/reagent/consumable/drink/coffee/soy_latte/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -339,7 +339,7 @@ drink_icon = "cafe_latte" drink_name = "Cafe Latte" drink_desc = "A nice, strong and refreshing beverage while you are reading." - taste_message = "milky coffee" + taste_description = "milky coffee" /datum/reagent/consumable/drink/coffee/cafe_latte/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -355,7 +355,7 @@ color = "#673629" drink_name = "Cafe Mocha" drink_desc = "The perfect blend of coffe, milk, and chocolate." - taste_message = "chocolatey coffee" + taste_description = "chocolatey coffee" /datum/reagent/consumable/drink/tea name = "Tea" @@ -370,7 +370,7 @@ drink_icon = "glass_brown" drink_name = "Glass of Tea" drink_desc = "A glass of hot tea. Perhaps a cup with a handle would have been smarter?" - taste_message = "tea" + taste_description = "tea" /datum/reagent/consumable/drink/tea/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -388,7 +388,7 @@ drink_icon = "icetea" drink_name = "Iced Tea" drink_desc = "No relation to a certain rap artist/ actor." - taste_message = "cold tea" + taste_description = "cold tea" /datum/reagent/consumable/drink/bananahonk name = "Banana Honk" @@ -398,7 +398,7 @@ drink_icon = "bananahonkglass" drink_name = "Banana Honk" drink_desc = "A drink from Banana Heaven." - taste_message = "HONK" + taste_description = "HONK" /datum/reagent/consumable/drink/bananahonk/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -415,7 +415,7 @@ drink_icon = "silencerglass" drink_name = "Silencer" drink_desc = "A drink from mime Heaven." - taste_message = "mphhhh" + taste_description = "mphhhh" /datum/reagent/consumable/drink/silencer/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -433,7 +433,7 @@ drink_icon = "chocolatepudding" drink_name = "Chocolate Pudding" drink_desc = "Tasty" - taste_message = "chocolate" + taste_description = "chocolate" /datum/reagent/consumable/drink/vanillapudding name = "Vanilla Pudding" @@ -444,7 +444,7 @@ drink_icon = "vanillapudding" drink_name = "Vanilla Pudding" drink_desc = "Tasty." - taste_message = "vanilla" + taste_description = "vanilla" /datum/reagent/consumable/drink/cherryshake name = "Cherry Shake" @@ -455,7 +455,7 @@ drink_icon = "cherryshake" drink_name = "Cherry Shake" drink_desc = "A cherry flavored milkshake." - taste_message = "cherry milkshake" + taste_description = "cherry milkshake" /datum/reagent/consumable/drink/bluecherryshake name = "Blue Cherry Shake" @@ -466,7 +466,7 @@ drink_icon = "bluecherryshake" drink_name = "Blue Cherry Shake" drink_desc = "An exotic blue milkshake." - taste_message = "blues" + taste_description = "blues" /datum/reagent/consumable/drink/pumpkin_latte name = "Pumpkin Latte" @@ -477,7 +477,7 @@ drink_icon = "pumpkin_latte" drink_name = "Pumpkin Latte" drink_desc = "A mix of coffee and pumpkin juice." - taste_message = "overpriced hipster spices" + taste_description = "overpriced hipster spices" /datum/reagent/consumable/drink/gibbfloats name = "Gibb Floats" @@ -488,25 +488,25 @@ drink_icon= "gibbfloats" drink_name = "Gibbfloat" drink_desc = "Dr. Gibb with ice cream on top." - taste_message = "taste revolution" + taste_description = "taste revolution" /datum/reagent/consumable/drink/pumpkinjuice name = "Pumpkin Juice" id = "pumpkinjuice" description = "Juiced from real pumpkin." color = "#FFA500" - taste_message = "autumn" + taste_description = "autumn" /datum/reagent/consumable/drink/blumpkinjuice name = "Blumpkin Juice" id = "blumpkinjuice" description = "Juiced from real blumpkin." color = "#00BFFF" - taste_message = "caustic puke" + taste_description = "caustic puke" /datum/reagent/consumable/drink/grape_soda name = "Grape soda" id = "grapesoda" description = "Beloved of children and teetotalers." color = "#E6CDFF" - taste_message = "grape soda" + taste_description = "grape soda" diff --git a/code/modules/reagents/chemistry/reagents/drugs.dm b/code/modules/reagents/chemistry/reagents/drugs.dm index 9e96ed5b56b..a2736cec719 100644 --- a/code/modules/reagents/chemistry/reagents/drugs.dm +++ b/code/modules/reagents/chemistry/reagents/drugs.dm @@ -19,7 +19,7 @@ description = "A chemical element." reagent_state = SOLID color = "#808080" // rgb: 128, 128, 128 - taste_message = "metal" + taste_description = "metal" /datum/reagent/lithium/on_mob_life(mob/living/M) if(isturf(M.loc) && !istype(M.loc, /turf/space)) @@ -35,7 +35,7 @@ description = "A highly potent hallucinogenic substance. Far out, maaaan." reagent_state = LIQUID color = "#0000D8" - taste_message = "a magical journey" + taste_description = "a magical journey" /datum/reagent/lsd/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -52,7 +52,7 @@ metabolization_rate = 0.2 addiction_chance = 65 heart_rate_decrease = 1 - taste_message = "a synthetic high" + taste_description = "a synthetic high" /datum/reagent/space_drugs/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -69,7 +69,7 @@ id = "psilocybin" description = "A strong psycotropic derived from certain species of mushroom." color = "#E700E7" // rgb: 231, 0, 231 - taste_message = "visions" + taste_description = "visions" /datum/reagent/psilocybin/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -105,7 +105,7 @@ overdose_threshold = 35 addiction_chance = 70 heart_rate_increase = 1 - taste_message = "calm" + taste_description = "calm" /datum/reagent/nicotine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -242,7 +242,7 @@ color = "#0264B4" overdose_threshold = 20 addiction_chance = 50 - taste_message = "very poor life choices" + taste_description = "very poor life choices" /datum/reagent/krokodil/on_mob_life(mob/living/M) @@ -316,7 +316,7 @@ addiction_chance = 60 metabolization_rate = 0.6 heart_rate_increase = 1 - taste_message = "speed" + taste_description = "speed" /datum/reagent/methamphetamine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -376,7 +376,7 @@ overdose_threshold = 20 addiction_chance = 80 metabolization_rate = 0.6 - taste_message = "WAAAAGH" + taste_description = "WAAAAGH" /datum/reagent/bath_salts/on_mob_life(mob/living/M) var/check = rand(0,100) @@ -475,7 +475,7 @@ reagent_state = LIQUID color = "#644600" addiction_chance = 30 - taste_message = "puke... or worse" + taste_description = "puke... or worse" /datum/reagent/jenkem/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -539,7 +539,7 @@ overdose_threshold = 15 process_flags = ORGANIC | SYNTHETIC //Flipping for everyone! addiction_chance = 10 - taste_message = "flips" + taste_description = "flips" /datum/reagent/fliptonium/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -611,7 +611,7 @@ reagent_state = LIQUID color = "#AC88CA" //RGB: 172, 136, 202 metabolization_rate = 0.6 * REAGENTS_METABOLISM - taste_message = "spinning" + taste_description = "spinning" /datum/reagent/rotatium/on_mob_life(mob/living/carbon/M) if(M.hud_used) @@ -645,7 +645,7 @@ overdose_threshold = 20 addiction_chance = 60 metabolization_rate = 0.6 - taste_message = "wiper fluid" + taste_description = "wiper fluid" /datum/reagent/lube/ultra/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -697,7 +697,7 @@ process_flags = SYNTHETIC overdose_threshold = 20 addiction_chance = 50 - taste_message = "silicone" + taste_description = "silicone" /datum/reagent/surge/on_mob_life(mob/living/M) diff --git a/code/modules/reagents/chemistry/reagents/food.dm b/code/modules/reagents/chemistry/reagents/food.dm index 6f0c53730b4..35cf0153255 100644 --- a/code/modules/reagents/chemistry/reagents/food.dm +++ b/code/modules/reagents/chemistry/reagents/food.dm @@ -5,6 +5,8 @@ /datum/reagent/consumable name = "Consumable" id = "consumable" + taste_description = "generic food" + taste_mult = 4 var/nutriment_factor = 1 * REAGENTS_METABOLISM var/diet_flags = DIET_OMNI | DIET_HERB | DIET_CARN @@ -23,7 +25,7 @@ reagent_state = SOLID nutriment_factor = 15 * REAGENTS_METABOLISM color = "#664330" // rgb: 102, 67, 48 - taste_message = null + taste_description = null /datum/reagent/consumable/nutriment/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -38,19 +40,41 @@ H.blood_volume += 0.4 return ..() | update_flags +/datum/reagent/consumable/nutriment/on_new(list/supplied_data) + // taste data can sometimes be ("salt" = 3, "chips" = 1) + // and we want it to be in the form ("salt" = 0.75, "chips" = 0.25) + // which is called "normalizing" + if(!supplied_data) + supplied_data = data + // if data isn't an associative list, this has some WEIRD side effects + // TODO probably check for assoc list? + data = counterlist_normalise(supplied_data) + +/datum/reagent/consumable/nutriment/on_merge(list/newdata, newvolume) + if(!islist(newdata) || !newdata.len) + return + var/list/taste_amounts = list() + var/list/other_taste_amounts = newdata.Copy() + if(data) + taste_amounts = data.Copy() + counterlist_scale(taste_amounts, volume) + counterlist_combine(taste_amounts, other_taste_amounts) + counterlist_normalise(taste_amounts) + data = taste_amounts + /datum/reagent/consumable/nutriment/protein // Meat-based protein, digestable by carnivores and omnivores, worthless to herbivores name = "Protein" id = "protein" description = "Various essential proteins and fats commonly found in animal flesh and blood." diet_flags = DIET_CARN | DIET_OMNI - taste_message = "meat" + taste_description = "meat" //TODO: Remove /datum/reagent/consumable/nutriment/plantmatter // Plant-based biomatter, digestable by herbivores and omnivores, worthless to carnivores name = "Plant-matter" id = "plantmatter" description = "Vitamin-rich fibers and natural sugars commonly found in fresh produce." diet_flags = DIET_HERB | DIET_OMNI - taste_message = "vegetables" + taste_description = "vegetables" //TODO: Remove /datum/reagent/consumable/vitamin name = "Vitamin" @@ -58,7 +82,7 @@ description = "All the best vitamins, minerals, and carbohydrates the body needs in pure form." reagent_state = SOLID color = "#664330" // rgb: 102, 67, 48 - taste_message = "nutrition" + taste_description = "nutrition" /datum/reagent/consumable/vitamin/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -82,7 +106,8 @@ color = "#FFFFFF" // rgb: 255, 255, 255 nutriment_factor = 5 * REAGENTS_METABOLISM overdose_threshold = 200 // Hyperglycaemic shock - taste_message = "sweetness" + taste_description = "sweetness" + taste_mult = 1.5 /datum/reagent/consumable/sugar/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -117,7 +142,7 @@ reagent_state = LIQUID nutriment_factor = 2 * REAGENTS_METABOLISM color = "#792300" // rgb: 121, 35, 0 - taste_message = "soy" + taste_description = "soy" /datum/reagent/consumable/ketchup name = "Ketchup" @@ -126,7 +151,7 @@ reagent_state = LIQUID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#731008" // rgb: 115, 16, 8 - taste_message = "ketchup" + taste_description = "ketchup" /datum/reagent/consumable/capsaicin name = "Capsaicin Oil" @@ -134,7 +159,8 @@ description = "This is what makes chilis hot." reagent_state = LIQUID color = "#B31008" // rgb: 179, 16, 8 - taste_message = "HOTNESS" + taste_description = "HOTNESS" + taste_mult = 1.5 /datum/reagent/consumable/capsaicin/on_mob_life(mob/living/M) switch(current_cycle) @@ -164,7 +190,7 @@ description = "This shit goes in pepperspray." reagent_state = LIQUID color = "#B31008" // rgb: 179, 16, 8 - taste_message = "PURE FIRE" + taste_description = "PURE FIRE" /datum/reagent/consumable/condensedcapsaicin/on_mob_life(mob/living/M) if(prob(5)) @@ -233,7 +259,7 @@ reagent_state = LIQUID color = "#8BA6E9" // rgb: 139, 166, 233 process_flags = ORGANIC | SYNTHETIC - taste_message = "cold" + taste_description = "cold" /datum/reagent/consumable/frostoil/on_mob_life(mob/living/M) switch(current_cycle) @@ -273,8 +299,8 @@ reagent_state = SOLID color = "#B1B0B0" overdose_threshold = 100 - taste_strength = 2 - taste_message = "salt" + taste_mult = 2 + taste_description = "salt" /datum/reagent/consumable/sodiumchloride/overdose_process(mob/living/M, severity) var/update_flags = STATUS_UPDATE_NONE @@ -287,7 +313,7 @@ id = "blackpepper" description = "A powder ground from peppercorns. *AAAACHOOO*" reagent_state = SOLID - taste_message = "pepper" + taste_description = "pepper" /datum/reagent/consumable/cocoa name = "Cocoa Powder" @@ -296,7 +322,7 @@ reagent_state = SOLID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#302000" // rgb: 48, 32, 0 - taste_message = "bitter cocoa" + taste_description = "bitter cocoa" /datum/reagent/consumable/vanilla name = "Vanilla Powder" @@ -305,7 +331,7 @@ reagent_state = SOLID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#FFFACD" - taste_message = "bitter vanilla" + taste_description = "bitter vanilla" /datum/reagent/consumable/hot_coco name = "Hot Chocolate" @@ -314,7 +340,7 @@ reagent_state = LIQUID nutriment_factor = 2 * REAGENTS_METABOLISM color = "#403010" // rgb: 64, 48, 16 - taste_message = "chocolate" + taste_description = "chocolate" /datum/reagent/consumable/hot_coco/on_mob_life(mob/living/M) if(M.bodytemperature < 310)//310 is the normal bodytemp. 310.055 @@ -326,7 +352,7 @@ id = "sprinkles" description = "Multi-colored little bits of sugar, commonly found on donuts. Loved by cops." color = "#FF00FF" // rgb: 255, 0, 255 - taste_message = "crunchy sweetness" + taste_description = "crunchy sweetness" /datum/reagent/consumable/sprinkles/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -342,7 +368,7 @@ reagent_state = LIQUID nutriment_factor = 20 * REAGENTS_METABOLISM color = "#302000" // rgb: 48, 32, 0 - taste_message = "oil" + taste_description = "oil" /datum/reagent/consumable/cornoil/reaction_turf(turf/simulated/T, volume) if(!istype(T)) @@ -363,7 +389,7 @@ description = "Heated beyond usefulness, this enzyme is now worthless." reagent_state = LIQUID color = "#282314" // rgb: 54, 94, 48 - taste_message = null + taste_description = null /datum/reagent/consumable/dry_ramen name = "Dry Ramen" @@ -371,7 +397,7 @@ description = "Space age food, since August 25, 1958. Contains dried noodles, vegetables, and chemicals that boil in contact with water." reagent_state = SOLID color = "#302000" // rgb: 48, 32, 0 - taste_message = "dry ramen coated with what might just be your tears" + taste_description = "dry ramen coated with what might just be your tears" /datum/reagent/consumable/hot_ramen name = "Hot Ramen" @@ -380,7 +406,7 @@ reagent_state = LIQUID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#302000" // rgb: 48, 32, 0 - taste_message = "cheap ramen and memories" + taste_description = "cheap ramen and memories" /datum/reagent/consumable/hot_ramen/on_mob_life(mob/living/M) if(M.bodytemperature < 310)//310 is the normal bodytemp. 310.055 @@ -394,7 +420,7 @@ reagent_state = LIQUID nutriment_factor = 5 * REAGENTS_METABOLISM color = "#302000" // rgb: 48, 32, 0 - taste_message = "SPICY ramen" + taste_description = "SPICY ramen" /datum/reagent/consumable/hell_ramen/on_mob_life(mob/living/M) M.bodytemperature += 10 * TEMPERATURE_DAMAGE_COEFFICIENT @@ -406,7 +432,7 @@ description = "This is what you rub all over yourself to pretend to be a ghost." reagent_state = SOLID color = "#FFFFFF" // rgb: 0, 0, 0 - taste_message = "flour" + taste_description = "flour" /datum/reagent/consumable/flour/reaction_turf(turf/T, volume) if(!isspaceturf(T)) @@ -419,7 +445,7 @@ reagent_state = SOLID nutriment_factor = 3 * REAGENTS_METABOLISM color = "#FFFFFF" // rgb: 0, 0, 0 - taste_message = "rice" + taste_description = "rice" /datum/reagent/consumable/cherryjelly name = "Cherry Jelly" @@ -427,7 +453,7 @@ description = "Totally the best. Only to be spread on foods with excellent lateral symmetry." reagent_state = LIQUID color = "#801E28" // rgb: 128, 30, 40 - taste_message = "cherry jelly" + taste_description = "cherry jelly" /datum/reagent/consumable/bluecherryjelly name = "Blue Cherry Jelly" @@ -435,7 +461,7 @@ description = "Blue and tastier kind of cherry jelly." reagent_state = LIQUID color = "#00F0FF" - taste_message = "the blues" + taste_description = "the blues" /datum/reagent/consumable/egg name = "Egg" @@ -443,7 +469,7 @@ description = "A runny and viscous mixture of clear and yellow fluids." reagent_state = LIQUID color = "#F0C814" - taste_message = "eggs" + taste_description = "eggs" /datum/reagent/consumable/egg/on_mob_life(mob/living/M) if(prob(3)) @@ -456,7 +482,7 @@ description = "The powdered starch of maize, derived from the kernel's endosperm. Used as a thickener for gravies and puddings." reagent_state = LIQUID color = "#C8A5DC" - taste_message = "flour" + taste_description = "flour" /datum/reagent/consumable/corn_syrup name = "Corn Syrup" @@ -464,7 +490,7 @@ description = "A sweet syrup derived from corn starch that has had its starches converted into maltose and other sugars." reagent_state = LIQUID color = "#C8A5DC" - taste_message = "cheap sugar substitute" + taste_description = "cheap sugar substitute" /datum/reagent/consumable/corn_syrup/on_mob_life(mob/living/M) M.reagents.add_reagent("sugar", 1.2) @@ -476,7 +502,7 @@ description = "An incredibly sweet syrup, created from corn syrup treated with enzymes to convert its sugars into fructose." reagent_state = LIQUID color = "#C8A5DC" - taste_message = "diabetes" + taste_description = "diabetes" /datum/reagent/consumable/vhfcs/on_mob_life(mob/living/M) M.reagents.add_reagent("sugar", 2.4) @@ -489,7 +515,7 @@ reagent_state = LIQUID color = "#d3a308" nutriment_factor = 15 * REAGENTS_METABOLISM - taste_message = "sweetness" + taste_description = "sweetness" /datum/reagent/consumable/honey/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -504,7 +530,7 @@ id = "onionjuice" description = "A strong tasting substance that can induce partial blindness." color = "#c0c9a0" - taste_message = "pungency" + taste_description = "pungency" /datum/reagent/consumable/onion/reaction_mob(mob/living/M, method = TOUCH, volume) if(method == TOUCH) @@ -528,7 +554,7 @@ drink_icon = "chocolateglass" drink_name = "Glass of chocolate" drink_desc = "Tasty" - taste_message = "chocolate" + taste_description = "chocolate" /datum/reagent/consumable/chocolate/on_mob_life(mob/living/M) M.reagents.add_reagent("sugar", 0.8) @@ -544,7 +570,7 @@ description = "A rather bitter herb once thought to hold magical protective properties." reagent_state = LIQUID color = "#21170E" - taste_message = "tea" + taste_description = "tea" /datum/reagent/consumable/mugwort/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -564,7 +590,7 @@ color = "#AB5D5D" metabolization_rate = 0.2 overdose_threshold = 133 - taste_message = "bacon" + taste_description = "bacon" /datum/reagent/consumable/porktonium/overdose_process(mob/living/M, severity) if(prob(15)) @@ -582,7 +608,7 @@ color = "#B4B400" metabolization_rate = 0.2 nutriment_factor = 2 - taste_message = "broth" + taste_description = "broth" /datum/reagent/consumable/cheese name = "Cheese" @@ -590,7 +616,7 @@ description = "Some cheese. Pour it out to make it solid." reagent_state = SOLID color = "#FFFF00" - taste_message = "cheese" + taste_description = "cheese" /datum/reagent/consumable/cheese/on_mob_life(mob/living/M) if(prob(3)) @@ -608,7 +634,7 @@ reagent_state = LIQUID color = "#B2B139" overdose_threshold = 50 - taste_message = "cheese?" + taste_description = "cheese?" /datum/reagent/consumable/fake_cheese/overdose_process(mob/living/M, severity) var/update_flags = STATUS_UPDATE_NONE @@ -624,7 +650,7 @@ reagent_state = SOLID color = "#50FF00" addiction_chance = 5 - taste_message = "cheeeeeese...?" + taste_description = "cheeeeeese...?" /datum/reagent/consumable/weird_cheese/on_mob_life(mob/living/M) if(prob(5)) @@ -641,7 +667,7 @@ description = "A dish made of mashed beans cooked with lard." reagent_state = LIQUID color = "#684435" - taste_message = "burritos" + taste_description = "burritos" /datum/reagent/consumable/bread name = "Bread" @@ -649,7 +675,7 @@ description = "Bread! Yep, bread." reagent_state = SOLID color = "#9C5013" - taste_message = "bread" + taste_description = "bread" /datum/reagent/consumable/soybeanoil name = "Space-soybean oil" @@ -657,7 +683,7 @@ description = "An oil derived from extra-terrestrial soybeans." reagent_state = LIQUID color = "#B1B0B0" - taste_message = "oil" + taste_description = "oil" /datum/reagent/consumable/soybeanoil/on_mob_life(mob/living/M) if(prob(10)) @@ -674,7 +700,7 @@ color = "#B1B0B0" metabolization_rate = 0.2 overdose_threshold = 75 - taste_message = "oil" + taste_description = "oil" /datum/reagent/consumable/hydrogenated_soybeanoil/on_mob_life(mob/living/M) if(prob(15)) @@ -707,7 +733,7 @@ description = "A paste comprised of highly-processed organic material. Uncomfortably similar to deviled ham spread." reagent_state = LIQUID color = "#EBD7D7" - taste_message = "meat?" + taste_description = "meat?" /datum/reagent/consumable/meatslurry/on_mob_life(mob/living/M) if(prob(4)) @@ -725,7 +751,7 @@ description = "A starchy food paste made from boiled potatoes." reagent_state = SOLID color = "#D6D9C1" - taste_message = "potatoes" + taste_description = "potatoes" /datum/reagent/consumable/gravy name = "Gravy" @@ -733,7 +759,7 @@ description = "A savory sauce made from a simple meat-dripping roux and milk." reagent_state = LIQUID color = "#B4641B" - taste_message = "gravy" + taste_description = "gravy" /datum/reagent/consumable/beff name = "Beff" @@ -741,7 +767,7 @@ description = "An advanced blend of mechanically-recovered meat and textured synthesized protein product notable for its unusual crystalline grain when sliced." reagent_state = SOLID color = "#AC7E67" - taste_message = "meat" + taste_description = "meat" /datum/reagent/consumable/beff/on_mob_life(mob/living/M) if(prob(5)) @@ -759,7 +785,7 @@ description = "An Italian-American variety of salami usually made from beef and pork" reagent_state = SOLID color = "#AC7E67" - taste_message = "pepperoni" + taste_description = "pepperoni" /datum/reagent/consumable/pepperoni/reaction_mob(mob/living/M, method=TOUCH, volume) if(method == TOUCH) @@ -791,7 +817,7 @@ description = "A gross and unidentifiable substance." reagent_state = LIQUID color = "#63DE63" - taste_message = "burned food" + taste_description = "burned food" /datum/reagent/questionmark/reaction_mob(mob/living/M, method=TOUCH, volume) if(method == INGEST) @@ -808,8 +834,8 @@ reagent_state = LIQUID color = "#F5F5F5" metabolization_rate = 0.2 - taste_message = "excellent cuisine" - taste_strength = 4 + taste_description = "excellent cuisine" + taste_mult = 4 /datum/reagent/msg/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -827,7 +853,7 @@ description = "Pure cholesterol. Probably not very good for you." reagent_state = LIQUID color = "#FFFAC8" - taste_message = "heart attack" + taste_description = "heart attack" /datum/reagent/cholesterol/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -851,7 +877,7 @@ description = "Scrapings of some unknown fungus found growing on the station walls." reagent_state = LIQUID color = "#C87D28" - taste_message = "mold" + taste_description = "mold" /datum/reagent/fungus/reaction_mob(mob/living/M, method=TOUCH, volume) if(method == INGEST) @@ -872,7 +898,7 @@ reagent_state = LIQUID color = "#8EAE7B" process_flags = ORGANIC | SYNTHETIC //Because apparently ghosts in the shell - taste_message = "spooks" + taste_description = "spooks" /datum/reagent/ectoplasm/on_mob_life(mob/living/M) var/spooky_message = pick("You notice something moving out of the corner of your eye, but nothing is there...", "Your eyes twitch, you feel like something you can't see is here...", "You've got the heebie-jeebies.", "You feel uneasy.", "You shudder as if cold...", "You feel something gliding across your back...") @@ -901,7 +927,7 @@ description = "Looks like someone lost their lunch. And then collected it. Yuck." reagent_state = LIQUID color = "#FFFF00" - taste_message = "puke" + taste_description = "puke" /datum/reagent/vomit/reaction_turf(turf/T, volume) if(volume >= 5 && !isspaceturf(T)) @@ -913,7 +939,7 @@ description = "Whoa, that can't be natural. That's horrible." reagent_state = LIQUID color = "#78FF74" - taste_message = "puke" + taste_description = "puke" /datum/reagent/greenvomit/reaction_turf(turf/T, volume) if(volume >= 5 && !isspaceturf(T)) @@ -926,7 +952,7 @@ id = "entpoly" description = "An ichor, derived from a certain mushroom, makes for a bad time." color = "#1d043d" - taste_message = "mold" + taste_description = "mold" /datum/reagent/consumable/entpoly/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -946,7 +972,7 @@ description = "A stimulating ichor which causes luminescent fungi to grow on the skin. " color = "#b5a213" var/light_activated = 0 - taste_message = "mold" + taste_description = "mold" /datum/reagent/consumable/tinlux/on_mob_life(mob/living/M) if(!light_activated) @@ -963,7 +989,7 @@ description = "A bubbly paste that heals wounds of the skin." color = "#d3a308" nutriment_factor = 3 * REAGENTS_METABOLISM - taste_message = "sweetness" + taste_description = "sweetness" /datum/reagent/consumable/vitfro/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE diff --git a/code/modules/reagents/chemistry/reagents/medicine.dm b/code/modules/reagents/chemistry/reagents/medicine.dm index 345ac4a9c6f..412c9f60f99 100644 --- a/code/modules/reagents/chemistry/reagents/medicine.dm +++ b/code/modules/reagents/chemistry/reagents/medicine.dm @@ -15,7 +15,7 @@ color = "#C805DC" metabolization_rate = 0.3 // Lasts 1.5 minutes for 15 units shock_reduction = 200 - taste_message = "numbness" + taste_description = "numbness" /datum/reagent/medicine/sterilizine name = "Sterilizine" @@ -23,7 +23,7 @@ description = "Sterilizes wounds in preparation for surgery." reagent_state = LIQUID color = "#C8A5DC" // rgb: 200, 165, 220 - taste_message = "antiseptic" + taste_description = "antiseptic" //makes you squeaky clean /datum/reagent/medicine/sterilizine/reaction_mob(mob/living/M, method=TOUCH, volume) @@ -43,7 +43,7 @@ reagent_state = LIQUID color = "#FA46FA" overdose_threshold = 40 - taste_message = "stimulant" + taste_description = "stimulant" /datum/reagent/medicine/synaptizine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -86,7 +86,7 @@ description = "A specialized drug that stimulates the mitochondria of cells to encourage healing of internal organs." reagent_state = LIQUID color = "#C8A5DC" // rgb: 200, 165, 220 - taste_message = "nurturing" + taste_description = "nurturing" /datum/reagent/medicine/mitocholide/on_mob_life(mob/living/M) if(ishuman(M)) @@ -110,7 +110,7 @@ reagent_state = LIQUID color = "#0000C8" // rgb: 200, 165, 220 heart_rate_decrease = 1 - taste_message = "a safe refuge" + taste_description = "a safe refuge" /datum/reagent/medicine/cryoxadone/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -134,7 +134,7 @@ reagent_state = SOLID color = "#669900" // rgb: 102, 153, 0 overdose_threshold = 30 - taste_message = "reformation" + taste_description = "reformation" /datum/reagent/medicine/rezadone/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -163,7 +163,7 @@ reagent_state = LIQUID color = "#0AB478" metabolization_rate = 0.2 - taste_message = "antibiotics" + taste_description = "antibiotics" /datum/reagent/medicine/silver_sulfadiazine name = "Silver Sulfadiazine" @@ -172,7 +172,7 @@ reagent_state = LIQUID color = "#F0C814" metabolization_rate = 3 - taste_message = "burn cream" + taste_description = "burn cream" /datum/reagent/medicine/silver_sulfadiazine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -198,7 +198,7 @@ reagent_state = LIQUID color = "#C8A5DC" metabolization_rate = 3 - taste_message = "wound cream" + taste_description = "wound cream" /datum/reagent/medicine/styptic_powder/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -226,7 +226,7 @@ color = "#C8A5DC" penetrates_skin = TRUE metabolization_rate = 0.15 - taste_message = "salt" + taste_description = "salt" /datum/reagent/medicine/salglu_solution/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -246,7 +246,7 @@ description = "A resorbable microfibrillar collagen and protein mixture that can rapidly heal injuries when applied topically." reagent_state = LIQUID color = "#FFEBEB" - taste_message = "blood" + taste_description = "blood" /datum/reagent/medicine/synthflesh/reaction_mob(mob/living/M, method=TOUCH, volume, show_message = 1) if(iscarbon(M)) @@ -268,7 +268,7 @@ description = "Activated charcoal helps to absorb toxins." reagent_state = LIQUID color = "#000000" - taste_message = "dust" + taste_description = "dust" /datum/reagent/medicine/charcoal/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -288,7 +288,7 @@ metabolization_rate = 0.2 overdose_threshold = 30 addiction_chance = 5 - taste_message = "health" + taste_description = "health" /datum/reagent/medicine/omnizine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -344,7 +344,7 @@ reagent_state = LIQUID color = "#22AB35" metabolization_rate = 0.8 - taste_message = "a painful cleansing" + taste_description = "a painful cleansing" /datum/reagent/medicine/calomel/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -363,7 +363,7 @@ description = "Potassium Iodide is a medicinal drug used to counter the effects of radiation poisoning." reagent_state = LIQUID color = "#B4DCBE" - taste_message = "cleansing" + taste_description = "cleansing" /datum/reagent/medicine/potass_iodide/on_mob_life(mob/living/M) if(prob(80)) @@ -376,7 +376,7 @@ description = "Pentetic Acid is an aggressive chelation agent. May cause tissue damage. Use with caution." reagent_state = LIQUID color = "#C8A5DC" - taste_message = "a purge" + taste_description = "a purge" /datum/reagent/medicine/pen_acid/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -400,7 +400,7 @@ metabolization_rate = 0.1 shock_reduction = 25 overdose_threshold = 25 - taste_message = "relief" + taste_description = "relief" /datum/reagent/medicine/sal_acid/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -415,7 +415,7 @@ reagent_state = LIQUID color = "#00FFFF" metabolization_rate = 0.2 - taste_message = "safety" + taste_description = "safety" /datum/reagent/medicine/salbutamol/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -431,7 +431,7 @@ color = "#C8A5DC" metabolization_rate = 0.2 addiction_chance = 20 - taste_message = "oxygenation" + taste_description = "oxygenation" /datum/reagent/medicine/perfluorodecalin/on_mob_life(mob/living/carbon/human/M) var/update_flags = STATUS_UPDATE_NONE @@ -452,7 +452,7 @@ metabolization_rate = 0.3 overdose_threshold = 35 addiction_chance = 25 - taste_message = "stimulation" + taste_description = "stimulation" /datum/reagent/medicine/ephedrine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -501,7 +501,7 @@ reagent_state = LIQUID color = "#5BCBE1" addiction_chance = 10 - taste_message = "antihistamine" + taste_description = "antihistamine" /datum/reagent/medicine/diphenhydramine/on_mob_life(mob/living/M) M.AdjustJitter(-20) @@ -524,7 +524,7 @@ overdose_threshold = 20 addiction_chance = 50 shock_reduction = 50 - taste_message = "a delightful numbing" + taste_description = "a delightful numbing" /datum/reagent/medicine/morphine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -546,7 +546,7 @@ description = "Oculine is a saline eye medication with mydriatic and antibiotic effects." reagent_state = LIQUID color = "#C8A5DC" - taste_message = "clarity" + taste_description = "clarity" /datum/reagent/medicine/oculine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -578,7 +578,7 @@ color = "#000000" metabolization_rate = 0.2 overdose_threshold = 25 - taste_message = "a moment of respite" + taste_description = "a moment of respite" /datum/reagent/medicine/atropine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -606,7 +606,7 @@ color = "#96B1AE" metabolization_rate = 0.2 overdose_threshold = 20 - taste_message = "borrowed time" + taste_description = "borrowed time" /datum/reagent/medicine/epinephrine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -662,7 +662,7 @@ reagent_state = LIQUID color = "#A0E85E" metabolization_rate = 0.2 - taste_message = "life" + taste_description = "life" /datum/reagent/medicine/strange_reagent/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -721,7 +721,7 @@ id = "mannitol" description = "Mannitol is a sugar alcohol that can help alleviate cranial swelling." color = "#D1D1F1" - taste_message = "neurogenisis" + taste_description = "neurogenisis" /datum/reagent/medicine/mannitol/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -733,7 +733,7 @@ id = "mutadone" description = "Mutadone is an experimental bromide that can cure genetic abnomalities." color = "#5096C8" - taste_message = "cleanliness" + taste_description = "cleanliness" /datum/reagent/medicine/mutadone/on_mob_life(mob/living/carbon/human/M) if(M.mind && M.mind.assigned_role == "Cluwne") // HUNKE @@ -762,7 +762,7 @@ id = "antihol" description = "A medicine which quickly eliminates alcohol in the body." color = "#009CA8" - taste_message = "sobriety" + taste_description = "sobriety" /datum/reagent/medicine/antihol/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -849,7 +849,7 @@ description = "A hormone generated by the pancreas responsible for metabolizing carbohydrates and fat in the bloodstream." reagent_state = LIQUID color = "#C8A5DC" - taste_message = "tiredness" + taste_description = "tiredness" /datum/reagent/medicine/insulin/on_mob_life(mob/living/M) M.reagents.remove_reagent("sugar", 5) @@ -863,7 +863,7 @@ color = "#D782E6" addiction_chance = 20 overdose_threshold = 50 - taste_message = "warmth and stability" + taste_description = "warmth and stability" /datum/reagent/medicine/teporone/on_mob_life(mob/living/M) if(M.bodytemperature > 310) @@ -878,7 +878,7 @@ description = "Haloperidol is a powerful antipsychotic and sedative. Will help control psychiatric problems, but may cause brain damage." reagent_state = LIQUID color = "#FFDCFF" - taste_message = "stability" + taste_description = "stability" /datum/reagent/medicine/haloperidol/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -910,7 +910,7 @@ reagent_state = LIQUID color = "#96DEDE" metabolization_rate = 0.1 - taste_message = "sleepiness" + taste_description = "sleepiness" /datum/reagent/medicine/ether/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -933,7 +933,7 @@ reagent_state = SOLID color = "#555555" can_synth = FALSE - taste_message = "bodily perfection" + taste_description = "bodily perfection" /datum/reagent/medicine/syndicate_nanites/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -953,7 +953,7 @@ color = "#DCDCDC" overdose_threshold = 30 metabolization_rate = 0.1 - taste_message = "faint hope" + taste_description = "faint hope" /datum/reagent/medicine/omnizine_diluted/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -983,7 +983,7 @@ reagent_state = LIQUID color = "#CC7A00" process_flags = SYNTHETIC - taste_message = "overclocking" + taste_description = "overclocking" /datum/reagent/medicine/degreaser/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1014,7 +1014,7 @@ reagent_state = LIQUID color = "#D7B395" process_flags = SYNTHETIC - taste_message = "heavy metals" + taste_description = "heavy metals" /datum/reagent/medicine/liquid_solder/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1031,7 +1031,7 @@ reagent_state = LIQUID color = "#C8A5DC" overdose_threshold = 30 - taste_message = "knitting wounds" + taste_description = "knitting wounds" /datum/reagent/medicine/bicaridine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1050,7 +1050,7 @@ reagent_state = LIQUID color = "#C8A5DC" overdose_threshold = 30 - taste_message = "soothed burns" + taste_description = "soothed burns" /datum/reagent/medicine/kelotane/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1069,7 +1069,7 @@ description = "Ichor from an extremely powerful plant. Great for restoring wounds, but it's a little heavy on the brain." color = "#FFAF00" overdose_threshold = 25 - taste_message = "a gift from nature" + taste_description = "a gift from nature" /datum/reagent/medicine/earthsblood/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1095,7 +1095,7 @@ id = "corazone" description = "A medication used to treat pain, fever, and inflammation, along with heart attacks." color = "#F5F5F5" - taste_message = "a brief respite" + taste_description = "a brief respite" // This reagent's effects are handled in heart attack handling code @@ -1106,7 +1106,7 @@ color = "#9b3401" metabolization_rate = 0.5 can_synth = FALSE - taste_message = "wholeness" + taste_description = "wholeness" /datum/reagent/medicine/nanocalcium/on_mob_life(mob/living/carbon/human/M) var/update_flags = STATUS_UPDATE_NONE diff --git a/code/modules/reagents/chemistry/reagents/misc.dm b/code/modules/reagents/chemistry/reagents/misc.dm index 4d42e9060ae..66f58a55003 100644 --- a/code/modules/reagents/chemistry/reagents/misc.dm +++ b/code/modules/reagents/chemistry/reagents/misc.dm @@ -38,7 +38,7 @@ description = "A colorless, odorless gas." reagent_state = GAS color = "#808080" // rgb: 128, 128, 128 - taste_message = null + taste_description = null /datum/reagent/nitrogen name = "Nitrogen" @@ -46,7 +46,7 @@ description = "A colorless, odorless, tasteless gas." reagent_state = GAS color = "#808080" // rgb: 128, 128, 128 - taste_message = null + taste_description = null /datum/reagent/hydrogen name = "Hydrogen" @@ -54,7 +54,7 @@ description = "A colorless, odorless, nonmetallic, tasteless, highly combustible diatomic gas." reagent_state = GAS color = "#808080" // rgb: 128, 128, 128 - taste_message = null + taste_description = null /datum/reagent/potassium name = "Potassium" @@ -62,7 +62,7 @@ description = "A soft, low-melting solid that can easily be cut with a knife. Reacts violently with water." reagent_state = SOLID color = "#A0A0A0" // rgb: 160, 160, 160 - taste_message = "bad ideas" + taste_description = "bad ideas" /datum/reagent/sulfur name = "Sulfur" @@ -70,7 +70,7 @@ description = "A chemical element." reagent_state = SOLID color = "#BF8C00" // rgb: 191, 140, 0 - taste_message = "impulsive decisions" + taste_description = "impulsive decisions" /datum/reagent/sodium name = "Sodium" @@ -78,7 +78,7 @@ description = "A chemical element." reagent_state = SOLID color = "#808080" // rgb: 128, 128, 128 - taste_message = "horrible misjudgement" + taste_description = "horrible misjudgement" /datum/reagent/phosphorus name = "Phosphorus" @@ -86,7 +86,7 @@ description = "A chemical element." reagent_state = SOLID color = "#832828" // rgb: 131, 40, 40 - taste_message = "misguided choices" + taste_description = "misguided choices" /datum/reagent/carbon name = "Carbon" @@ -94,7 +94,7 @@ description = "A chemical element." reagent_state = SOLID color = "#1C1300" // rgb: 30, 20, 0 - taste_message = "like a pencil or something" + taste_description = "like a pencil or something" /datum/reagent/carbon/reaction_turf(turf/T, volume) if(!(locate(/obj/effect/decal/cleanable/dirt) in T) && !isspaceturf(T)) // Only add one dirt per turf. Was causing people to crash. @@ -106,7 +106,7 @@ description = "Gold is a dense, soft, shiny metal and the most malleable and ductile metal known." reagent_state = SOLID color = "#F7C430" // rgb: 247, 196, 48 - taste_message = "bling" + taste_description = "bling" /datum/reagent/silver @@ -115,7 +115,7 @@ description = "A lustrous metallic element regarded as one of the precious metals." reagent_state = SOLID color = "#D0D0D0" // rgb: 208, 208, 208 - taste_message = "sub-par bling" + taste_description = "sub-par bling" /datum/reagent/silver/reaction_mob(mob/living/M, method=TOUCH, volume) if(M.has_bane(BANE_SILVER)) @@ -128,7 +128,7 @@ description = "A silvery white and ductile member of the boron group of chemical elements." reagent_state = SOLID color = "#A8A8A8" // rgb: 168, 168, 168 - taste_message = "metal" + taste_description = "metal" /datum/reagent/silicon @@ -137,7 +137,7 @@ description = "A tetravalent metalloid, silicon is less reactive than its chemical analog carbon." reagent_state = SOLID color = "#A8A8A8" // rgb: 168, 168, 168 - taste_message = "a CPU" + taste_description = "a CPU" /datum/reagent/copper @@ -145,7 +145,7 @@ id = "copper" description = "A highly ductile metal." color = "#6E3B08" // rgb: 110, 59, 8 - taste_message = "copper" + taste_description = "copper" /datum/reagent/iron @@ -154,7 +154,7 @@ description = "Pure iron is a metal." reagent_state = SOLID color = "#C8A5DC" // rgb: 200, 165, 220 - taste_message = "metal" + taste_description = "metal" /datum/reagent/iron/on_mob_life(mob/living/M) if(ishuman(M)) @@ -176,7 +176,7 @@ description = "A perfluoronated sulfonic acid that forms a foam when mixed with water." reagent_state = LIQUID color = "#9E6B38" // rgb: 158, 107, 56 - taste_message = "extreme discomfort" + taste_description = "extreme discomfort" // metal foaming agent // this is lithium hydride. Add other recipies (e.g. LiH + H2O -> LiOH + H2) eventually @@ -186,7 +186,7 @@ description = "A caustic substance commonly used in fertilizer or household cleaners." reagent_state = GAS color = "#404030" // rgb: 64, 64, 48 - taste_message = "floor cleaner" + taste_description = "floor cleaner" /datum/reagent/diethylamine name = "Diethylamine" @@ -194,7 +194,7 @@ description = "A secondary amine, useful as a plant nutrient and as building block for other compounds." reagent_state = LIQUID color = "#322D00" - taste_message = null + taste_description = null /datum/reagent/oil name = "Oil" @@ -202,7 +202,7 @@ description = "A decent lubricant for machines. High in benzene, naptha and other hydrocarbons." reagent_state = LIQUID color = "#3C3C3C" - taste_message = "motor oil" + taste_description = "motor oil" process_flags = ORGANIC | SYNTHETIC /datum/reagent/oil/reaction_temperature(exposed_temperature, exposed_volume) @@ -227,7 +227,7 @@ description = "A purple gaseous element." reagent_state = GAS color = "#493062" - taste_message = "chemtrail resistance" + taste_description = "chemtrail resistance" /datum/reagent/carpet name = "Carpet" @@ -235,7 +235,7 @@ description = "A covering of thick fabric used on floors. This type looks particularly gross." reagent_state = LIQUID color = "#701345" - taste_message = "a carpet...what?" + taste_description = "a carpet...what?" /datum/reagent/carpet/reaction_turf(turf/simulated/T, volume) if(istype(T, /turf/simulated/floor/plating) || istype(T, /turf/simulated/floor/plasteel)) @@ -249,7 +249,7 @@ description = "A red-brown liquid element." reagent_state = LIQUID color = "#4E3A3A" - taste_message = null + taste_description = null /datum/reagent/phenol name = "Phenol" @@ -257,7 +257,7 @@ description = "Also known as carbolic acid, this is a useful building block in organic chemistry." reagent_state = LIQUID color = "#525050" - taste_message = null + taste_description = null /datum/reagent/ash name = "Ash" @@ -265,7 +265,7 @@ description = "Ashes to ashes, dust to dust." reagent_state = LIQUID color = "#191919" - taste_message = "ash" + taste_description = "ash" /datum/reagent/acetone name = "Acetone" @@ -273,7 +273,7 @@ description = "Pure 100% nail polish remover, also works as an industrial solvent." reagent_state = LIQUID color = "#474747" - taste_message = "nail polish remover" + taste_description = "nail polish remover" /datum/reagent/acetone/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -286,7 +286,7 @@ description = "Volatile." reagent_state = LIQUID color = "#60A584" // rgb: 96, 165, 132 - taste_message = "one third of an explosion" + taste_description = "one third of an explosion" /datum/reagent/colorful_reagent name = "Colorful Reagent" @@ -294,7 +294,7 @@ description = "It's pure liquid colors. That's a thing now." reagent_state = LIQUID color = "#FFFFFF" - taste_message = "the rainbow" + taste_description = "the rainbow" /datum/reagent/colorful_reagent/on_mob_life(mob/living/M) if(ishuman(M)) @@ -320,7 +320,7 @@ description = "A rather tubular and gnarly way of coloring totally bodacious hair. Duuuudddeee." reagent_state = LIQUID color = "#960096" - taste_message = "the 2559 Autumn release of the Le Jeune Homme catalogue for professional hairdressers" + taste_description = "the 2559 Autumn release of the Le Jeune Homme catalogue for professional hairdressers" /datum/reagent/hair_dye/reaction_mob(mob/living/M, volume) if(ishuman(M)) @@ -341,7 +341,7 @@ reagent_state = LIQUID color = "#5DDA5D" penetrates_skin = TRUE - taste_message = "someone's beard" + taste_description = "someone's beard" /datum/reagent/hairgrownium/reaction_mob(mob/living/M, volume) if(ishuman(M)) @@ -360,7 +360,7 @@ reagent_state = LIQUID color = "#5DD95D" penetrates_skin = TRUE - taste_message = "multiple beards" + taste_description = "multiple beards" /datum/reagent/super_hairgrownium/reaction_mob(mob/living/M, volume) if(ishuman(M)) @@ -393,7 +393,7 @@ description = "Hugs, in liquid form. Yes, the concept of a hug. As a liquid. This makes sense in the future." reagent_state = LIQUID color = "#FF97B9" - taste_message = "hugs" + taste_description = "hugs" /datum/reagent/love name = "Pure love" @@ -402,7 +402,7 @@ reagent_state = LIQUID color = "#FF83A5" process_flags = ORGANIC | SYNTHETIC // That's the power of love~ - taste_message = "love" + taste_description = "love" /datum/reagent/love/on_mob_life(mob/living/M) if(M.a_intent != INTENT_HELP) @@ -436,7 +436,7 @@ id = "jestosterone" description = "Jestosterone is an odd chemical compound that induces a variety of annoying side-effects in the average person. It also causes mild intoxication, and is toxic to mimes." color = "#ff00ff" //Fuchsia, pity we can't do rainbow here - taste_message = "a funny flavour" + taste_description = "a funny flavour" /datum/reagent/jestosterone/on_new() ..() @@ -501,7 +501,7 @@ id = "royal_bee_jelly" description = "Royal Bee Jelly, if injected into a Queen Space Bee said bee will split into two bees." color = "#00ff80" - taste_message = "sweetness" + taste_description = "sweetness" /datum/reagent/royal_bee_jelly/on_mob_life(mob/living/M) if(prob(2)) @@ -514,7 +514,7 @@ description = "A commercial chemical designed to help older men in the bedroom." //not really it just makes you a giant color = "#ff0000"//strong red. rgb 255, 0, 0 var/current_size = 1 - taste_message = "enhancement" + taste_description = "enhancement" /datum/reagent/growthserum/on_mob_life(mob/living/carbon/H) var/newsize = current_size @@ -546,7 +546,7 @@ description = "Finely ground Coffee beans, used to make coffee." reagent_state = SOLID color = "#5B2E0D" // rgb: 91, 46, 13 - taste_message = "waste" + taste_description = "waste" /datum/reagent/toxin/teapowder name = "Ground Tea Leaves" @@ -554,7 +554,7 @@ description = "Finely shredded Tea leaves, used for making tea." reagent_state = SOLID color = "#7F8400" // rgb: 127, 132, 0" - taste_message = "the future" + taste_description = "the future" //////////////////////////////////Hydroponics stuff/////////////////////////////// @@ -564,7 +564,7 @@ description = "Some kind of nutriment. You can't really tell what it is. You should probably report it, along with how you obtained it." color = "#000000" // RBG: 0, 0, 0 var/tox_prob = 0 - taste_message = "puke" + taste_description = "puke" /datum/reagent/plantnutriment/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -578,7 +578,7 @@ description = "Cheap and extremely common type of plant nutriment." color = "#376400" // RBG: 50, 100, 0 tox_prob = 10 - taste_message = "obscurity and toil" + taste_description = "obscurity and toil" /datum/reagent/plantnutriment/left4zednutriment name = "Left 4 Zed" @@ -586,7 +586,7 @@ description = "Unstable nutriment that makes plants mutate more often than usual." color = "#1A1E4D" // RBG: 26, 30, 77 tox_prob = 25 - taste_message = "evolution" + taste_description = "evolution" /datum/reagent/plantnutriment/robustharvestnutriment name = "Robust Harvest" @@ -594,7 +594,7 @@ description = "Very potent nutriment that prevents plants from mutating." color = "#9D9D00" // RBG: 157, 157, 0 tox_prob = 15 - taste_message = "bountifulness" + taste_description = "bountifulness" ///Alchemical Reagents @@ -640,7 +640,7 @@ color = "#FFC080" // rgb: 255, 196, 128 Bright orange metabolization_rate = 10 * REAGENTS_METABOLISM // very fast, so it can be applied rapidly. But this changes on an overdose overdose_threshold = 11 //Slightly more than one un-nozzled spraybottle. - taste_message = "sour oranges" + taste_description = "sour oranges" /datum/reagent/spraytan/reaction_mob(mob/living/M, method=TOUCH, reac_volume, show_message = 1) if(ishuman(M)) diff --git a/code/modules/reagents/chemistry/reagents/paint.dm b/code/modules/reagents/chemistry/reagents/paint.dm index ca6da0d0a23..6c0b04339b0 100644 --- a/code/modules/reagents/chemistry/reagents/paint.dm +++ b/code/modules/reagents/chemistry/reagents/paint.dm @@ -4,7 +4,7 @@ description = "Floor paint is used to color floor tiles." reagent_state = LIQUID color = "#808080" - taste_message = "paint" + taste_description = "paint" /datum/reagent/paint/reaction_turf(turf/T, volume) if(!isspaceturf(T)) @@ -55,7 +55,7 @@ description = "Paint remover is used to remove floor paint from floor tiles." reagent_state = LIQUID color = "#808080" - taste_message = "alcohol" + taste_description = "alcohol" /datum/reagent/paint_remover/reaction_turf(turf/T, volume) if(!isspaceturf(T)) diff --git a/code/modules/reagents/chemistry/reagents/paradise_pop.dm b/code/modules/reagents/chemistry/reagents/paradise_pop.dm index 2294088e54a..af59809da27 100644 --- a/code/modules/reagents/chemistry/reagents/paradise_pop.dm +++ b/code/modules/reagents/chemistry/reagents/paradise_pop.dm @@ -15,7 +15,7 @@ description = "Tastes just how you'd think Paradise would if you could bottle it." reagent_state = LIQUID color = "#cc0044" - taste_message = "paradise" + taste_description = "paradise" //Apple-pocalypse: Low chance to cause a goonchem vortex that pulls things within a very small radius (2 tiles?) towards the drinker /datum/reagent/consumable/drink/apple_pocalypse @@ -24,7 +24,7 @@ description = "If doomsday came in fruit form, it'd probably be apples." reagent_state = LIQUID color = "#44FF44" - taste_message = "doomsday" + taste_description = "doomsday" /datum/reagent/consumable/drink/apple_pocalypse/on_mob_life(mob/living/M) if(prob(1)) @@ -40,7 +40,7 @@ description = "Reason for ban: Excessive Flavor." reagent_state = LIQUID color = "#FF44FF" - taste_message = "a permaban" + taste_description = "a permaban" /datum/reagent/consumable/drink/berry_banned/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -69,7 +69,7 @@ description = "Reason for ban: Excessive Flavor." reagent_state = LIQUID color = "#FF44FF" - taste_message = "a permaban" + taste_description = "a permaban" /datum/reagent/consumable/drink/berry_banned2/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -91,7 +91,7 @@ description = "Creamy, smooth flavor, just like the bald heads of the masses. Supposedly aged for 30 years." reagent_state = LIQUID color = "#4d2600" - taste_message = "greytide" + taste_description = "greytide" /datum/reagent/consumable/drink/blackeye_brew/on_mob_life(mob/living/M) if(prob(25)) @@ -114,7 +114,7 @@ description = "Exploding with grape flavor and a favorite among ERT members system-wide." reagent_state = LIQUID color = "#9933ff" - taste_message = "old people" + taste_description = "old people" /datum/reagent/consumable/drink/grape_granade/on_mob_life(mob/living/M) if(prob(1)) @@ -133,7 +133,7 @@ description = "Soft drinks have been detected on collision course with your tastebuds." reagent_state = LIQUID color = "#cc9900" - taste_message = "flying space rocks" + taste_description = "flying space rocks" /datum/reagent/consumable/drink/meteor_malt/on_mob_life(mob/living/M) if(prob(25)) diff --git a/code/modules/reagents/chemistry/reagents/pyrotechnic.dm b/code/modules/reagents/chemistry/reagents/pyrotechnic.dm index d611c3c8d86..e1161bf9a7d 100644 --- a/code/modules/reagents/chemistry/reagents/pyrotechnic.dm +++ b/code/modules/reagents/chemistry/reagents/pyrotechnic.dm @@ -84,7 +84,7 @@ drink_icon = "dr_gibb_glass" drink_name = "Glass of welder fuel" drink_desc = "Unless you are an industrial tool, this is probably not safe for consumption." - taste_message = "mistakes" + taste_description = "mistakes" process_flags = ORGANIC | SYNTHETIC var/max_radius = 7 var/min_radius = 0 @@ -140,7 +140,7 @@ description = "The liquid phase of an unusual extraterrestrial compound." reagent_state = LIQUID color = "#7A2B94" - taste_message = "corporate assets going to waste" + taste_description = "corporate assets going to waste" /datum/reagent/plasma/reaction_temperature(exposed_temperature, exposed_volume) if(exposed_temperature >= T0C + 100) @@ -171,7 +171,7 @@ reagent_state = SOLID color = "#673910" // rgb: 103, 57, 16 process_flags = ORGANIC | SYNTHETIC - taste_message = "rust" + taste_description = "rust" /datum/reagent/thermite/reaction_mob(mob/living/M, method= TOUCH, volume) if(method == TOUCH) @@ -206,7 +206,7 @@ description = "Glycerol is a simple polyol compound. Glycerol is sweet-tasting and of low toxicity." reagent_state = LIQUID color = "#808080" // rgb: 128, 128, 128 - taste_message = "sweetness" + taste_description = "sweetness" /datum/reagent/stabilizing_agent name = "Stabilizing Agent" @@ -214,7 +214,7 @@ description = "A chemical that stabilises normally volatile compounds, preventing them from reacting immediately." reagent_state = LIQUID color = "#FFFF00" - taste_message = "long-term stability" + taste_description = "long-term stability" /datum/reagent/clf3 name = "Chlorine Trifluoride" @@ -224,7 +224,7 @@ color = "#FF0000" metabolization_rate = 4 process_flags = ORGANIC | SYNTHETIC - taste_message = null + taste_description = null /datum/reagent/clf3/on_mob_life(mob/living/M) if(M.on_fire) @@ -268,7 +268,7 @@ description = "Sucks everything into the detonation point." reagent_state = LIQUID color = "#800080" - taste_message = "the end of the world" + taste_description = "the end of the world" /datum/reagent/liquid_dark_matter/reaction_turf(turf/T, volume) //Oh gosh, why if(prob(75)) @@ -287,7 +287,7 @@ color = "#000000" metabolization_rate = 0.05 penetrates_skin = TRUE - taste_message = "explosions" + taste_description = "explosions" /datum/reagent/blackpowder/reaction_turf(turf/T, volume) //oh shit if(volume >= 5 && !isspaceturf(T)) @@ -406,7 +406,7 @@ id = "plasma_dust" description = "A fine dust of plasma. This chemical has unusual mutagenic properties for viruses and slimes alike." color = "#500064" // rgb: 80, 0, 100 - taste_message = "corporate assets going to waste" + taste_description = "corporate assets going to waste" /datum/reagent/plasma_dust/reaction_temperature(exposed_temperature, exposed_volume) if(exposed_temperature >= T0C + 100) diff --git a/code/modules/reagents/chemistry/reagents/toxins.dm b/code/modules/reagents/chemistry/reagents/toxins.dm index 4cf50c9f661..72c6135cad1 100644 --- a/code/modules/reagents/chemistry/reagents/toxins.dm +++ b/code/modules/reagents/chemistry/reagents/toxins.dm @@ -28,7 +28,7 @@ description = "Useful for dealing with undesirable customers." reagent_state = LIQUID color = "#CF3600" // rgb: 207, 54, 0 - taste_message = "mint" + taste_description = "mint" /datum/reagent/minttoxin/on_mob_life(mob/living/M) if(FAT in M.mutations) @@ -41,7 +41,7 @@ description = "A gooey semi-liquid produced from one of the deadliest lifeforms in existence. SO REAL." reagent_state = LIQUID color = "#801E28" // rgb: 128, 30, 40 - taste_message = "slimes" + taste_description = "slimes" /datum/reagent/slimejelly/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -59,7 +59,7 @@ reagent_state = LIQUID color = "#13BC5E" // rgb: 19, 188, 94 can_synth = FALSE - taste_message = "shadows" + taste_description = "shadows" /datum/reagent/slimetoxin/on_mob_life(mob/living/M) if(ishuman(M)) @@ -93,7 +93,7 @@ color = "#484848" // rgb: 72, 72, 72 metabolization_rate = 0.2 penetrates_skin = TRUE - taste_message = "metal" + taste_description = "metal" /datum/reagent/mercury/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -109,7 +109,7 @@ color = "#808080" // rgb: 128, 128, 128 penetrates_skin = TRUE process_flags = ORGANIC | SYNTHETIC - taste_message = "fire" + taste_description = "fire" /datum/reagent/chlorine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -124,7 +124,7 @@ color = "#6A6054" penetrates_skin = TRUE process_flags = ORGANIC | SYNTHETIC - taste_message = "spicy freshness" + taste_description = "spicy freshness" /datum/reagent/fluorine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -215,7 +215,7 @@ description = "A silvery-white metallic chemical element in the actinide series, weakly radioactive." reagent_state = SOLID color = "#B8B8C0" // rgb: 184, 184, 192 - taste_message = null + taste_description = null /datum/reagent/uranium/on_mob_life(mob/living/M) M.apply_effect(2, IRRADIATE, negate_armor = 1) @@ -247,7 +247,7 @@ reagent_state = LIQUID color = "#00FF32" process_flags = ORGANIC | SYNTHETIC - taste_message = "ACID" + taste_description = "ACID" /datum/reagent/sacid/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -340,7 +340,7 @@ drink_icon ="beerglass" drink_name = "Beer glass" drink_desc = "A freezing pint of beer" - taste_message = "beer" + taste_description = "beer" /datum/reagent/beer2/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -361,7 +361,7 @@ metabolization_rate = 0.1 penetrates_skin = TRUE can_synth = FALSE - taste_message = null + taste_description = null /datum/reagent/polonium/on_mob_life(mob/living/M) M.apply_effect(8, IRRADIATE, negate_armor = 1) @@ -375,7 +375,7 @@ color = "#E7C4C4" metabolization_rate = 0.2 overdose_threshold = 40 - taste_message = null + taste_description = null /datum/reagent/histamine/reaction_mob(mob/living/M, method=TOUCH, volume) //dumping histamine on someone is VERY mean. if(iscarbon(M)) @@ -533,7 +533,7 @@ color = "#CF3600" metabolization_rate = 0.1 penetrates_skin = TRUE - taste_message = "almonds" + taste_description = "almonds" /datum/reagent/cyanide/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -592,7 +592,7 @@ reagent_state = LIQUID color = "#5050FF" process_flags = ORGANIC | SYNTHETIC - taste_message = "ACID" + taste_description = "ACID" /datum/reagent/facid/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -648,7 +648,7 @@ reagent_state = LIQUID color = "#7F10C0" can_synth = FALSE - taste_message = null + taste_description = null /datum/reagent/initropidril/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -680,7 +680,7 @@ reagent_state = LIQUID color = "#1E4664" metabolization_rate = 0.2 - taste_message = null + taste_description = null /datum/reagent/pancuronium/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -715,7 +715,7 @@ color = "#5F8BE1" metabolization_rate = 0.7 can_synth = FALSE - taste_message = null + taste_description = null /datum/reagent/sodium_thiopental/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -745,7 +745,7 @@ metabolization_rate = 0.8 penetrates_skin = TRUE can_synth = FALSE - taste_message = null + taste_description = null /datum/reagent/ketamine/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -797,7 +797,7 @@ description = "A toxin produced by certain mushrooms. Very deadly." reagent_state = LIQUID color = "#D9D9D9" - taste_message = null + taste_description = null /datum/reagent/amanitin/on_mob_delete(mob/living/M) M.adjustToxLoss(current_cycle*rand(2,4)) @@ -810,7 +810,7 @@ reagent_state = SOLID color = "#D1DED1" metabolization_rate = 0.2 - taste_message = "battery acid" + taste_description = "battery acid" /datum/reagent/lipolicide/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -902,7 +902,7 @@ metabolization_rate = 0.1 penetrates_skin = TRUE overdose_threshold = 25 - taste_message = null + taste_description = null /datum/reagent/sarin/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1038,7 +1038,7 @@ reagent_state = LIQUID color = "#60A584" heart_rate_stop = 1 - taste_message = "sweetness" + taste_description = "sweetness" /datum/reagent/capulettium/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1069,7 +1069,7 @@ reagent_state = LIQUID color = "#60A584" heart_rate_stop = 1 - taste_message = "sweetness" + taste_description = "sweetness" /datum/reagent/capulettium_plus/on_mob_life(mob/living/M) M.Silence(2) @@ -1142,7 +1142,7 @@ reagent_state = SOLID color = "#993333" process_flags = ORGANIC | SYNTHETIC - taste_message = "ANTS OH GOD" + taste_description = "ANTS OH GOD" /datum/reagent/ants/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -1165,7 +1165,7 @@ metabolization_rate = 0.2 var/shock_timer = 0 process_flags = ORGANIC | SYNTHETIC - taste_message = "electricity" + taste_description = "electricity" /datum/reagent/teslium/on_mob_life(mob/living/M) shock_timer++ diff --git a/code/modules/reagents/chemistry/reagents/water.dm b/code/modules/reagents/chemistry/reagents/water.dm index fc79d0b336b..32b26755ab2 100644 --- a/code/modules/reagents/chemistry/reagents/water.dm +++ b/code/modules/reagents/chemistry/reagents/water.dm @@ -18,7 +18,7 @@ drink_icon = "glass_clear" drink_name = "Glass of Water" drink_desc = "The father of all refreshments." - taste_message = null + taste_description = null var/water_temperature = 283.15 // As reagents don't have a temperature value, we'll just use 10 celsius. /datum/reagent/water/reaction_mob(mob/living/M, method = TOUCH, volume) @@ -36,7 +36,7 @@ description = "Lubricant is a substance introduced between two moving surfaces to reduce the friction and wear between them. giggity." reagent_state = LIQUID color = "#1BB1AB" - taste_message = "cherry" + taste_description = "cherry" /datum/reagent/lube/reaction_turf(turf/simulated/T, volume) if(volume >= 1 && istype(T)) @@ -49,7 +49,7 @@ description = "A compound used to clean things. Now with 50% more sodium hypochlorite!" reagent_state = LIQUID color = "#61C2C2" - taste_message = "floor cleaner" + taste_description = "floor cleaner" /datum/reagent/space_cleaner/reaction_obj(obj/O, volume) if(is_cleanable(O)) @@ -123,7 +123,7 @@ drink_icon = "glass_red" drink_name = "Glass of Tomato juice" drink_desc = "Are you sure this is tomato juice?" - taste_message = "blood" + taste_description = "blood" /datum/reagent/blood/reaction_mob(mob/living/M, method=TOUCH, volume) if(data && data["viruses"]) @@ -205,7 +205,7 @@ name = "Vaccine" id = "vaccine" color = "#C81040" // rgb: 200, 16, 64 - taste_message = "antibodies" + taste_description = "antibodies" /datum/reagent/vaccine/reaction_mob(mob/living/M, method=TOUCH, volume) if(islist(data) && (method == INGEST)) @@ -225,7 +225,7 @@ description = "Smelly water from a fish tank. Gross!" reagent_state = LIQUID color = "#757547" - taste_message = "puke" + taste_description = "puke" /datum/reagent/fishwater/reaction_mob(mob/living/M, method=TOUCH, volume) if(method == INGEST) @@ -245,7 +245,7 @@ description = "Filthy water scoured from a nasty toilet bowl. Absolutely disgusting." reagent_state = LIQUID color = "#757547" - taste_message = "puke" + taste_description = "puke" /datum/reagent/fishwater/toiletwater/reaction_mob(mob/living/M, method=TOUCH, volume) //For shennanigans return @@ -260,7 +260,7 @@ drink_icon = "glass_clear" drink_name = "Glass of Water" drink_desc = "The father of all refreshments." - taste_message = null + taste_description = null /datum/reagent/holywater/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -361,7 +361,7 @@ description = "Something that shouldn't exist on this plane of existance." process_flags = ORGANIC | SYNTHETIC //ethereal means everything processes it. metabolization_rate = 1 - taste_message = "sulfur" + taste_description = "sulfur" /datum/reagent/fuel/unholywater/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -390,7 +390,7 @@ process_flags = ORGANIC | SYNTHETIC //Admin-bus has no brakes! KILL THEM ALL. metabolization_rate = 1 can_synth = FALSE - taste_message = "admin abuse" + taste_description = "admin abuse" /datum/reagent/hellwater/on_mob_life(mob/living/M) var/update_flags = STATUS_UPDATE_NONE @@ -407,7 +407,7 @@ color = "#FF9966" description = "You don't even want to think about what's in here." reagent_state = LIQUID - taste_message = "meat" + taste_description = "meat" /datum/reagent/liquidgibs/reaction_turf(turf/T, volume) //yes i took it from synthflesh... if(volume >= 5 && !isspaceturf(T)) @@ -420,7 +420,7 @@ description = "Also known as sodium hydroxide." reagent_state = LIQUID color = "#FFFFD6" // very very light yellow - taste_message = "ACID"//don't drink lye, kids + taste_description = "ACID"//don't drink lye, kids /datum/reagent/drying_agent name = "Drying agent" @@ -428,7 +428,7 @@ description = "Can be used to dry things." reagent_state = LIQUID color = "#A70FFF" - taste_message = "dry mouth" + taste_description = "dry mouth" /datum/reagent/drying_agent/reaction_turf(turf/simulated/T, volume) if(istype(T) && T.wet) diff --git a/code/modules/reagents/reagent_containers.dm b/code/modules/reagents/reagent_containers.dm index 829d8fd2226..f9077aafab5 100644 --- a/code/modules/reagents/reagent_containers.dm +++ b/code/modules/reagents/reagent_containers.dm @@ -35,6 +35,9 @@ var/datum/disease/F = new spawned_disease(0) var/list/data = list("viruses" = list(F), "blood_color" = "#A10808") reagents.add_reagent("blood", disease_amount, data) + add_initial_reagents() + +obj/item/reagent_containers/proc/add_initial_reagents() if(list_reagents) reagents.add_reagent_list(list_reagents) diff --git a/code/modules/reagents/reagent_containers/pill.dm b/code/modules/reagents/reagent_containers/pill.dm index cffc2f0ef06..e22e9c86793 100644 --- a/code/modules/reagents/reagent_containers/pill.dm +++ b/code/modules/reagents/reagent_containers/pill.dm @@ -10,7 +10,7 @@ possible_transfer_amounts = null volume = 100 consume_sound = null - taste = FALSE + can_taste = FALSE antable = FALSE /obj/item/reagent_containers/food/pill/New() diff --git a/paradise.dme b/paradise.dme index 270d843845c..cc6c94bb57e 100644 --- a/paradise.dme +++ b/paradise.dme @@ -1702,6 +1702,7 @@ #include "code\modules\mob\living\say.dm" #include "code\modules\mob\living\stat_states.dm" #include "code\modules\mob\living\status_procs.dm" +#include "code\modules\mob\living\taste.dm" #include "code\modules\mob\living\update_status.dm" #include "code\modules\mob\living\carbon\_defines.dm" #include "code\modules\mob\living\carbon\carbon.dm"