soldoros_doll: strip [armor subtype] and remove ex2.act from [etc action]#9
Merged
Merged
Conversation
Copilot
AI
changed the title
[WIP] Remove armor subtype and update action file
soldoros_doll: strip [armor subtype] and remove ex2.act from [etc action]
Apr 9, 2026
There was a problem hiding this comment.
Pull request overview
This PR updates the soldoros_doll mod’s AIC document generation to better match intended output: it removes the [armor subtype] top-level section entirely and ensures [etc action] does not include action/ex2.act.
Changes:
- Added a reusable
removeTopLevelSection(document, name)helper in@pvf/pvf-mod. - Updated
buildSupportSummonDollDocumentto remove[armor subtype]and filter outaction/ex2.actfrom[etc action]. - Expanded the Soldoros doll integration test to assert the expected section/action behavior in the generated overlay.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/pvf-mod/src/equ.ts | Adds removeTopLevelSection utility for removing a named top-level section from an EquDocument. |
| mods/soldoros_doll/src/index.ts | Applies the new removal utility and introduces [etc action] filtering to exclude action/ex2.act. |
| mods/soldoros_doll/src/index.test.ts | Adds assertions that [armor subtype] is absent and ex2.act is not present while ex.act remains. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
buildSupportSummonDollDocumentwas passing through[armor subtype] 4and bothaction/ex.act+action/ex2.actfrom the source AIC into the generated doll document. The doll should omit the armor subtype entirely and only carryaction/ex.act.Changes
packages/pvf-mod/src/equ.ts— addsremoveTopLevelSection(document, name)utility (parallel to existingreplaceTopLevelSection)mods/soldoros_doll/src/index.tsfilterEtcAction()— strips any[etc action]statement whose token exactly matchesaction/ex2.actbuildSupportSummonDollDocumentnow pipes throughremoveTopLevelSection("armor subtype")→filterEtcAction()mods/soldoros_doll/src/index.test.ts— asserts[armor subtype]is absent,action/ex.actis present, andex2.actdoes not appear in the doll overlayWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
plugins.dprint.dev/home/REDACTED/work/pvf/pvf/node_modules/.pnpm/dprint@0.53.2/node_modules/dprint/dprint /home/REDACTED/work/pvf/pvf/node_modules/.pnpm/dprint@0.53.2/node_modules/dprint/dprint fmt --allow-no-files -- /home/REDACTED/work/pvf/pvf/mods/soldoros_doll/src/index.test.ts /home/REDACTED/work/pvf/pvf/mods/soldoros_doll/src/index.ts /home/REDACTED/work/pvf/pvf/packages/pvf-mod/src/equ.ts k/_temp/ghcca-node/node/bin/git(dns block)/home/REDACTED/work/pvf/pvf/node_modules/.pnpm/dprint@0.53.2/node_modules/dprint/dprint /home/REDACTED/work/pvf/pvf/node_modules/.pnpm/dprint@0.53.2/node_modules/dprint/dprint fmt --allow-no-files -- /home/REDACTED/work/pvf/pvf/mods/soldoros_doll/src/index.test.ts /home/REDACTED/work/pvf/pvf/mods/soldoros_doll/src/index.ts /home/REDACTED/work/pvf/pvf/packages/pvf-mod/src/equ.ts ******"; }; f(dns block)/home/REDACTED/work/pvf/pvf/node_modules/.pnpm/dprint@0.53.2/node_modules/dprint/dprint /home/REDACTED/work/pvf/pvf/node_modules/.pnpm/dprint@0.53.2/node_modules/dprint/dprint fmt --allow-no-files packages/pvf-mod/src/equ.ts mods/soldoros_doll/src/index.ts mods/soldoros_doll/src/index.test.ts v6/conf/enP24323s1 ndor/bin/bash user.email(dns block)If you need me to access, download, or install something from one of these locations, you can either: