diff --git a/code/modules/customitems/item_defines.dm b/code/modules/customitems/item_defines.dm index 8044f6a0..79f2863b 100644 --- a/code/modules/customitems/item_defines.dm +++ b/code/modules/customitems/item_defines.dm @@ -25,7 +25,8 @@ "/obj/item/weapon/airlock_electronics", "/obj/item/weapon/module/power_control", "/obj/item/weapon/cell", - "/obj/item/weapon/hand_tele") + "/obj/item/weapon/hand_tele", + "/obj/item/weapon/soap/fluff/jace_toothbrush") storage_slots = 14 max_combined_w_class = 42 max_w_class = 3 @@ -1323,4 +1324,38 @@ END R I P HAZERI slot_flags = SLOT_MASK /obj/item/clothing/tie/fluff/fortune_shieldpendant/New() - inv_overlay = image("icon" = 'icons/obj/custom_items/fortune_shieldpendant.dmi', "icon_state" = "fortune_shieldpendant_w") \ No newline at end of file + inv_overlay = image("icon" = 'icons/obj/custom_items/fortune_shieldpendant.dmi', "icon_state" = "fortune_shieldpendant_w") + + +// Jace Evan's toothbrush - Wittly +/obj/item/weapon/soap/fluff/jace_toothbrush + name = "toothbrush" + desc = "An old toothbrush. It looks well used." + icon = 'icons/obj/custom_items/jace_toothbrush.dmi' + icon_state = "jace_toothbrush" + var/cleanspeed = 20 + +/obj/item/weapon/soap/fluff/jace_toothbrush/Crossed(AM as mob|obj) + return + +/obj/item/weapon/soap/fluff/jace_toothbrush/afterattack(atom/target, mob/user as mob, proximity) + if(!proximity) return + + if(user.client && (target in user.client.screen)) + return + if (istype(target,/obj/effect/decal/cleanable)) + user.visible_message("[user] begins to scrub \the [target.name] out with [src].") + if(do_after(user, src.cleanspeed) && target) + user << "You scrub \the [target.name] out." + del(target) + else + user.visible_message("[user] begins to clean \the [target.name] with [src].") + if(do_after(user, src.cleanspeed)) + user << "You clean \the [target.name]." + var/obj/effect/decal/cleanable/C = locate() in target + del(C) + target.clean_blood() + return + +/obj/item/weapon/soap/fluff/jace_toothbrush/attack(mob/target as mob, mob/user as mob) + return \ No newline at end of file diff --git a/icons/obj/custom_items/jace_toothbrush.dmi b/icons/obj/custom_items/jace_toothbrush.dmi new file mode 100644 index 00000000..63359516 Binary files /dev/null and b/icons/obj/custom_items/jace_toothbrush.dmi differ