beyond-all-reason / Beyond-All-Reason

Main game repository for Beyond All Reason.
https://www.beyondallreason.info/
Other
1.69k stars 277 forks source link

feat(blueprint): filter out unbuildable blueprints #3557

Open salinecitrine opened 1 month ago

salinecitrine commented 1 month ago

This change modifies the behavior when activating blueprint placement, and when executing the blueprint_next and blueprint_prev actions. If the current blueprint is not buildable by the currently selected units, it attempts to find the next one that is. If none are found, it functions as before this change.

This is another approach to the issue addressed by https://github.com/beyond-all-reason/Beyond-All-Reason/pull/3524 . It's possible to use one or both of these.