Create proper toast mechanism #54
Labels
high-level concept
pre-alpha grind
Pre-alpha MVP task: tasks used as rough indication of what needs to be done to get out of pre-alpha
Details:
The current toast implementation was thrown together in a quick/dirty fashion (in literally 10 minutes) and has multiple issues (the most important one being that queuing messages does not work, and likely never will).
Task:
Implement a new toast system utilising the newly implemented React core. Delete the old toast mechanism.
We need multiple toast types:
Not all of them will be made equally - for example, system messages may recur for things like "Maintenance at 18:00." Interaction messages have no time limit, and are instead killed by a deletion event. Quest messages will have no option to be displayed indefinitely, and will have 'long' or 'short' time limits.
Toast messages should have the option to grab input priority for potential interaction. For example, a quest message might be displayed for 5 seconds, and have a little 'Press [Tab] to open journal' note that takes one to that particular entry in the journal. A 'Press [E] to interact' should have appropriate callback mechanisms.
The text was updated successfully, but these errors were encountered: