Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newpizzacutter #5178

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions code/game/objects/items/tools/kitchen_tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,44 @@

attack_verb = list("slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")

/*
* Plastic Pizza Cutter
*/
/obj/item/tool/kitchen/pizzacutter
name = "pizza cutter"
icon_state = "plasticpizzacutter"
desc = "A circular blade used for cutting pizzas. This one has a cheap plastic handle."
flags_atom = FPRINT|CONDUCT
sharp = IS_SHARP_ITEM_ACCURATE
edge = 1
force = 10
w_class = SIZE_MEDIUM
hitsound = 'sound/weapons/bladeslice.ogg'
throwforce = 6
throw_speed = SPEED_VERY_FAST
throw_range = 6
matter = list("metal" = 12000)
Mensla marked this conversation as resolved.
Show resolved Hide resolved

attack_verb = list("slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")

/*
* Wood Pizza Cutter
*/
/obj/item/tool/kitchen/pizzacutter/wood
icon_state = "woodpizzacutter"
desc = "A circular blade used for cutting pizzas. This one has an authentic wooden handle."

/*
* Holy Relic Pizza Cutter
*/
/obj/item/tool/kitchen/pizzacutter/holyrelic
name = "\improper PIZZA TIME"
icon_state = "holyrelicpizzacutter"
desc = "Before you is a holy relic of a bygone era when the great Pizza Lords reigned supreme. You know either that or it's just a big damn pizza cutter."
sharp = IS_SHARP_ITEM_ACCURATE
force = MELEE_FORCE_VERY_STRONG
edge = 1

/*
* Bucher's cleaver
*/
Expand Down
11 changes: 0 additions & 11 deletions code/game/objects/items/weapons/blades.dm
Original file line number Diff line number Diff line change
Expand Up @@ -137,17 +137,6 @@
throwforce = MELEE_FORCE_STRONG
edge = 1


/obj/item/weapon/pizza_cutter
name = "\improper PIZZA TIME"
icon = 'icons/obj/items/weapons/weapons.dmi'
icon_state = "pizza_cutter"
item_state = "pizza_cutter"
desc = "Before you is a holy relic of a bygone era when the great Pizza Lords reigned supreme. You know either that or it's just a big damn pizza cutter."
sharp = IS_SHARP_ITEM_ACCURATE
force = MELEE_FORCE_VERY_STRONG
edge = 1

///For digging shrapnel out of OTHER people, not yourself. Triggered by human/attackby() so target is definitely human. User might not be.
/obj/item/proc/dig_out_shrapnel_check(mob/living/carbon/human/target, mob/living/carbon/human/user)
if(user.a_intent == INTENT_HELP && (target == user || skillcheck(user, SKILL_MEDICAL, SKILL_MEDICAL_MEDIC))) //Squad medics and above, or yourself
Expand Down
Binary file modified icons/mob/humans/onmob/items_lefthand_0.dmi
Binary file not shown.
Binary file modified icons/mob/humans/onmob/items_righthand_0.dmi
Binary file not shown.
Binary file modified icons/obj/items/kitchen_tools.dmi
Binary file not shown.
Binary file modified icons/obj/items/weapons/weapons.dmi
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@
/area/template_noop)
"K" = (
/obj/structure/closet/secure_closet/freezer/fridge/full,
/obj/item/weapon/pizza_cutter,
/obj/item/tool/kitchen/pizzacutter,
/turf/open/floor/prison{
icon_state = "kitchen"
},
Expand Down
Loading