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.
Hopefully, anyway :-)
I found a rather critical bug in the last round of equipping logic changes - NPC ships were no longer equipping stuff, whoops! Wouldn't I feel silly if I was the supposed tester who missed that. Which I was so... yeah. Nice going me!
Took me an odd amount of time to figure out, probably in part from being out of practice and from the equipping logic being shared a bit funny between player, NPCs, etc. Mercs too I suspect but something still seems to keep them from firing :/
They were already borderline broken anyway, so forging onward. Fix for now was simply using the new logic only if the "pilot" being processed is the player, if not use the old logic.
Found and fixed one related bug where a later format change hadn't been applied to the player's default starting config, resulting in nothing being equipped. And during my long journey I rarely encountered a crash bug (is it a crash bug if the game commits suicide when it detects a state it doesn't like?) which it seems the game can actually bypass with no apparent ill effect.
Hopefully.
On a completely different note recent Gradle changes had left the Android part broken as well, which can happen easily since we still haven't got it building automatically on commit / for testing new PRs. Hey I wonder whose job that's supposed to be, hmm.
TODO when merging: