/obj/item/melee needs_permit = 1 /obj/item/melee/proc/check_martial_counter(mob/living/carbon/human/target, mob/living/carbon/human/user) if(target.check_block()) target.visible_message("[target.name] blocks [src] and twists [user]'s arm behind [user.p_their()] back!", "You block the attack!") user.Stun(2) return TRUE /obj/item/melee/chainofcommand name = "chain of command" desc = "A tool used by great men to placate the frothing masses." icon_state = "chain" item_state = "chain" flags = CONDUCT slot_flags = SLOT_BELT force = 10 throwforce = 7 w_class = WEIGHT_CLASS_NORMAL origin_tech = "combat=5" attack_verb = list("flogged", "whipped", "lashed", "disciplined") hitsound = 'sound/weapons/slash.ogg' //pls replace /obj/item/melee/chainofcommand/suicide_act(mob/user) to_chat(viewers(user), "[user] is strangling [user.p_them()]self with the [src.name]! It looks like [user.p_theyre()] trying to commit suicide.") return OXYLOSS /obj/item/melee/rapier name = "captain's rapier" desc = "An elegant weapon, for a more civilized age." icon_state = "rapier" item_state = "rapier" flags = CONDUCT force = 15 throwforce = 10 w_class = WEIGHT_CLASS_BULKY block_chance = 50 armour_penetration = 75 sharp = 1 origin_tech = "combat=5" attack_verb = list("lunged at", "stabbed") hitsound = 'sound/weapons/rapierhit.ogg' materials = list(MAT_METAL = 1000) /obj/item/melee/rapier/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK) if(attack_type == PROJECTILE_ATTACK) final_block_chance = 0 //Don't bring a sword to a gunfight return ..() /obj/item/melee/icepick name = "ice pick" desc = "Used for chopping ice. Also excellent for mafia esque murders." icon_state = "icepick" item_state = "icepick" force = 15 throwforce = 10 w_class = WEIGHT_CLASS_SMALL attack_verb = list("stabbed", "jabbed", "iced,") /obj/item/melee/candy_sword name = "candy cane sword" desc = "A large candy cane with a sharpened point. Definitely too dangerous for schoolchildren." icon_state = "candy_sword" item_state = "candy_sword" force = 10 throwforce = 7 w_class = WEIGHT_CLASS_NORMAL attack_verb = list("slashed", "stabbed", "sliced", "caned") /obj/item/melee/flyswatter name = "flyswatter" desc = "Useful for killing insects of all sizes." icon_state = "flyswatter" item_state = "flyswatter" force = 1 throwforce = 1 attack_verb = list("swatted", "smacked") hitsound = 'sound/effects/snap.ogg' w_class = WEIGHT_CLASS_SMALL //Things in this list will be instantly splatted. Flyman weakness is handled in the flyman species weakness proc. var/list/strong_against /obj/item/melee/flyswatter/Initialize(mapload) . = ..() strong_against = typecacheof(list( /mob/living/simple_animal/hostile/poison/bees/, /mob/living/simple_animal/butterfly, /mob/living/simple_animal/cockroach, /obj/item/queen_bee )) /obj/item/melee/flyswatter/afterattack(atom/target, mob/user, proximity_flag) . = ..() if(proximity_flag) if(is_type_in_typecache(target, strong_against)) new /obj/effect/decal/cleanable/insectguts(target.drop_location()) to_chat(user, "You easily splat the [target].") if(istype(target, /mob/living/)) var/mob/living/bug = target bug.death(1) else qdel(target)