Skip to content

Commit a72a999

Browse files
committed
recode instruments output for printing to console
1 parent 6162a1b commit a72a999

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

instruments.lua

+4-4
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ local function print_list()
6161

6262
local building_tag = instrument.flags.PLACED_AS_BUILDING and " (building, " or " (handheld, "
6363
local reaction = getAssemblyReaction(instrument.id)
64-
dfhack.print(instrument.name .. building_tag)
64+
dfhack.print(dfhack.df2console(instrument.name .. building_tag))
6565
if #instrument.pieces == 0 then
66-
print(describeReaction(reaction) .. ")")
66+
print(dfhack.df2console(describeReaction(reaction) .. ")"))
6767
else
68-
print(df.job_skill[reaction.skill] .. "/assemble)")
68+
print(dfhack.df2console(df.job_skill[reaction.skill] .. "/assemble)"))
6969
for _, str in pairs(instruments[instrument.name]) do
70-
print(" " .. str)
70+
print(dfhack.df2console(" " .. str))
7171
end
7272
end
7373
print()

0 commit comments

Comments
 (0)