diff --git a/StardustLib/sys/stardust/quickbar/conditions.lua b/StardustLib/sys/stardust/quickbar/conditions.lua index 38fb84b9..f08042b1 100644 --- a/StardustLib/sys/stardust/quickbar/conditions.lua +++ b/StardustLib/sys/stardust/quickbar/conditions.lua @@ -23,5 +23,6 @@ function conditions.statPositive(stat) return status.statPositive(stat) end function conditions.statNegative(stat) return not status.statPositive(stat) end function conditions.species(species) return player.species() == species end function conditions.ownShip() return player.worldId() == player.ownShipWorldId() end +function conditions.hasCompletedQuest(questId) return player.hasCompletedQuest(questId) end function conditions.configExists(key) return root.assetJson(key) ~= nil end