[Bug] Multiple repair crews can spawn and move into the same square
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 869
- Forks
- 222
- Avg merge
- 18h 33m
- Merged PRs (30d)
- 1
Description
Steps to reproduce
Launch Basic and join the player ship's Engineering screen. Repeat until two or more repair crews are randomly spawned into the same interior cell.
Or:
- Launch Basic and join the player ship's Engineering screen.
- Select a repair crew.
- Click/tap a cell far from its current location to move the selected crew into that cell.
- Quickly select another repair crew, then click/tap to move it into the same cell as the previous crew.
Expected behavior
Multiple repair crews can't overload a single interior cell.
Observed behavior
Multiple crew can fit into the same interior cell. For example, on an Atlantis it's possible to fit all three crew into a single cell. This allows repairing a two-cell room with three repair crew.
https://github.com/user-attachments/assets/fbcd4de7-fb6d-4088-9bd5-cc6a2ad8f863
If this behavior is expected, then the bug is that repair crew selection prevents moving additional crew into an already occupied cell.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the player ship's Engineering screen and reproduce both the random-spawn and rapid-movement cases described. Trace repair crew selection and movement from that entry point, then verify that an interior cell cannot contain multiple repair crews, or confirm the intended selection behavior if occupied-cell movement is allowed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100