Skip to content

Mission API: Add loadouts and SpawnLoadout action#3

Closed
sorenmarkert wants to merge 13 commits into
mission-api/add-feature-triggers-and-actionsfrom
mission-api/loadout
Closed

Mission API: Add loadouts and SpawnLoadout action#3
sorenmarkert wants to merge 13 commits into
mission-api/add-feature-triggers-and-actionsfrom
mission-api/loadout

Conversation

@sorenmarkert

@sorenmarkert sorenmarkert commented Mar 5, 2026

Copy link
Copy Markdown
Owner

Work done

  • Added unit and feature loadouts to mission scripts.
  • Added SpawnLoadout action.

Test steps

  • Run the loadout_test.lua mission, and watch.

TODO

The dumpUnits in-game command will get a sibling version that writes this new format.

@github-actions

github-actions Bot commented Mar 5, 2026

Copy link
Copy Markdown

Test Results

16 tests   7 ✅  3s ⏱️
 1 suites  9 💤
 1 files    0 ❌

Results for commit 8277e33.

♻️ This comment has been updated with latest results.

@sorenmarkert

Copy link
Copy Markdown
Owner Author

This will need an update for handling named units, once beyond-all-reason#6965 is merged in.

…ion-api/loadout

# Conflicts:
#	luarules/gadgets/api_missions.lua
#	luarules/mission_api/actions.lua
#	luarules/mission_api/actions_dispatcher.lua
#	luarules/mission_api/actions_schema.lua
#	luarules/mission_api/validation.lua
#	singleplayer/mission-api-tests/validation_test.lua
…' into mission-api/loadout

# Conflicts:
#	luarules/mission_api/actions.lua
@github-actions

github-actions Bot commented Mar 21, 2026

Copy link
Copy Markdown

Integration Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 77940a8.

♻️ This comment has been updated with latest results.

sorenmarkert and others added 5 commits March 23, 2026 16:02
…ion-api/loadout

# Conflicts:
#	luarules/gadgets/api_missions.lua
#	luarules/mission_api/validation.lua
- Added actions CreateFeature and DestroyFeature.
- Added triggers FeatureCreated, FeatureReclaimed, and FeatureDestroyed.
…ion-api/loadout

# Conflicts:
#	luarules/mission_api/actions.lua
@sorenmarkert

Copy link
Copy Markdown
Owner Author

moved to beyond-all-reason#7250

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.

1 participant