iron-vault-plugin / iron-vault

Obsidian plugin for Ironsworn/Starforged games
https://ironvault.quest/
Other
44 stars 8 forks source link

Make "Advance clock" command support rolling instead of just advancing #220

Closed zkat closed 1 month ago

zkat commented 3 months ago

A core mechanic of clocks is that you determine how "likely" it is for the clock to advance, and you roll an oracle for it. Let's integrate this into the "Advance a clock" command.

cwegrzyn commented 3 months ago

Thinking about the UX here, would you imagine something like this @zkat ?

zkat commented 3 months ago

I really like this ux!

cwegrzyn commented 3 months ago

Oh, hmm, but it occurs to me that you might want different odds based on, e.g., how long it has been narratively since you last advanced or some other narrative reason.

I don't think we want two separate commands (one for unconditional tick and one for "roll for tick"), because that's kinda annoying for people who rely on the toolbar. (Or just if you forget that it is a separate command)

So maybe "advance a clock" always prompts you for the odds (where one of the options is "unconditional/advance without rolling"). When you create a clock, you specify the "default odds", and we always pre-select that, so you can skip through that page with just an enter if you typically make the same roll.