From a5a3c33aa7b467d4a91d7025aad8de0226306a60 Mon Sep 17 00:00:00 2001 From: LAstronautL Date: Mon, 8 Jul 2024 19:44:07 +0300 Subject: [PATCH] last update --- .../Graphs/fun/Toy_Energy_Shield.yml | 19 +++++++++++++++++++ .../Prototypes/Recipes/Construction/fun.yml | 12 ++++++++++++ .../Starshine/Entities/Objects/Fun/toys.yml | 3 +++ 3 files changed, 34 insertions(+) create mode 100644 Resources/Prototypes/Recipes/Construction/Graphs/fun/Toy_Energy_Shield.yml diff --git a/Resources/Prototypes/Recipes/Construction/Graphs/fun/Toy_Energy_Shield.yml b/Resources/Prototypes/Recipes/Construction/Graphs/fun/Toy_Energy_Shield.yml new file mode 100644 index 00000000000000..b1f5cbb8f784c2 --- /dev/null +++ b/Resources/Prototypes/Recipes/Construction/Graphs/fun/Toy_Energy_Shield.yml @@ -0,0 +1,19 @@ +- type: constructionGraph + id: Toy_Energy_Shield + start: start + graph: + - node: start + edges: + - to: Quiver + steps: + - material: Cable + amount: 2 + doAfter: 1 + - material: Cloth + amount: 5 + doAfter: 2 + - material: WoodPlank + amount: 1 + doAfter: 2 + - node: Toy_Energy_Shield + entity: ToyEnergyShield \ No newline at end of file diff --git a/Resources/Prototypes/Recipes/Construction/fun.yml b/Resources/Prototypes/Recipes/Construction/fun.yml index 46d43e73729c30..d9d452a3251f74 100644 --- a/Resources/Prototypes/Recipes/Construction/fun.yml +++ b/Resources/Prototypes/Recipes/Construction/fun.yml @@ -8,3 +8,15 @@ description: An air horn made from bananium. icon: { sprite: Objects/Fun/bananiumhorn.rsi, state: icon } objectType: Item + +- type: construction + name: toy energy shield + id: ToyEnergyShield + graph: Toy_Energy_Shield + startNode: start + targetNode: Toy_Energy_Shield + category: construction-category-weapons + description: New Sandy-Cat plastic energy shield! Comes with realistic sound and full color! Looks almost like the real thing! + icon: { sprite: Objects/Weapons/Melee/e_shield.rsi, state: eshield-on } + objectType: Item + diff --git a/Resources/Prototypes/Starshine/Entities/Objects/Fun/toys.yml b/Resources/Prototypes/Starshine/Entities/Objects/Fun/toys.yml index 0e02cb70cba9fe..a1c01a6cd67c80 100644 --- a/Resources/Prototypes/Starshine/Entities/Objects/Fun/toys.yml +++ b/Resources/Prototypes/Starshine/Entities/Objects/Fun/toys.yml @@ -152,6 +152,9 @@ - type: Appearance - type: Damageable damageContainer: Shield + - type: Construction + graph: Toy_Energy_Shield + node: Toy_Energy_Shield - type: Destructible thresholds: - trigger: