Skip to content

Commit

Permalink
Implementing Doe's chisel icons.
Browse files Browse the repository at this point in the history
  • Loading branch information
MistakeNot4892 committed Jan 9, 2025
1 parent 299e0b6 commit 59dc0a5
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
12 changes: 12 additions & 0 deletions code/game/objects/items/chisel.dm
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion code/modules/tools/components/head.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -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

Binary file added icons/obj/items/tool/chisel.dmi
Binary file not shown.

0 comments on commit 59dc0a5

Please sign in to comment.