pioneerspacesim / pioneer

A game of lonely space adventure
https://pioneerspacesim.net
1.64k stars 380 forks source link

SAR missions check unoccupied cabin number, but should check overall number #5868

Open bszlrd opened 3 months ago

bszlrd commented 3 months ago

Observed behaviour

I was unable to take two SAR missions simultenaously:

Expected behaviour

I think I should have been able to take both missions. The mission should note refuse if there are unoccupied cabins, since it can't know if those cabins will still be occupied when the player gets to the target. Instead I think it could still give the mission, if there are enough cabins on the ship, no matter their occupancy, and notify that there might be not enough room. From another POV: the game shouldn't hold the hands of the player. Let them fail missions if they aren't paying attention. (Of course for that it would be nice to be able to cancel missions)

Steps to reproduce

My pioneer version (and OS): 2024 0710

My output.txt (required) and game save (optional, but recommended)

Web-eWorks commented 3 months ago

Passenger logic is getting addressed in #5734 - this should be evaluated after that PR is merged.

Web-eWorks commented 5 days ago

Still valid after equip-v2 merge. This is a good low-hanging fruit for a first-time contributor though!