Fix for arrivals deleting nuke (#33659)

Adds FTLSmashImmune to nuke prototype to stop it from arrival smashing
Adds a comment in FasterThanLight to indicate where the FTLSmashImmuneComponent is checked

Co-authored-by: aa5g21 <aa5g21@soton.ac.uk>
This commit is contained in:
Gansu 2024-11-30 02:48:04 +00:00 committed by deltanedas
parent b3456640af
commit eb45cadd29
2 changed files with 8 additions and 1 deletions

View File

@ -1002,6 +1002,7 @@ public sealed partial class ShuttleSystem
continue;
}
// If it has the FTLSmashImmuneComponent ignore it.
if (_immuneQuery.HasComponent(ent))
{
continue;

View File

@ -119,8 +119,14 @@
- type: ContainerContainer
containers:
Nuke: !type:ContainerSlot
- type: Construction
- type: Construction # DeltaV: Plutonium core extraction
node: nuke
- type: StealTarget
stealGroup: NuclearBomb
- type: WarpPoint
follow: true
location: nuclear bomb
- type: FTLSmashImmune
- type: entity
parent: NuclearBomb