Skip to content

Commit

Permalink
Update conditions.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Silverfeelin authored Aug 12, 2019
1 parent d1410c6 commit b9aa4a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sys/stardust/quickbar/conditions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
function conditions.configExists(key) return root.assetJson(key) ~= nil end

0 comments on commit b9aa4a4

Please sign in to comment.