Weapons: selectable weapon types per hardpoint (cb-6bd) #3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "weapons"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hardpoints were just positions drawn as a plain rectangle. Now each hardpoint mounts a real weapon, selectable per hardpoint, with a distinct neon-styled model.
Weapon types
Wiring
Hardpoint.weapon: WeaponTypeadded to the ShipSpec genome (spec.ts,WEAPON_TYPES).renderer.ts).randomizer.ts).ControlsPanel.tsx).weapontolaser, so old saved/imported specs still render.Verification
npm run typecheck— cleannpx tsx src/ship/randomizer.check.ts— passes (now asserts every hardpoint has a valid weapon)npm run build— green🤖 Generated with Claude Code