From 59dc0a5b348ae0f9dd8d6cc5cd299d031f2e40ac Mon Sep 17 00:00:00 2001 From: MistakeNot4892 Date: Thu, 9 Jan 2025 20:57:49 +1100 Subject: [PATCH] Implementing Doe's chisel icons. --- code/game/objects/items/chisel.dm | 12 ++++++++++++ .../tool_crafting/_tool_crafting.dm | 4 ++++ code/modules/tools/components/head.dm | 6 +++++- icons/obj/items/tool/chisel.dmi | Bin 0 -> 690 bytes 4 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 code/game/objects/items/chisel.dm create mode 100644 icons/obj/items/tool/chisel.dmi diff --git a/code/game/objects/items/chisel.dm b/code/game/objects/items/chisel.dm new file mode 100644 index 00000000000..8bdcf2ab1a4 --- /dev/null +++ b/code/game/objects/items/chisel.dm @@ -0,0 +1,12 @@ +// Stub for forging. TODO implement TOOL_CHISEL. +/obj/item/tool/chisel + name = "chisel" + desc = "A hard, sharpened tool used to chisel stone, wood or bone." + icon_state = ICON_STATE_WORLD + icon = 'icons/obj/items/tool/chisel.dmi' + material = /decl/material/solid/metal/steel + handle_material = /decl/material/solid/organic/plastic + binding_material = null + +/obj/item/tool/chisel/forged + handle_material = null diff --git a/code/modules/crafting/slapcrafting/crafting_recipes/tool_crafting/_tool_crafting.dm b/code/modules/crafting/slapcrafting/crafting_recipes/tool_crafting/_tool_crafting.dm index c8169a999c2..ad2cff20aa6 100644 --- a/code/modules/crafting/slapcrafting/crafting_recipes/tool_crafting/_tool_crafting.dm +++ b/code/modules/crafting/slapcrafting/crafting_recipes/tool_crafting/_tool_crafting.dm @@ -12,6 +12,10 @@ var/global/list/_tool_crafting_lookup return global._tool_crafting_lookup var/global/list/_tool_crafting_components = list( + /obj/item/tool/chisel = list( + /obj/item/tool_component/head/chisel, + /obj/item/tool_component/handle/short + ), /obj/item/tool/hammer = list( /obj/item/tool_component/head/hammer, /obj/item/tool_component/handle/short diff --git a/code/modules/tools/components/head.dm b/code/modules/tools/components/head.dm index 5d7aa85f512..8f594c1f2e7 100644 --- a/code/modules/tools/components/head.dm +++ b/code/modules/tools/components/head.dm @@ -40,6 +40,11 @@ var/global/list/_tool_properties_cache = list() desc = "The head of a hoe." icon_state = "hoe" +/obj/item/tool_component/head/chisel + name = "chisel head" + desc = "The head of a chisel." + icon_state = "hoe" + /obj/item/tool_component/head/handaxe name = "hand axe head" desc = "The head of a hand axe." @@ -57,4 +62,3 @@ var/global/list/_tool_properties_cache = list() desc = "The head of a sledgehammer." icon_state = "sledgehammer" w_class = ITEM_SIZE_NORMAL - diff --git a/icons/obj/items/tool/chisel.dmi b/icons/obj/items/tool/chisel.dmi new file mode 100644 index 0000000000000000000000000000000000000000..e277e1ba44b698cdee2da998e3ce19c6bb62151f GIT binary patch literal 690 zcmV;j0!{siP)005u_0{{R3dEt5<0000LP)t-sz`($Y zik|=f|7Bu!!okT&M_jk&2Oy8mioGaTYtAC7peM20a;5>VI?Tcc8DJW-8^M4OGtLx}pEeuLE+l)H z=eG~-05&)p)18HuRvB0Xq9dcyT&a=z-b?FHiL+B<;f)KO>7ML|ER#w4o18npj{dcJ zAs`oZTfLtD09Egv0smDxhX4Qpj7da6RA_mssewm!JQ}+rrxRxPB-F!(Sf>W~`RJqTIjuI>_F+S;Qv=sRO|hTo0!72Ovx_ZUgnGz)3iTv>GO12u_yuVZzJO3S@dMbAe~aDW@bXWX`6j7dB+81}cqQe@ zfSRnR%9AyT52+9U000307(WVC#H?J4dVkQPA}dzx4;oE}a(@t65dZ)H06+o4696FM Y3M)V?{nMd#r2qf`07*qoM6N<$g2{V8g#Z8m literal 0 HcmV?d00001