From 43241267d39ec9285efb9d2e2c9aa916fe0cba7f Mon Sep 17 00:00:00 2001 From: SethLafuente <84478872+SethLafuente@users.noreply.github.com> Date: Sat, 24 Jul 2021 16:51:17 -0700 Subject: [PATCH] Made the baseball bat craft able (#4336) * Added the baseball bat into craftable items * Added a space * Update baseball_bat.yml * Update bat.yml * Update bat.yml * Update baseball_bat.yml Co-authored-by: SETh lafuente Co-authored-by: Swept --- .../Entities/Objects/Weapons/Melee/baseball_bat.yml | 5 ++++- .../Prototypes/Recipes/Crafting/Graphs/bat.yml | 13 +++++++++++++ Resources/Prototypes/Recipes/Crafting/bat.yml | 12 ++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 Resources/Prototypes/Recipes/Crafting/Graphs/bat.yml create mode 100644 Resources/Prototypes/Recipes/Crafting/bat.yml diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Melee/baseball_bat.yml b/Resources/Prototypes/Entities/Objects/Weapons/Melee/baseball_bat.yml index 10e1e05e5e..7ccf30b227 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Melee/baseball_bat.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Melee/baseball_bat.yml @@ -8,8 +8,11 @@ sprite: Objects/Weapons/Melee/baseball_bat.rsi state: icon - type: MeleeWeapon - damage: 20 + damage: 15 - type: Item size: 24 sprite: Objects/Weapons/Melee/baseball_bat.rsi prefix: inhand + - type: Construction + graph: WoodenBat + node: bat diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/bat.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/bat.yml new file mode 100644 index 0000000000..56530f443e --- /dev/null +++ b/Resources/Prototypes/Recipes/Crafting/Graphs/bat.yml @@ -0,0 +1,13 @@ +- type: constructionGraph + id: WoodenBat + start: start + graph: + - node: start + edges: + - to: bat + steps: + - material: WoodPlank + amount: 5 + doAfter: 4 + - node: bat + entity: BaseBallBat diff --git a/Resources/Prototypes/Recipes/Crafting/bat.yml b/Resources/Prototypes/Recipes/Crafting/bat.yml new file mode 100644 index 0000000000..dcfc03a8bb --- /dev/null +++ b/Resources/Prototypes/Recipes/Crafting/bat.yml @@ -0,0 +1,12 @@ +- type: construction + name: baseball bat + id: bat + graph: WoodenBat + startNode: start + targetNode: bat + category: Weapons + description: A robust baseball bat. + icon: + sprite: Objects/Weapons/Melee/baseball_bat.rsi + state: icon + objectType: Item