Kitchen Utensil Sprite Fix (#20371)

Gives kitchen utensils their proper in-hand sprites.
Fixes #20367
This commit is contained in:
Acetrea
2025-01-16 00:26:37 +00:00
committed by GitHub
parent 3580424c01
commit 8b7456e37a
3 changed files with 70 additions and 0 deletions
@@ -89,11 +89,13 @@
name = "fork"
desc = "It's a fork. Sure is pointy."
icon_state = "fork"
item_state = "fork"
sharp = TRUE
surgerysound = 'sound/items/surgery/hemostat.ogg'
/obj/item/material/kitchen/utensil/fork/plastic
icon_state = "plastic_fork"
item_state = "fork"
default_material = MATERIAL_PLASTIC
use_material_name = TRUE
applies_material_colour = TRUE
@@ -102,9 +104,11 @@
name = "spork"
desc = "It's a spork. It's much like a fork, but much blunter."
icon_state = "spork"
item_state = "fork"
/obj/item/material/kitchen/utensil/spork/plastic
icon_state = "plastic_spork"
item_state = "fork"
default_material = MATERIAL_PLASTIC
use_material_name = TRUE
applies_material_colour = TRUE
@@ -113,9 +117,11 @@
name = "chopsticks"
desc = "A pair of chopsticks. An extension of one's fingers, one might say."
icon_state = "chopsticks"
item_state = "chopsticks"
/obj/item/material/kitchen/utensil/fork/chopsticks/bamboo
icon_state = "plastic_chopsticks"
item_state = "chopsticks"
default_material = MATERIAL_BAMBOO
use_material_name = TRUE
applies_material_colour = TRUE
@@ -124,11 +130,13 @@
name = "spoon"
desc = "It's a spoon. You can see your own upside-down face in it."
icon_state = "spoon"
item_state = "spoon"
attack_verb = list("attacked", "poked")
force_divisor = 0.1 //2 when wielded with weight 20 (steel)
/obj/item/material/kitchen/utensil/spoon/plastic
icon_state = "plastic_spoon"
item_state = "spoon"
default_material = MATERIAL_PLASTIC
use_material_name = TRUE
applies_material_colour = TRUE
@@ -140,6 +148,7 @@
name = "knife"
desc = "A knife for eating with. Can cut through any food."
icon_state = "knife"
item_state = "knife"
force_divisor = 0.1 // 6 when wielded with hardness 60 (steel)
scoop_food = FALSE
sharp = TRUE
@@ -165,6 +174,7 @@
/obj/item/material/kitchen/utensil/knife/plastic
icon_state = "plastic_knife"
item_state = "knife"
default_material = MATERIAL_PLASTIC
use_material_name = TRUE
applies_material_colour = TRUE
@@ -177,6 +187,7 @@
name = "rolling pin"
desc = "Used to knock out the Bartender."
icon_state = "rolling_pin"
item_state = "rolling_pin"
attack_verb = list("bashed", "battered", "bludgeoned", "thrashed", "whacked")
default_material = "wood"
force_divisor = 0.7 // 10 when wielded with weight 15 (wood)
@@ -6,6 +6,7 @@
icon = 'icons/obj/kitchen.dmi'
contained_sprite = TRUE
icon_state = "knife"
item_state = "knife"
desc = "A general purpose Chef's Knife made by SpaceCook Incorporated. Guaranteed to stay sharp for years to come."
obj_flags = OBJ_FLAG_CONDUCTABLE
sharp = 1