Skip to content

Commit d68e0ce

Browse files
committed
improve formatting of list entries
1 parent 5bab733 commit d68e0ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

unretire-anyone.lua

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ function getHistfigShortSummary(histFig)
6161
name = name .. ' (' .. sym .. ')'
6262
end
6363
name = name ..
64-
'\n' .. dfhack.units.getReadableName(histFig)
64+
'\n ' .. dfhack.units.getReadableName(histFig)
6565
if histFig.name.has_name then
6666
name = name ..
67-
'\n"' .. dfhack.translation.translateName(histFig.name, true) .. '"'
67+
'\n "' .. dfhack.translation.translateName(histFig.name, true) .. '"'
6868
else
6969
name = name ..
7070
'\nUnnamed'
@@ -95,7 +95,7 @@ local function showNemesisPrompt(advSetUpScreen)
9595

9696
dialogs.ListBox{
9797
frame_title = 'unretire-anyone',
98-
text = 'Select someone to add to the "Specific Person" list (' .. #choices .. ' entries)',
98+
text = 'Select someone to add to the "Specific Person" list:',
9999
text_pen = COLOR_WHITE,
100100
choices = choices,
101101
on_select = function(id, choice) addNemesisToUnretireList(advSetUpScreen, choice.nemesis, choice.idx) end,

0 commit comments

Comments
 (0)