Gaslight v2.0.0: Scripting engine + unified relay#2265
Open
KenanMillet wants to merge 55 commits into
Open
Conversation
…ss default, aggregation available
… override, eval command variants
…ing, dry run, performance
…tion, handout parsing, per-viewer iteration
…yer=that player only)
…bels, small code for IDs
…ig inheritance, player-page pin scoping
…ecks both gmnotes+attr, rename dump command
…c:gmnotes handlers
…erty triggers (bar values, etc)
…tes only for that viewer
…ken IDs, let Fetch handle everything
…ache, full resolution chain working
…on, token association, ambiguity
…inline capture design
…elaying set loop prevention, remove _lastpage polling
… add relay/sync/staging details
…t-lock/unlock sandwich
…utes, token assignment with charId validation
… parsing, bare viewer error check
…field fallback to character attribute
…g, gl_ fallback, restore script-lock, remove debug
… but for GM tokens on master page
…to-resolved, remove debug logs
…age when msg.selected is empty
…egex to match = separator
…te, collect pins then evaluate once
…ommands, optional delimiter
…nd in commands list, remove SCRIPTING_DESIGN.md
…ollCapture integration, aggregation, versioned folder
…ayerscanids during script execution
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Major update adding a reactive scripting engine for per-player automation, unified relay system, and RollCapture integration.
Scripting Engine (new in v2.0.0)
any(),all(),max(),min(),join()viewer.*andgm.*namespaces for player/GM token references//comments in scripts@(target.gl_*)references, or explicittrigger:config!gaslight eval [--dry-run] [--all | <handout>]Unified Relay (new in v1.1.0, included)
relayCommandsexception for player-page commands_lastpagepolling — relies on SelectManager 1.1.15 cross-page ID lookupOther
--assign-capture/--clear-capturefor per-token roll value overrides--script-lock/--script-unlockprevents scripted commands from being re-relayedDependencies
Tested
@()in API-originated sendChat (reported to timmaugh)