Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reset DndAreaCounter in new section #313

Open
timvdalen opened this issue Jan 29, 2021 · 3 comments
Open

Reset DndAreaCounter in new section #313

timvdalen opened this issue Jan 29, 2021 · 3 comments

Comments

@timvdalen
Copy link

I think it would make sense to automatically reset DndAreaCounter when entering a new section, or at least a new chapter.

Most people will want to have a new counter instance when they start a new section (which is also what official adventure modules do), and those that don't can still manually set the counter to override this behaviour.

Am I overlooking a use-case?
If this is a feature that's welcome, I'd be happy to open a PR for it.

@scottytk
Copy link

scottytk commented Feb 4, 2022

I started writing a campaign module and would be happy to see this functionality implemented. It's a year later, but I think this is high-value as well.

@BarbaricBagra
Copy link

BarbaricBagra commented Jul 14, 2023

Putting the following in my preamble did the trick for me:

\makeatletter
@addtoreset{DndAreaCounter}{section}
\makeatother

@EnteQuackQuack
Copy link

\DndResetAreas works too to reset at a specific point manually.
Adding BarbaricBagra's preamble didn't work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants