Anonymous avatar Anonymous committed e6393d1

Add "ACHIEVEMENT UNLOCKED:" to the message, also change the output slightly.
Remove needless punctuation from achievements ending in '.'

Comments (0)

Files changed (2)

achievements-functions.el

 
 (defun achievements-earned-message (achievement)
   "Display the message when an achievement is earned."
-  (message "You earned the %s achievement!"
+  (message "ACHIEVEMENT UNLOCKED: You've earned the `%s' achievement!"
            (emacs-achievement-name achievement)))
 
 (defun achievements-update-score ()

basic-achievements.el

 
 (defcommand-achievements
   "You learned new things by using `%s'."
-  ((help-for-help "First things first.")
-   (help-with-tutorial "Show me the way.") ;; Also one if finished the tutorial
+  ((help-for-help "First things first")
+   (help-with-tutorial "Show me the way") ;; Also one if finished the tutorial
    (info-emacs-manual "RTFM")
    (view-echo-area-messages "Log Auditor")
    (view-emacs-FAQ "FAQ")
   "You have installed and enjoyed `%s'."
   ((emstar "Um, Star?" )
    (fliptext-flip-region "Can you read upside down?")
-   (nethack "Hack, hack, hack.")
+   (nethack "Hack, hack, hack")
    (nyan-mode "Nyan, Nyan, Nyan"))
   :min-score 100)
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.