diff --git a/code/modules/mob/living/carbon/taste.dm b/code/modules/mob/living/carbon/taste.dm index 39aaf1e4057..af46fdbe245 100644 --- a/code/modules/mob/living/carbon/taste.dm +++ b/code/modules/mob/living/carbon/taste.dm @@ -45,7 +45,7 @@ calculate text size per text. else tastes[taste] = taste_data[taste] else - var/taste_desc = R.taste_description + var/taste_desc = taster.species?.name && (taster.species?.name in R.species_taste_description) ? R.species_taste_description[taster.species.name] : R.taste_description var/taste_amount = REAGENT_VOLUME(src, _R) * R.taste_mult if(R.taste_description in tastes) tastes[taste_desc] += taste_amount diff --git a/code/modules/reagents/Chemistry-Reagents.dm b/code/modules/reagents/Chemistry-Reagents.dm index 0928ca3dbce..83a6d7ae281 100644 --- a/code/modules/reagents/Chemistry-Reagents.dm +++ b/code/modules/reagents/Chemistry-Reagents.dm @@ -2,6 +2,7 @@ var/name = "Reagent" var/description = "A non-descript chemical." var/taste_description = "old rotten bandaids" + var/list/species_taste_description var/taste_mult = 1 //how this taste compares to others. Higher values means it is more noticable var/reagent_state = SOLID var/metabolism = REM // This would be 0.2 normally @@ -170,4 +171,4 @@ //Check to use when seeing if the person has the minimum dose of the reagent. Useful for stopping minimum transfer rate IV drips from applying chem effects /singleton/reagent/proc/check_min_dose(var/mob/living/carbon/M, var/min_dose = 1) - return (REAGENT_VOLUME(M.reagents, type) >= min_dose) \ No newline at end of file + return (REAGENT_VOLUME(M.reagents, type) >= min_dose) diff --git a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm index 02efd61380f..8a5ff2ba49b 100644 --- a/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm +++ b/code/modules/reagents/Chemistry-Reagents/Chemistry-Reagents-Food-Drinks.dm @@ -4638,6 +4638,9 @@ color = "#91de47" strength = 5 taste_description = "water" + species_taste_description = list( + SPECIES_UNATHI = "a bit of watermelon and strawberry with a hint of salt" + ) glass_icon_state = "xuiziglass" glass_name = "glass of Xuizi Juice" diff --git a/html/changelogs/geeves-tasty_xuizi.yml b/html/changelogs/geeves-tasty_xuizi.yml new file mode 100644 index 00000000000..29cfa973256 --- /dev/null +++ b/html/changelogs/geeves-tasty_xuizi.yml @@ -0,0 +1,6 @@ +author: Geeves + +delete-after: True + +changes: + - rscadd: "Unathi now get a unique flavour description for Xuizi Juice."