Merge pull request #10008 from mwerezak/custom-item-icons

[DNM] Makes custom items use the host item's inhand sprites if none are provided, knife fixes
This commit is contained in:
PsiOmegaDelta
2015-07-07 06:44:10 +02:00
3 changed files with 65 additions and 5 deletions

View File

@@ -73,7 +73,7 @@
name = "knife"
desc = "Can cut through any food."
icon_state = "knife"
force_divisor = 0.2 // 12 when wielded with hardness 60 (steel)
force_divisor = 0.15 // 9 when wielded with hardness 60 (steel)
/obj/item/weapon/material/kitchen/utensil/knife/attack(target as mob, mob/living/user as mob)
if ((CLUMSY in user.mutations) && prob(50))

View File

@@ -52,11 +52,12 @@
name = "kitchen knife"
icon = 'icons/obj/kitchen.dmi'
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."
flags = CONDUCT
sharp = 1
edge = 1
force_divisor = 0.15 // 9 when wielded with hardness 60 (steel)
force_divisor = 0.2 // 12 when wielded with hardness 60 (steel)
matter = list(DEFAULT_WALL_MATERIAL = 12000)
origin_tech = "materials=1"
attack_verb = list("slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")
@@ -85,6 +86,7 @@
name = "butcher's cleaver"
icon = 'icons/obj/kitchen.dmi'
icon_state = "butch"
item_state = "butcher_knife"
desc = "A huge thing used for chopping and chopping up meat. This includes clowns and clown-by-products."
force_divisor = 0.25 // 15 when wielded with hardness 60 (steel)
attack_verb = list("cleaved", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")