From: Verm <32827189+Vermidia@users.noreply.github.com> Date: Fri, 5 Apr 2024 15:41:35 +0000 (-0500) Subject: Make baseball bat crafting require a slicing tool (#26742) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=d802928610ae27627dc974663fd215490b81c06e;p=space-station-14.git Make baseball bat crafting require a slicing tool (#26742) Make baseball bat crafting harder --- diff --git a/Resources/Prototypes/Entities/Objects/Weapons/Melee/baseball_bat.yml b/Resources/Prototypes/Entities/Objects/Weapons/Melee/baseball_bat.yml index 8ba643a115..834d35a529 100644 --- a/Resources/Prototypes/Entities/Objects/Weapons/Melee/baseball_bat.yml +++ b/Resources/Prototypes/Entities/Objects/Weapons/Melee/baseball_bat.yml @@ -40,6 +40,21 @@ tags: - BaseballBat +- type: entity + name: incomplete baseball bat + parent: BaseItem + id: IncompleteBaseBallBat + description: A few planks of wood stuck together. + components: + - type: Sprite + sprite: Objects/Weapons/Melee/incomplete_bat.rsi + state: icon + - type: Item + size: Normal + - type: Construction + graph: WoodenBat + node: incompleteBat + - type: entity name: knockback stick parent: BaseBallBat diff --git a/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/bat.yml b/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/bat.yml index 56530f443e..cecd031f97 100644 --- a/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/bat.yml +++ b/Resources/Prototypes/Recipes/Crafting/Graphs/improvised/bat.yml @@ -1,13 +1,31 @@ -- type: constructionGraph +- type: constructionGraph id: WoodenBat start: start graph: - node: start edges: - - to: bat + - to: incompleteBat steps: - material: WoodPlank amount: 5 doAfter: 4 + + - node: incompleteBat + entity: IncompleteBaseBallBat + edges: + - to: start + completed: + - !type:SpawnPrototype + prototype: MaterialWoodPlank1 + amount: 5 + - !type:DeleteEntity {} + steps: + - tool: Prying + doAfter: 1 + - to: bat + steps: + - tool: Slicing + doAfter: 4 + - node: bat entity: BaseBallBat diff --git a/Resources/Textures/Objects/Weapons/Melee/incomplete_bat.rsi/icon.png b/Resources/Textures/Objects/Weapons/Melee/incomplete_bat.rsi/icon.png new file mode 100644 index 0000000000..6955b10e5d Binary files /dev/null and b/Resources/Textures/Objects/Weapons/Melee/incomplete_bat.rsi/icon.png differ diff --git a/Resources/Textures/Objects/Weapons/Melee/incomplete_bat.rsi/meta.json b/Resources/Textures/Objects/Weapons/Melee/incomplete_bat.rsi/meta.json new file mode 100644 index 0000000000..c7c06adfc8 --- /dev/null +++ b/Resources/Textures/Objects/Weapons/Melee/incomplete_bat.rsi/meta.json @@ -0,0 +1,14 @@ +{ + "version": 1, + "license": "CC-BY-NC-SA-3.0", + "copyright": "Taken from goonstation and modified by Swept at commit https://github.com/goonstation/goonstation/pull/3555/commits/b24eb6260647c0fcfe858268a26b6160bc50017a, modified into incomplete version by Vermidia", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "icon" + } + ] +}