From a72a99974d6dbe575511c69091cdfd083e400249 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Sun, 11 Aug 2024 13:38:05 -0700 Subject: [PATCH] recode instruments output for printing to console --- instruments.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/instruments.lua b/instruments.lua index 4b634c163e..fe9c232472 100644 --- a/instruments.lua +++ b/instruments.lua @@ -61,13 +61,13 @@ local function print_list() local building_tag = instrument.flags.PLACED_AS_BUILDING and " (building, " or " (handheld, " local reaction = getAssemblyReaction(instrument.id) - dfhack.print(instrument.name .. building_tag) + dfhack.print(dfhack.df2console(instrument.name .. building_tag)) if #instrument.pieces == 0 then - print(describeReaction(reaction) .. ")") + print(dfhack.df2console(describeReaction(reaction) .. ")")) else - print(df.job_skill[reaction.skill] .. "/assemble)") + print(dfhack.df2console(df.job_skill[reaction.skill] .. "/assemble)")) for _, str in pairs(instruments[instrument.name]) do - print(" " .. str) + print(dfhack.df2console(" " .. str)) end end print()