You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -166,11 +166,10 @@ local function process(unit, args, need_newline)
166
166
foru_id, iteminpairs(assigned_items) do
167
167
ifnotworn_items[u_id] then
168
168
ifnotsilentthen
169
-
need_newline=print_line(unit_name.." is missing an assigned item, object #" ..u_id.." '" ..
170
-
item_description(item) .."'", need_newline)
169
+
need_newline=print_line(unit_name.." is missing an assigned item, " ..item_description(item), need_newline)
171
170
end
172
171
ifdfhack.items.getGeneralRef(item, df.general_ref_type.UNIT_HOLDER) then
173
-
need_newline=print_line(unit_name.." cannot equip item: another unit has a claim on object #" ..u_id.." '" ..item_description(item).."'", need_newline)
172
+
need_newline=print_line(unit_name.." cannot equip item: another unit has a claim on " ..item_description(item), need_newline)
174
173
ifargs.freethen
175
174
print(" Removing from uniform")
176
175
assigned_items[u_id] =nil
@@ -204,9 +203,9 @@ local function process(unit, args, need_newline)
0 commit comments