Skip to content

Add revive-core command for destroyed cores#521

Open
phinner wants to merge 2 commits intomasterfrom
t3code/legacy-feature-port
Open

Add revive-core command for destroyed cores#521
phinner wants to merge 2 commits intomasterfrom
t3code/legacy-feature-port

Conversation

@phinner
Copy link
Copy Markdown
Member

@phinner phinner commented Apr 14, 2026

Summary

  • Adds a new /revivecore / /rc command for listing and restoring destroyed cores.
  • Tracks destroyed core tiles, validates availability, charges revival item costs, and applies a short team cooldown after each revive.
  • Integrates the command into the Mindustry plugin and adds bundle entries for command help text.
  • Updates CI and dependency versions, including Gradle wrapper and workflow action versions.

Testing

  • Not run
  • Reviewed the command flow for listing, validation, cost deduction, and revive execution.
  • Confirmed the new command is registered in ImperiumPlugin and localized strings were added to the English bundle.

- Register `/rc` for listing and restoring destroyed cores
- Add revive cost, cooldown, and team/item checks
- Add command help strings
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 14, 2026

test results

29 tests  ±0   29 ✅ ±0   29s ⏱️ ±0s
 9 suites ±0    0 💤 ±0 
 9 files   ±0    0 ❌ ±0 

Results for commit 4ad346f. ± Comparison against base commit 6e49358.

♻️ This comment has been updated with latest results.

- Replace the quick revive shortcut with a GUI selection flow
- Reuse the same revive logic for list, menu, and server commands
- Improve empty, invalid, cooldown, and success messaging
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