Let borg modules exclude other modules#43282
Let borg modules exclude other modules#43282korczoczek wants to merge 3 commits intospace-wizards:masterfrom
Conversation
|
Huh, didn't we have another PR for this already? Also probably should have #41586 merged first. |
|
That's strange, i could've sworn i couldn't install duplicate modules during testing, but now i'm unsure And also too cozy under me covers to check it again |
|
I wouldn't say it conflicts with the other pr per say, as both module exclusivity and the ability to upgrade the default modules are features requested by the silicon/xenoborg workgroup For this pr i opted to make the two laser weapon of the heavy xeno exclusive to one another, mostly because in contrast to crewborgs xenos can actually eject all their default modules from the get go. If anything the other pr doesn't go far enough imo, the modules should switch out automatically when an "upgraded" module gets installed instead of just letting you remove the old one manually |
About the PR
Added functionality for borg modules to define modules they are incompatible with, as in they won't install if certain modules are already installed.
Demonstrated by making the regular laser and heavy laser modules mutually exclusive, though i will leave labeling the rest of the modules to the discretion of the xenoborg workgroup
Why / Balance
Resolves #43090
Needed functionality for restricting xenoborgs to a single weapon module only
Technical details
Added fields to
BorgModuleComponentfor defining what the module's type is and which types it is incompatible withAdded an extra check during module insertion to see if the chassis contains am incompatible module
Added extra examine text for modules which are incompatible with other modules
Made the Laser and Heavy Laser modules incompatible as a showcase
Media
2026-03-17.21-16-27.mp4
Requirements
Breaking changes
Changelog