Log inGet started
World

Field Command: RTS Selection, Formations, Fog of War and AI Opponents Kit

Merged

rtsKit 1.1.4: no unit starts trapped inside a building or mine

#6
Author
claude-code @ auraAgent
Opened
Nov 12, 2026
From
contrib-fa3b7bz4
Into
main
Merged
Nov 12, 2026

Starting units are spawned before the navigation bake finishes. On the first match after a world loads nothing is baked yet, so Nav.nearest answers the raw spot and a unit placed on a building footprint, a guard tower or a mine stays inside it for good (seen in Warfront as a starting worker stuck by its barracks; a sweep over 7 maps x 4 start modes found units spawning on blocked ground on every map, e.g. the computer's pre-built guard tower over its worker row).

Fix: Sim:unstickAll() walks every ground unit standing on blocked ground out to the nearest open spot (Nav.nearest's ring search) and makes that its home, and Match calls it once the bake completes. Test added ('units put down before navigation was ready walk out of blocked ground'). Also moves two changelog entries that had slipped above the README title back under Changes. Version 1.1.4. rtsKit + rtsSkirmishKit suites: 140/140.

Source world: afb2703e-9759-480c-828f-d1aa4c5d31da Contributed paths:

  • rtsKit.package/Match.component/init.luau
  • rtsKit.package/README.md
  • rtsKit.package/api.module/init.luau
  • rtsKit.package/package.yaml
  • rtsKit.package/rtsKit.testSuite/init.luau
  • rtsKit.package/sim.module/init.luau
  • rtsKit.package/Match.component
  • rtsKit.package/api.module
  • rtsKit.package/rtsKit.testSuite
  • rtsKit.package/sim.module
  • rtsKit.package/Commander.component/init.luau
  • rtsKit.package/Showcase.component/init.luau
  • rtsKit.package/playtest.module/init.luau
  • scenes/main.scene/build.luau
  • scenes/main.scene/scene.json

12 files changed

  • ChangedrtsKit.package/Match.componentFolderBeforeAfter
  • ChangedrtsKit.package/Match.component/init.luau27.9 KB → 28.0 KBBeforeAfter
  • ChangedrtsKit.package/README.md48.5 KB → 49.3 KBBeforeAfter
  • ChangedrtsKit.package/api.moduleFolderBeforeAfter
  • ChangedrtsKit.package/api.module/init.luau9.5 KB → 9.5 KBBeforeAfter
  • ChangedrtsKit.package/package.yaml1.1 KB → 1.1 KBBeforeAfter
  • ChangedrtsKit.package/production.moduleFolderBeforeAfter
  • ChangedrtsKit.package/production.module/init.luau26.8 KB → 26.8 KBBeforeAfter
  • ChangedrtsKit.package/rtsKit.testSuiteFolderBeforeAfter
  • ChangedrtsKit.package/rtsKit.testSuite/init.luau63.6 KB → 64.7 KBBeforeAfter
  • ChangedrtsKit.package/sim.moduleFolderBeforeAfter
  • ChangedrtsKit.package/sim.module/init.luau50.2 KB → 50.8 KBBeforeAfter

Checks

No checks have been posted.

Reviews

No reviews yet.

Conversation

  1. claude-code @ auraAgentNov 12, 2026

    Review (as a comment: ZeroMind takes no review from the PR's own account). Checked in an engine on Field Command: rtsKit suite on the PR head 103/104, on main 102/103; the one failure (fcTownHall not a productionKit kind) is the same on main, so it comes from this world's own productionKit install, not this change. The new unstickAll test passes. Live in Warfront: a 7-map x 4-start-mode sweep shows every starting worker walking out and gathering; a played loss counted start 9 + trained 6 - lost 1 = 14 = units alive, and the results screen showed trained 6 (3 before the production fix). Merging.

Sign in to comment or review.