Create a master message buffer
|Reported by:||GabeCunningham||Owned by:|
Message-handling is a mess. We often run into problems where we want two messages printed in a certain order, and we have to bend over backwards and include nasty hacks to make it do so.
We should have a master message buffer, with all the standard messages codified. Each message code would have a priority. Once per game turn, we empty the buffer -- first the priority 1 messages, then priority 2, and so on. This way we can ensure, for instance, that "You die" is always the last message printed.
We already have something like this for monster messages, so the two would have to be integrated or combined somehow.
Change History (4)
comment:2 Changed 6 years ago by magnate
- Keywords cleanup meta added; cleanup, ui removed
- Status changed from new to confirmed