From 1f5e71e85c60a68f798e5437b5b73e290e7fcb74 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 6 Feb 2022 14:54:17 +0100 Subject: [PATCH] [MIRROR] More items hurt you now if you walk on them barefoot [MDB IGNORE] (#11302) * More items hurt you now if you walk on them barefoot (#64625) Have you ever stepped on a sharp object as a kid before? I stepped on a broken tea cup when I was a kid, and I could tell you that it hurt like hell. Light tube and glass shard already hurt you in-game if you step on them barefoot. The PR changes that broken drinking/alcohol glass and broken plate shard will also hurt you now if you step on them barefoot. I was planning to add knives too but I thought that would be too much. I hope this works. * More items hurt you now if you walk on them barefoot Co-authored-by: Tortoise <64306407+OneAsianTortoise@users.noreply.github.com> --- code/modules/food_and_drinks/drinks/drinks/bottle.dm | 1 + code/modules/food_and_drinks/plate.dm | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/code/modules/food_and_drinks/drinks/drinks/bottle.dm b/code/modules/food_and_drinks/drinks/drinks/bottle.dm index 0f8ee5a519b..0860c5fb876 100644 --- a/code/modules/food_and_drinks/drinks/drinks/bottle.dm +++ b/code/modules/food_and_drinks/drinks/drinks/bottle.dm @@ -151,6 +151,7 @@ /obj/item/broken_bottle/Initialize(mapload) . = ..() + AddComponent(/datum/component/caltrop, min_damage = force) AddComponent(/datum/component/butchering, 200, 55) /obj/item/reagent_containers/food/drinks/bottle/beer diff --git a/code/modules/food_and_drinks/plate.dm b/code/modules/food_and_drinks/plate.dm index c7aae37b8ed..6b293c3d967 100644 --- a/code/modules/food_and_drinks/plate.dm +++ b/code/modules/food_and_drinks/plate.dm @@ -107,3 +107,7 @@ force = 5 throwforce = 5 sharpness = SHARP_EDGED + +/obj/item/plate_shard/Initialize(mapload) + . = ..() + AddComponent(/datum/component/caltrop, min_damage = force)