Skip to content

Salvage Union encounters: NPCs, enemy mechs, Group Initiative and salvage - #33

Merged
HarryCordewener merged 1 commit into
mainfrom
claude/project-thread-90wqjo
Nov 1, 2026
Merged

HarryCordewener merged 1 commit into
mainfrom
claude/project-thread-90wqjo

Conversation

@HarryCordewener

Copy link
Copy Markdown
Member

Requested by Grave · project thread

Encounter tools for Salvage Union. sheet-salvage-union goes to 1.3.0 and salvage-union-wiki to 1.0.3.

NPCs

  • tools/salvage-union/build.mjs reads the Foundry actors pack: 49 NPCs, vehicles, drones and Bio-Titans, each with its actions (damage, range, traits, action type and text). They go into Salvage Union Data as NPC`.
  • +encounter/bestiary [<group or npc>] lists or reads them. +encounter/stat <npc> reads one in an encounter.
  • The GM adds them with +encounter/npc [<count>] <npc or chassis>. A chassis adds an enemy mech, and +encounter/fit <npc>=<part> arms it within the chassis slots.

Running the fight

  • +encounter/initiative rolls the Group Initiative table and starts a round. +encounter/turn [<who>] marks a turn taken, and +encounter shows who still has to act.
  • +encounter/act <npc>[/<action>][=<target>[/pilot]] rolls on the NPC Action table once per Multi-Attack. On 6 or more the damage comes off the target's encounter copy, doubled on a 20. A mech takes half of HP damage (rounded down) and a pilot takes double SP damage.
  • +encounter/hit <npc>=<n> [HP|SP] damages an NPC with the same conversions. +encounter/heal gives HP or SP back.

Salvage

  • +encounter/salvage <npc> on a wrecked vehicle or drone gives its Salvage Value in scrap of its Tech Level (the Scrap ability).
  • On a mech it rolls the Mech Salvage table, and =<part> takes what the roll allows.
  • +encounter/spoils lets the GM award what a Bio-Titan or a ruin yields.
  • Salvage waits with the member's copy, so nothing leaks until the GM keeps it. On /keep, scrap goes into the crawler's hold as a ledger entry for the member, and parts go onto the sheet's MECHSALVAGE` list, damaged.
  • Downtime repairs salvage at the crawler's Tech Level or lower and moves it to MECHSPARES`.
  • +mech/install and +mech/chassis let an approved pilot fit a repaired part. +mech/breakdown turns salvage into scrap for the hold.

Help and docs: new topics encounter npcs, encounter rounds, encounter salvage and mech salvage, plus updates to the README and the wiki's "on this game" page.

Play-tested on a local server

  • Fought raiders, a Rifle Squad (2 attacks), a Hover Drone (T4), a Combat Drone (T2), a Tank (T3), a Mule enemy mech fitted with Red Laser and Armour Plating, Scylla, and Meld Drones.
  • Hits against mech and pilot and 0-SP/HP hints; NPC down and wrecked states; round tracking and refusals.
  • Scrap at T2/T3/T4, the Mech Salvage roll and its picks (refusing a chassis when the roll doesn't allow it), and GM spoils at T5. On keep, the crawler ledger entries and sheet salvage were written.
  • Downtime with the crawler at Tech 1 repaired only the T1 part. At Tech 3 it repaired the T3 Missile Pod, which then installed.
  • Breakdown into scrap worked.
  • PackageValidator --strict passes.

Generated by Claude Code

…vage

The Core Book's 49 NPCs, vehicles, drones and Bio-Titans come from the
Foundry actors pack with their actions. A GM adds them, or an enemy mech
on any chassis armed with +encounter/fit, and rolls their actions on the
NPC Action table: attacks roll once per Multi-Attack and take damage from
the target's copy (a mech takes half HP damage, a pilot double SP).
+encounter/initiative and /turn run Group Initiative rounds; /hit damages
an NPC. +encounter/salvage breaks a wrecked vehicle into scrap or rolls the
Mech Salvage table for parts, kept with the member's copy. Kept scrap goes
into the crawler's hold, parts onto the mech's salvage; downtime repairs
those of the crawler's Tech Level or lower, +mech/install and /chassis fit
them, and +mech/breakdown scraps them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rqqt7SFUJyXPoMQ1LPXx2L
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@HarryCordewener
HarryCordewener marked this pull request as ready for review November 1, 2026 13:59
@HarryCordewener
HarryCordewener merged commit 20ed004 into main Nov 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants