From 2d6517a004623ed5b53d4e503a466aa0fe66c2d5 Mon Sep 17 00:00:00 2001 From: larentoun <31931237+larentoun@users.noreply.github.com> Date: Sun, 13 Oct 2024 19:07:26 +0300 Subject: [PATCH] recipe too --- modular_bandastation/translations/code/design.dm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/modular_bandastation/translations/code/design.dm b/modular_bandastation/translations/code/design.dm index ec32147539ef2..8ebfc434d4ae9 100644 --- a/modular_bandastation/translations/code/design.dm +++ b/modular_bandastation/translations/code/design.dm @@ -7,3 +7,13 @@ return var/atom/design_result = build_path name = capitalize(design_result::ru_name_nominative) || name + +/datum/crafting_recipe + var/use_declented_name = TRUE + +/datum/crafting_recipe/New() + . = ..() + if(!use_declented_name || !result) + return + var/atom/crafting_result = result + name = capitalize(crafting_result::ru_name_nominative) || name