From e81cf39f0bfae4b5171a3d14bf20907e5d622d4a Mon Sep 17 00:00:00 2001 From: Focstor <111702496+Focstor@users.noreply.github.com> Date: Mon, 29 Jul 2024 06:29:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D0=BA=D1=80=D0=B0=D1=84=D1=82=D0=B0=20?= =?UTF-8?q?=D0=B4=D0=B2=D1=83=D1=85=D0=BA=D0=BB=D0=B8=D0=BD=D0=BA=D0=BE?= =?UTF-8?q?=D0=B2=D0=BE=D0=B3=D0=BE=20=D1=8D=D0=BD=D0=B5=D1=80=D0=B3=D0=B5?= =?UTF-8?q?=D1=82=D0=B8=D1=87=D0=B5=D1=81=D0=BA=D0=BE=D0=B3=D0=BE=20=D0=BC?= =?UTF-8?q?=D0=B5=D1=87=D0=B0=20(#244)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Крафт даблы * Изменение крафта * Фикс крафта даблы * Разборка даблы * фикс+ --- .../Graphs/weapons/EnergySwordDouble.yml | 25 +++++++++++++++++++ .../Objects/Weapons/Guns/Biocode/biocode.yml | 9 +++++++ Resources/Prototypes/tags.yml | 3 +++ 3 files changed, 37 insertions(+) create mode 100644 Resources/Prototypes/Recipes/Construction/Graphs/weapons/EnergySwordDouble.yml diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/weapons/EnergySwordDouble.yml b/Resources/Prototypes/Recipes/Construction/Graphs/weapons/EnergySwordDouble.yml new file mode 100644 index 00000000000..702b0eea484 --- /dev/null +++ b/Resources/Prototypes/Recipes/Construction/Graphs/weapons/EnergySwordDouble.yml @@ -0,0 +1,25 @@ +- type: constructionGraph + id: EnergySwordDoubleGraph + start: start + graph: + - node: start + edges: + - to: DoubleEnergySwordNode + steps: + - tag: EnergySword + doAfter: 2 + + - node: DoubleEnergySwordNode + entity: EnergySwordDoubleBiocode + edges: + - to: deconstruct + steps: + - tool: Screwing + doAfter: 2 + + - node: deconstruct + actions: + - !type:GivePrototype + prototype: EnergySwordBiocode + amount: 2 + - !type:DeleteEntity \ No newline at end of file diff --git a/Resources/Prototypes/_Sunrise/Entities/Objects/Weapons/Guns/Biocode/biocode.yml b/Resources/Prototypes/_Sunrise/Entities/Objects/Weapons/Guns/Biocode/biocode.yml index 35c987fd45b..68cd1e5da48 100644 --- a/Resources/Prototypes/_Sunrise/Entities/Objects/Weapons/Guns/Biocode/biocode.yml +++ b/Resources/Prototypes/_Sunrise/Entities/Objects/Weapons/Guns/Biocode/biocode.yml @@ -107,6 +107,9 @@ factions: - Syndicate alertText: Данное оружие биокодировано. Вы не можете его использовать. + - type: Construction + graph: EnergySwordDoubleGraph + node: DoubleEnergySwordNode - type: entity parent: EnergySword @@ -117,6 +120,12 @@ factions: - Syndicate alertText: Данное оружие биокодировано. Вы не можете его использовать. + - type: Tag + tags: + - EnergySword + - type: Construction + graph: EnergySwordDoubleGraph + node: start - type: entity parent: WeaponSIAR52 diff --git a/Resources/Prototypes/tags.yml b/Resources/Prototypes/tags.yml index 14555aa5018..b9cfb489a7b 100644 --- a/Resources/Prototypes/tags.yml +++ b/Resources/Prototypes/tags.yml @@ -556,6 +556,9 @@ - type: Tag id: Ectoplasm + +- type: Tag + id: EnergySword - type: Tag id: Egg