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:
parent
b3456640af
commit
eb45cadd29
|
|
@ -1002,6 +1002,7 @@ public sealed partial class ShuttleSystem
|
|||
continue;
|
||||
}
|
||||
|
||||
// If it has the FTLSmashImmuneComponent ignore it.
|
||||
if (_immuneQuery.HasComponent(ent))
|
||||
{
|
||||
continue;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue