diff --git a/Content.Server/_NF/Salvage/SalvageMobRestrictionsSystem.cs b/Content.Server/_NF/Salvage/SalvageMobRestrictionsSystem.cs index c4b3e5c7c71..be6efb31c9b 100644 --- a/Content.Server/_NF/Salvage/SalvageMobRestrictionsSystem.cs +++ b/Content.Server/_NF/Salvage/SalvageMobRestrictionsSystem.cs @@ -50,6 +50,10 @@ private void OnRemoveGrid(EntityUid uid, SalvageMobRestrictionsGridComponent com { foreach (EntityUid target in component.MobsToKill) { + // Don't destroy yourself, don't destroy things being destroyed. + if (uid == target || MetaData(target).EntityLifeStage >= EntityLifeStage.Terminating) + continue; + if (TryComp(target, out BodyComponent? body)) { // Creates a pool of blood on death, but remove the organs. diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index fa2023956fa..5d6863377a1 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -977,7 +977,7 @@ - type: entity id: MedicalTechFab - parent: [ BaseLatheLube, BlueprintReceiverBase ] # Frontier: added BlueprintReceiverBase + parent: [ BlueprintReceiverBase, BaseLatheLube ] # Frontier: added BlueprintReceiverBase name: medical techfab description: Prints equipment for use by the medbay. components: diff --git a/Resources/Prototypes/EstacaoPirata/Entities/Objects/Misc/cards.yml b/Resources/Prototypes/EstacaoPirata/Entities/Objects/Misc/cards.yml index 04790cd914b..5d5360329b8 100644 --- a/Resources/Prototypes/EstacaoPirata/Entities/Objects/Misc/cards.yml +++ b/Resources/Prototypes/EstacaoPirata/Entities/Objects/Misc/cards.yml @@ -31,16 +31,28 @@ - type: StaticPrice # Frontier price: 200 # Frontier +# Frontier: - type: entity parent: BaseItem + id: CardStackBase + name: stack of cards + abstract: true + components: + - type: Item + size: Small + - type: CardStack + - type: ContainerContainer # Frontier + containers: # Frontier + cardstack-container: !type:Container # Frontier +# End Frontier + +- type: entity + parent: CardStackBase # Frontier: BaseItem