Daddy-s-Dungeons-Tools / ddtools-web

The Firebase project and web interface for Daddy's Dungeon Tools.
MIT License
2 stars 1 forks source link

Event Log #16

Open Apexal opened 2 years ago

Apexal commented 2 years ago

image

Apexal commented 2 years ago

Good progress so far. image

Apexal commented 2 years ago

Other platforms appear to merge this in with chat so that in one place users can see "Player X rolled a d20 for a result of 17" and also "Player X: blah blah blah" and "Player X shared Item 'Adventurer's Pack'" in one place.

Some thoughts:

  1. We can ignore that and go ahead with the event log and not have a chat function at all, as we have Discord and will be in voice chat.
  2. We can have this event log and a separate chat but then where do things like roll results go? One or the other? Both? Not super clear.
  3. We can combine events and chat and just have default filters that don't show things like "campaign-updated" to players.
Apexal commented 2 years ago

Nick and I discussed that chat is probably a bad idea for our group because they just meme and get distracted (sorry Aaron).

However, being able to share info with other characters via the log is useful, such as item descriptions, spells, notes, etc.

zacharylove commented 2 years ago

One thing to note- dice rolls should be included in the log. Currently, the result of a dice roll seems to only be visible to whoever rolled it, as shown here: image

The results of each dice roll should be added to the log and visible to the DM, the roller, and (perhaps) the rest of the campaign's members.

Let me know if I'm missing anything, otherwise we can make this into a new issue

Apexal commented 2 years ago

@zacharylove Totally right, the roll button was quickly setup for testing and hasn't been connected to anything yet. We should decide though on which approach for logging dice rolls since it takes time for the dice to roll and settle on a result:

zacharylove commented 2 years ago

Agreed, the second option would be better- easier for debugging too! We can set up two separate log entries for each dice roll, one before and after, or try and find a way to combine them into a single line for efficiency's sake

Apexal commented 2 years ago

Since Firebase Firestore handles synchronizing seamlessly, we can do the following:

  1. Create a log item in the log collection when a roll is started and hold on to its ID
  2. When the roll completes, simply update the message of the log item with that ID

Everyone logged in will see the changes in realtime.

Apexal commented 2 years ago

A basic version of this has been implemented.