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

Timer pattern #762

Open
TinyDeskEngineer06 opened this issue Sep 17, 2024 · 3 comments
Open

Timer pattern #762

TinyDeskEngineer06 opened this issue Sep 17, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@TinyDeskEngineer06
Copy link

Describe the feature

A pattern that takes in a pattern or list of patterns and a number, and evaluates the first argument after the amount of seconds stored in the number argument has passed since the pattern was executed. The name could be "Timekeeper's Gambit"

Additional context

An example use case could be a smiting spell which automatically summons rain shortly before summoning lightning, for people who like being dramatic in combat.

@TinyDeskEngineer06 TinyDeskEngineer06 added the enhancement New feature or request label Sep 17, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Hex Casting Sep 17, 2024
@object-Object
Copy link
Member

we've had a few discussions about this on Discord. I don't remember exactly what's blocking it; probably infrastructure or something. @Alwinfy might know.
see also: #267

@Alwinfy
Copy link
Collaborator

Alwinfy commented Sep 18, 2024

yeah so the big thing is writing a scheduler - i think all components (continuation, castcontext, pats) are serializable, so it's a matter of picking out a way to report a paused cast and a way to decant a paused cast on tick

@walksanatora
Copy link
Contributor

casting environment is currently not serializable. currently a single system can implement a "todo later" eg: wisp
but there is no global system for delayed cast. meaning each environment is left to fend for it's self
the way this will/can be rectified is just to make another registry of CastingEnvironments (or well CastingEnvConstructors)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

4 participants