Repository navigation
Conversation
…ere merged This puts back what "trigscript/card and auto-restore's right-click toggle wait on a branch" took off main: the card library (CardButton, cardSlots, cardSetup), autoRestore()'s allowPlayersToTurnOffAutoCast, their ledger rows and their tests, on top of the renamed autoRestore() and the Medic check. What it waits on is in docs/v4-plan.md, under "Workers, spells and a unit's orders": play on Windows, on a 4:3 and an ultrawide display and on a map that is not square; one player's "off" holding with two people playing; the location reserved on import. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VEdp4YG8zxHxfqFjpBsycX
jeany55
added a commit
to mstephenhunt/scm-js
that referenced
this pull request
Nov 15, 2026
…ore(), no card library The guides were written against the TrigScript pull request as it was opened. What was merged after it differs, so the guides change with it: - The library calls are autoMining() and autoRestore(). - trigscript/card and auto-restore's right-click toggle are not in the release (they wait in scm-js/plugin-trigscript#98), so the Command card section, the toggle's paragraph and example, the module's table rows and its mentions come out. The text is in this branch's history for when the module lands. The module count is eleven. - autoRestore() passes over a Medic in stasis, under Maelstrom or loaded, and a second call's options are not used. - gather(), cast() and stop() are described as what they are: an order written into the unit, with nothing a command checks checked, and a burrowed or loaded unit left alone. The language guide's lists were complete before and are again: orderState, queuedOrders, acidSpores, opticalFlare, distanceTo(), cast(), stop() and stats(P).allied are there, and in the main guide's reference rows. Smaller rewordings for a first read: what the three new local fields are for, how to test a mouse button's bit, what a button set's number is, and the Spells example opens with the plain call. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VEdp4YG8zxHxfqFjpBsycX
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.
A draft that holds
trigscript/cardand auto-restore's right-click toggle, as they were merged in #96, until they are ready for a release. #97 took them off main; this is the one commit that puts them back, on top of the renamedautoRestore()and its Medic check. The work is @mstephenhunt's.What it brings back
trigscript/card:CardButton,cardSlots,cardSetup.autoRestore({ allowPlayersToTurnOffAutoCast: true }): the player turns auto-restore off and on by right-clicking Restore.What it waits on
A library module's names are public from the first release that has it, and this one rests on measurements from one computer. Before it merges:
trigscript/spellsimportstrigscript/cardwhether or not the toggle is asked for, so a plainautoRestore()reserves the card's location. The location should be taken only when aCardButtonis made.showMeasurementsprints lines that name the Marine's and the Medic's button sets. Decide whether that stays in the released module or becomes a probe script.The same list is in
docs/v4-plan.mdunder "Workers, spells and a unit's orders".🤖 Generated with Claude Code
https://claude.ai/code/session_01VEdp4YG8zxHxfqFjpBsycX