feat: 'kan ikke bære' nævner målets varer + diagnose i loggen (1.62.225)
This commit is contained in:
@@ -35,6 +35,7 @@ function SmartPickupFrame:describeVehicle(adEnv, run, vehicle, isInRun)
|
||||
if validation.reason == "noMarker" and validation.missingBuilding ~= nil then
|
||||
reason = string.format(reason, tostring(validation.missingBuilding))
|
||||
end
|
||||
if validation.goodsText ~= nil then reason = string.format("%s (%s)", reason, validation.goodsText) end
|
||||
table.insert(parts, "X " .. reason)
|
||||
end
|
||||
return table.concat(parts, " — ")
|
||||
|
||||
Reference in New Issue
Block a user