
Summary:
I would like the ability to add a Custom Turn Order item to the Turn Tracker via a macro with specified names and values.
Ideally, if an item with that name already exists, it should instead update the value for that item.
Background:
I'm running a survival oriented campaign in DnD 5E, and find myself frequently dealing with situations that happen on an initiative count, but which don't really make sense to represent them as tokens - such as environmental effects, timers, etc.
I know the Turn Tracker supports manually added custom items without tokens associated -
https://wiki.roll20.net/Turn_Tracker#Adding_a_Custom_Item
I simply want to automate this.
Example:
We can already select a token and run /roll 1d20 &{tracker}
, but this requires a token.
Perhaps something like, assuming I want a new field called "Environment", I might call /roll 1d20 &{tracker|Environment}
. The tracker would see that an item is being referenced by name, skip checking for a selected token and instead check if it has an item with that name. If it does not, it would add a new Custom Item named Environment, and then regardless of whether it had that item, update the value of Environment to the 1d20 result.