Commit Graph

20 Commits

Author SHA1 Message Date
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