feat: add discarding activity to activity string and bottom message
This commit is contained in:
@@ -78,7 +78,8 @@ local function getActivityString()
|
|||||||
if activity.smelting then table.insert(parts, "SMELTING") end
|
if activity.smelting then table.insert(parts, "SMELTING") end
|
||||||
if activity.scanning then table.insert(parts, "SCANNING") end
|
if activity.scanning then table.insert(parts, "SCANNING") end
|
||||||
if activity.defragging then table.insert(parts, "DEFRAG") end
|
if activity.defragging then table.insert(parts, "DEFRAG") end
|
||||||
if activity.composting then table.insert(parts, "COMPOST") end
|
if activity.composting then table.insert(parts, "COMPOST") end
|
||||||
|
if activity.discarding then table.insert(parts, "DISCARD") end
|
||||||
if #parts > 0 then
|
if #parts > 0 then
|
||||||
return table.concat(parts, " | ")
|
return table.concat(parts, " | ")
|
||||||
end
|
end
|
||||||
@@ -91,6 +92,7 @@ local function getBottomMessage()
|
|||||||
elseif activity.sorting then return "SORTING BARREL..."
|
elseif activity.sorting then return "SORTING BARREL..."
|
||||||
elseif activity.defragging then return "DEFRAGMENTING..."
|
elseif activity.defragging then return "DEFRAGMENTING..."
|
||||||
elseif activity.composting then return "COMPOSTING..."
|
elseif activity.composting then return "COMPOSTING..."
|
||||||
|
elseif activity.discarding then return "DISCARDING EXCESS..."
|
||||||
end
|
end
|
||||||
return "Tap item to order"
|
return "Tap item to order"
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user