diff --git a/Resources/Prototypes/_CP14/Entities/Structures/Furniture/workbenchs.yml b/Resources/Prototypes/_CP14/Entities/Structures/Furniture/workbenchs.yml index 6493ca778b..9defd8864b 100644 --- a/Resources/Prototypes/_CP14/Entities/Structures/Furniture/workbenchs.yml +++ b/Resources/Prototypes/_CP14/Entities/Structures/Furniture/workbenchs.yml @@ -143,4 +143,35 @@ craftSound: collection: CP14Sawing #TODO recipeTags: - - CP14RecipeAnvil \ No newline at end of file + - CP14RecipeAnvil + +- type: entity + id: CP14WorkbenchFurnace + parent: + - CP14BaseWorkbench + name: melting furnace + description: I feel really bad, please someone fix this. + components: + - type: Sprite + state: furnace + - type: Icon + state: furnace + - type: Damageable + damageContainer: StructuralInorganic + damageModifierSet: StructuralMetallic + - type: Destructible + thresholds: + - trigger: + !type:DamageTrigger + damage: 150 + behaviors: + - !type:PlaySoundBehavior + sound: + collection: MetalBreak + - !type:DoActsBehavior + acts: [ "Destruction" ] + - type: CP14Workbench + craftSound: + collection: CP14Sawing #TODO + recipeTags: + - CP14RecipeMeltingFurnace \ No newline at end of file diff --git a/Resources/Prototypes/_CP14/Recipes/Workbench/furnace.yml b/Resources/Prototypes/_CP14/Recipes/Workbench/furnace.yml new file mode 100644 index 0000000000..18e25937aa --- /dev/null +++ b/Resources/Prototypes/_CP14/Recipes/Workbench/furnace.yml @@ -0,0 +1,23 @@ +- type: CP14Recipe + id: CP14CopperBar1 + tag: CP14RecipeMeltingFurnace + craftTime: 4 + entities: + CP14OreCopper: 2 + result: CP14CopperBar1 + +- type: CP14Recipe + id: CP14IronBar1 + tag: CP14RecipeMeltingFurnace + craftTime: 4 + entities: + CP14OreIron: 2 + result: CP14IronBar1 + +- type: CP14Recipe + id: CP14GoldBar1 + tag: CP14RecipeMeltingFurnace + craftTime: 4 + entities: + CP14OreGold: 2 + result: CP14GoldBar1 \ No newline at end of file diff --git a/Resources/Textures/_CP14/Structures/Furniture/workbench.rsi/furnace.png b/Resources/Textures/_CP14/Structures/Furniture/workbench.rsi/furnace.png new file mode 100644 index 0000000000..c05d9e84fe Binary files /dev/null and b/Resources/Textures/_CP14/Structures/Furniture/workbench.rsi/furnace.png differ diff --git a/Resources/Textures/_CP14/Structures/Furniture/workbench.rsi/meta.json b/Resources/Textures/_CP14/Structures/Furniture/workbench.rsi/meta.json index a74677153d..84e6cac53e 100644 --- a/Resources/Textures/_CP14/Structures/Furniture/workbench.rsi/meta.json +++ b/Resources/Textures/_CP14/Structures/Furniture/workbench.rsi/meta.json @@ -19,6 +19,9 @@ { "name": "sewing_table" }, + { + "name": "furnace" + }, { "name": "anvil", "directions": 4