Habit puzzles ui to toggle top priority

This commit is contained in:
2022-09-14 21:06:53 +00:00
parent 4a45b00fc0
commit fc03c8df11
2 changed files with 24 additions and 1 deletions

View File

@@ -254,6 +254,10 @@
(set e.labels (for label e.labels (object points label.points label "~")))
(save))
(method toggleEntryPriority [:Entry e]
(set e.topPriority !e.topPriority)
(save))
(method addRewardFile [path startingPoints puzzleWidth puzzleHeight piecesPerPoint]
(rewardFiles.push (objectWith [skipped false] path startingPoints puzzleWidth puzzleHeight piecesPerPoint))
(save))