Fixes single-product smithing cast descriptions (#31495)

This commit is contained in:
PollardTheDragon
2026-02-03 19:11:37 -05:00
committed by GitHub
parent dee06075a4
commit f4daa8edd7
+3 -2
View File
@@ -21,8 +21,9 @@
/obj/item/smithing_cast/examine(mob/user)
. = ..()
. += "It is currently configured to make [amount_to_make == 1 ? "a" : "[amount_to_make]"] [selected_product.name][amount_to_make == 1 ? "" : "s"]."
. += SPAN_NOTICE("You can select the desired product by using [src] in your hand.")
if(length(possible_products) > 1)
. += "It is currently configured to make [amount_to_make == 1 ? "a" : "[amount_to_make]"] [selected_product.name][amount_to_make == 1 ? "" : "s"]."
. += SPAN_NOTICE("You can select the desired product by using [src] in your hand.")
/obj/item/smithing_cast/activate_self(mob/user)
. = ..()