Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Spawn ships utility features
The relative strength fleets create a fleet whose strength is measured relative to the player ships present. The default ratio is 1:1, but that can be configured: 1/4:1, 1/2:1, 1:1, 2:1, 3:1, 4:1, 5:1, 6:1, 7:1, 8:1. If a fleet that is eight times as strong as the players is insufficient, you can switch to a fixed strength fleet and set fixed values from between 50 and 2000 in increments of 50. The default fixed fleet strength is 250.
Configuration options for relative strength and fixed strength fleets
Configuration options for formation fleets
When spawning the formation, first specify the center of the formation with a click, then specify the target of the formation fleet.
How to use this utility is documented in the comments of the utility, but is also included here. First, you need to require the utility:
Then, you need a function named mainGMButtons called from init: