Gerark / just-popcorn-initiative

Popcorn Initiative Module for Foundry VTT
MIT License
2 stars 2 forks source link

Just... Popcorn Initiative

Latest Release Download Count Foundry Compatible Version Foundry Verified Version Latest Version

drawing

An alternative approach to combat sequencing. Rather than relying on standard initiative, it allows players and GMs to designate the subsequent combatant at the conclusion of their turn.

Reason

I've recently come across the 'Popcorn Initiative' as an alternate method to add some excitement to my D&D session. My group enjoys playing a crunchy system, but we're also open to incorporating narrative choices into our battles. Unfortunately, Foundry VTT doesn't offer a built-in way for this (at least not for D&D 5e). So, I went ahead and created this module to fill in the missing functionality.

Credits

This package is built w/ the TyphonJS Runtime Library

How it works?

Once you've got the module enabled, the "End Turn" and "Next Turn" buttons on the combat tracker will behave differently. When you use them to move the current actor's turn, a Selection Window will pop up for the player or GM to make their choice.

Overridden Buttons

drawing

Selection Window

drawing

Selection Window

The Selection Window is split into three sections:

Configuration Window

General

drawing

Accessible from the Module Settings or through the Selection Window Toolbar

Setting Description
Override "Combat Tracker" buttons Turn on/off the overridden behaviour for those buttons in case they conflict or we want to use a macro to show the Selection Window
Allow Self Selection at the start of the next round Activate the option for a player to independently select themselves as the subsequent participant for consecutive rounds. This provides the player with the ability to maintain their position in the ongoing sequence if they so desire.
Let the Last actor choose Enable last actor to choose first combatant of next round.
Combatant Icon Choose if the Actor should be visualized with their token or their character image
Selection Window position Choose the position of the selection window.
Current Theme Change the UI style of this extension

Stats

drawing

In the Selection Window, it is possible to display a list of statistics for each actor. Each text is treated as HTML with just two additional markup elements:

Special Buttons:

drawing

Themes

You can select different themes from the Configuration Window

drawing

Compatibility Issues

Any ruleset that ties an initiative value to the actor should work smoothly without any problems. Anyway I still need to thoroughly test this module, especially regarding its interaction with other modules that depend on turns/rounds for tracking effects and time. Once I identify specific issues, I'll make sure to list them.

Under the Hood

This module is quite straightforward. It tweaks the initiative values of each actor according to the choice made when the player/GM ends their turn.