From 434b1686af913b169655e9a264afdc69efd7bd61 Mon Sep 17 00:00:00 2001 From: Leon Friedrich <60421075+ElectroJr@users.noreply.github.com> Date: Mon, 10 Oct 2022 15:36:27 +1300 Subject: [PATCH] Fix firelock construction (#11769) --- .../Entities/Objects/Devices/Electronics/firelock.yml | 4 ++++ .../Recipes/Construction/Graphs/structures/firelock.yml | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Resources/Prototypes/Entities/Objects/Devices/Electronics/firelock.yml b/Resources/Prototypes/Entities/Objects/Devices/Electronics/firelock.yml index 2e1c4f5fee..a8a017dd2a 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Electronics/firelock.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Electronics/firelock.yml @@ -8,3 +8,7 @@ sprite: Objects/Misc/module.rsi state: mainboard netsync: false + - type: Tag + tags: + - DroneUsable + - FirelockElectronics diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/structures/firelock.yml b/Resources/Prototypes/Recipes/Construction/Graphs/structures/firelock.yml index c3f8973d94..647c89db02 100644 --- a/Resources/Prototypes/Recipes/Construction/Graphs/structures/firelock.yml +++ b/Resources/Prototypes/Recipes/Construction/Graphs/structures/firelock.yml @@ -51,6 +51,7 @@ anchored: true steps: - tag: FirelockElectronics + store: board name: Firelock Electronics icon: sprite: "Objects/Misc/module.rsi" @@ -82,9 +83,7 @@ doAfter: 0.25 - to: frame2 completed: - - !type:SpawnPrototype - prototype: FirelockElectronics - amount: 1 + - !type:EmptyAllContainers {} conditions: - !type:EntityAnchored anchored: true