From f423f81e428b138cc8de27210691dec371f4787e Mon Sep 17 00:00:00 2001 From: Cameron Lennox Date: Sat, 15 Feb 2025 16:51:25 -0500 Subject: [PATCH] CHEM DISPENSER HOTFIX [HOTFIX] (#17157) * fixes reagents * hotfix --- code/modules/reagents/holder/holder.dm | 2 ++ code/modules/reagents/reagents/food_drinks.dm | 2 ++ 2 files changed, 4 insertions(+) diff --git a/code/modules/reagents/holder/holder.dm b/code/modules/reagents/holder/holder.dm index 764edc03e5a..5e1c33b58fc 100644 --- a/code/modules/reagents/holder/holder.dm +++ b/code/modules/reagents/holder/holder.dm @@ -18,6 +18,8 @@ var/datum/reagent/D = new path() if(!D.name) continue + if(D.name == REAGENT_DEVELOPER_WARNING) //We remove reagents that don't have a name from being put in the list. + continue SSchemistry.chemical_reagents[D.id] = D /datum/reagents/Destroy() diff --git a/code/modules/reagents/reagents/food_drinks.dm b/code/modules/reagents/reagents/food_drinks.dm index 50792c54267..0dd5e8b3383 100644 --- a/code/modules/reagents/reagents/food_drinks.dm +++ b/code/modules/reagents/reagents/food_drinks.dm @@ -3102,6 +3102,7 @@ //Base type for alchoholic drinks containing coffee /datum/reagent/ethanol/coffee name = REAGENT_DEVELOPER_WARNING + id = REAGENT_ID_DEVELOPER_WARNING overdose = 45 allergen_type = ALLERGEN_COFFEE|ALLERGEN_STIMULANT //Contains coffee or is made from coffee @@ -3359,6 +3360,7 @@ /datum/reagent/ethanol/wine name = REAGENT_DEVELOPER_WARNING // Unit test ignore + id = REAGENT_ID_DEVELOPER_WARNING /datum/reagent/ethanol/wine/champagne name = REAGENT_CHAMPAGNE