Commits

Ivan Andrus committed d7fd51b

Added unlocks slot

  • Participants
  • Parent commits 356f03d

Comments (0)

Files changed (1)

                          ;; &optional (predicate t)
                          &key
                          ;; slots
-                         points transient min-score predicate
+                         points transient min-score predicate unlocks
                          ;; convenience
                          package variable command
                          &aux (predicate
 
   (name nil :read-only t)
   description
-  (points 5)
   predicate ;; t if satisfied, nil if opted out, otherwise a function which should return non-nil on success
   transient ;; if non-nil then results won't be saved, but constantly re-evaluated.
+  (points 5)
   (min-score 0)
+  unlocks
   )
 
 (defmacro defachievement (name &rest body)