javalent / initiative-tracker

TTRPG Initiative Tracker for Obsidian.md
GNU General Public License v3.0
144 stars 30 forks source link

RFC: RPG Systems Expansion #275

Open valentine195 opened 4 months ago

valentine195 commented 4 months ago

Currently, the RPG Systems integration only supports calculating difficulty. I would like to significantly expand this feature to support wholesale changes across the plugin. This could include:

Considering

miscoined commented 4 months ago

Woo! Super keen for this. Things I'd like to see, with my primary interest at the moment being pf2e:

Thinking broader, when I think of "system agnostic", I think "could it support Shadowrun?", which is probably about the most complicated system I've personally played. This is a bit ramblier, but I think there needs to be hooks to allow for more dynamic forms of initiative tracking - eg Shadowrun uses a system where actions take points which might move you up/down the initiative order, and once you run out of initiative you can no longer act. Maybe something like a general "next turn" button which has behavior that can be overridden on a per-system basis?

valentine195 commented 4 months ago

@miscoined Yeah, Shadowrun is one on my mind. This update will likely need to go hand-in-hand with an update to the Creature class that allows for RPG System specific creatures (ie Creature becomes abstract and the Shadowrun exposes a ShadowrunCreature, maybe). Then there could be an abstract getInitiative() method on the Creature, which the tracker would use to resolve order.

namtrah commented 4 months ago

Not that I am a user, but what about Initiative situations like:

Kerrald commented 4 months ago

Currently building out a Call of Cthulhu vault in Obsidian. That system is basically just straight DEX stat comparisons and sorting. There are decision based modifiers "I aim my rifle this turn that gives me a +50 point dex boost for next turn" - something like that. It's pretty simple.