Histidine91/Nexerelin

Sabotaging undisruptible industries

Closed this issue · 2 comments

Hello,

I noticed that sometimes operatives try to sabotage structures that cannot be interrupted. Although the message for a successful sabotage states that structure will be disrupted for x days, the structure won't actually be disrupted. So I wondered if it would make sense to check for BaseIndustry.canBeDisrupted() when trying to sabotage a structure.

image

image

Thank you for your consideration and your great mod!

Game version:
0.97a-RC11

Mods:
Console Commands 2023.5.05
Detailed Combat Results 5.4.0
Fleet Journal 1.1.3
LazyLib 2.8b
MagicLib 1.4.3
Nexerelin 0.11.2b
Officer Extension 0.6.7
zz GraphicsLib 1.9.0

  • My private mod, containing an industry which overrides BaseIndustry.canBeDisrupted() to return false

Thanks for the report, fixing in dev 👌

Huh looks like GitHub referenced the issue correctly but didn't auto-close it. Anyway, fixed in 0.11.2c!