Commit Graph

27 Commits

Author SHA1 Message Date
Nathan Byrd 2a43f20287 Fixed art called from achievements 2023-09-08 01:36:24 +00:00
Bryan Ashby 5a4563c799 PR feedback: Better handling of real name and email 2023-08-24 09:13:29 -06:00
Bryan Ashby f99de19792 Make real name and other properties optional - pass 1 2023-07-24 12:17:47 -06:00
Bryan Ashby 4881c2123a First pass formatting with Prettier
* Added .prettierrc.json
* Added .prettierignore
* Formatted
2022-06-05 14:04:25 -06:00
Bryan Ashby 4d4be5d6a9
Major progress on revamp
* Deprecated explicit prompt.hjson/general.promptFile, etc.: menu.hjson can simply include any number of files
* All menus and themes, their events, etc. are managed by ThemeManager allowing includes, refs, etc. and much cleaner code
2020-06-17 00:10:51 -06:00
Bryan Ashby 683075f4ca
Use new ConfigLoader for achievements 2020-06-15 21:22:38 -06:00
Bryan Ashby 9e9dc9af89
A lot of code tidy up 2020-06-15 19:08:55 -06:00
Bryan Ashby 6aa6712edc Minor achievement event improvements 2019-01-30 23:36:00 -07:00
Bryan Ashby 4bb4a06e66 Fix duplicate announcements for retroactive achievements 2019-01-30 21:01:49 -07:00
Bryan Ashby 3450500d27 factory() should not crash if data is null 2019-01-26 12:04:59 -07:00
Bryan Ashby aa9cd8899c New 'userStatIncNewVal' achievement type 2019-01-24 21:53:31 -07:00
Bryan Ashby 4f0ade6ce1 * getAchievementsEarnedByUser() exported as standard method using global inst
* Added timestamp info
2019-01-22 21:54:37 -07:00
Bryan Ashby 16e903d4c6 Achievements are now recorded in more detail such that they can be retrieved *as they were* at the time of earning 2019-01-20 21:58:00 -07:00
Bryan Ashby 34f0afc175 Fix INSERT clause for cases of overlap 2019-01-20 12:22:42 -07:00
Bryan Ashby 403ee891d5 Change column name, drop a useless one 2019-01-13 18:19:00 -07:00
Bryan Ashby 3f2e836a83 Minor fixes 2019-01-10 21:41:32 -07:00
Bryan Ashby 2788c37492 + ACS: AC for achievement count check
+ ACS: AP for achievement point check
+ User minutes used on the system are now tracked
+ MCI: TO for total time spent online system (friendly format)
* Fix up a couple ACS bugs with |value|
* Fix formatting of achievement text
+ Add more achievements
* Fix achievement duration formatting
2019-01-10 20:34:52 -07:00
Bryan Ashby 091a9ae2c7 Fix some bugs, clean up, etc. in achievements 2019-01-09 20:07:59 -07:00
Bryan Ashby 34c9178099 Achievement & Event improvements
* User stat set vs user stat increment system events
* Proper addMultipleEventListener() and removeMultipleEventListener() Events APIs
* userStatSet vs userStatInc user stat achievement types. userStatInc for example can be used for door minutes used
2019-01-06 21:56:12 -07:00
Bryan Ashby f653d83c14 Implement retroactive achievements (for userStat types so far) 2019-01-06 10:41:04 -07:00
Bryan Ashby 2b802cb534 Better theming for achievements 2019-01-05 22:51:16 -07:00
Bryan Ashby 3d07f763d1 Achievement improvement & more achievements 2019-01-05 19:04:19 -07:00
Bryan Ashby f56a72e0c3 Start of theming of achievements
+ default text/SGR styles can now be set for quick customization of colors
2019-01-05 16:55:37 -07:00
Bryan Ashby 2bd51c0725 Achievements are now in 'achievements.hjson'
+ Config.general.achievementFile
* Implement (re)caching (aka hot-reload)
* Update values a bit
2019-01-05 12:18:44 -07:00
Bryan Ashby c332b0f3ec WIP on user achievements
+ Add MCI codes for points/count
+ Add docs for MCI codes
+ Record in stats, stat log, etc.
* Do not trigger more than once
* Code cleanup & organization, add classes, etc.
* Tweaks to DB table
2019-01-05 10:49:19 -07:00
Bryan Ashby 10517b1060 Progress on achivements
* Fetch art if available
* Queue local and/or global interrupts
* Apply text formatting
* Bug exists with interruptions in certain scenarios that needs worked out
2019-01-03 21:03:08 -07:00
Bryan Ashby a34dab6a73 WIP on user achievements
* Hook up events for testing
* Start to plug in experimental interrupt
2019-01-02 22:13:42 -07:00