/obj/item/weapon/banhammer desc = "A banhammer" name = "banhammer" icon = 'icons/obj/items.dmi' icon_state = "toyhammer" slot_flags = SLOT_BELT throwforce = 0 w_class = 1.0 throw_speed = 7 throw_range = 15 attack_verb = list("banned") /obj/item/weapon/banhammer/suicide_act(mob/user) to_chat(viewers(user), "[user] is hitting \himself with the [src.name]! It looks like \he's trying to ban \himself from life.") return (BRUTELOSS|FIRELOSS|TOXLOSS|OXYLOSS) /obj/item/weapon/nullrod name = "null rod" desc = "A rod of pure obsidian, its very presence disrupts and dampens the powers of paranormal phenomenae." icon_state = "nullrod" item_state = "nullrod" slot_flags = SLOT_BELT force = 15 throw_speed = 1 throw_range = 4 throwforce = 10 w_class = 1 var/transformed = 0 var/transform_into = /obj/item/weapon/nullrod/sword var/transform_via = list(/obj/item/clothing/suit/armor/riot/knight/templar, /obj/item/clothing/suit/chaplain_hoodie/fluff/chronx) suicide_act(mob/user) to_chat(viewers(user), "[user] is impaling \himself with the [src.name]! It looks like \he's trying to commit suicide.") return (BRUTELOSS|FIRELOSS) /obj/item/weapon/nullrod/attack(mob/M as mob, mob/living/user as mob) //Paste from old-code to decult with a null rod. M.attack_log += text("\[[time_stamp()]\] Has been attacked with [src.name] by [user.name] ([user.ckey])") user.attack_log += text("\[[time_stamp()]\] Used the [src.name] to attack [M.name] ([M.ckey])") if(!iscarbon(user)) M.LAssailant = null else M.LAssailant = user msg_admin_attack("[key_name_admin(user)] attacked [key_name_admin(M)] with [src.name] (INTENT: [uppertext(user.a_intent)])") if ((CLUMSY in user.mutations) && prob(50)) to_chat(user, "\red The rod slips out of your hand and hits your head.") user.take_organ_damage(10) user.Paralyse(20) return if(M.mind) if(M.mind.vampire) if(ishuman(M)) if(!M.mind.vampire.get_ability(/datum/vampire_passive/full)) to_chat(M, "The nullrod's power interferes with your own!") M.mind.vampire.nullified = max(5, M.mind.vampire.nullified + 2) ..() /obj/item/weapon/nullrod/afterattack(var/obj/item/I as obj, mob/user as mob, proximity) if(!proximity) return for(var/T in transform_via) if(istype(I, T)) //Only the Chaplain's holy armor is capable fo performing this feat. if(!transformed) // can't turn a sword into a sword. var/obj/item/S = new transform_into() to_chat(user, "You sheath the [src] into the [I]'s scabbard, transforming it into \a [S].") user.unEquip(src) qdel(src) user.put_in_hands(S) break /obj/item/weapon/nullrod/sword name = "holy sword" desc = "A sword imbued with holy power, its very presence disrupts and dampens the powers of paranormal phenomenae." icon_state = "claymore" item_state = "claymore" hitsound = 'sound/weapons/bladeslice.ogg' w_class = 3 //transforming it is not without its downsides. sharp = 1 edge = 1 transformed = 1 /obj/item/weapon/sord name = "\improper SORD" desc = "This thing is so unspeakably shitty you are having a hard time even holding it." icon_state = "sord" item_state = "sord" slot_flags = SLOT_BELT force = 2 throwforce = 1 sharp = 1 edge = 1 w_class = 3 attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut") suicide_act(mob/user) to_chat(viewers(user), "[user] is impaling \himself with the [src.name]! It looks like \he's trying to commit suicide.") return(BRUTELOSS) /obj/item/weapon/sord/attack(mob/living/carbon/M as mob, mob/living/carbon/user as mob) playsound(loc, 'sound/weapons/bladeslice.ogg', 50, 1, -1) return ..() /obj/item/weapon/claymore name = "claymore" desc = "What are you standing around staring at this for? Get to killing!" icon_state = "claymore" item_state = "claymore" flags = CONDUCT hitsound = 'sound/weapons/bladeslice.ogg' slot_flags = SLOT_BELT force = 40 throwforce = 10 sharp = 1 edge = 1 w_class = 3 attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut") IsShield() return 1 suicide_act(mob/user) to_chat(viewers(user), "[user] is falling on the [src.name]! It looks like \he's trying to commit suicide.") return(BRUTELOSS) /obj/item/weapon/claymore/ceremonial name = "ceremonial claymore" desc = "An engraved and fancy version of the claymore. It appears to be less sharp than it's more functional cousin." force = 20 /obj/item/weapon/katana name = "katana" desc = "Woefully underpowered in D20" icon_state = "katana" item_state = "katana" flags = CONDUCT slot_flags = SLOT_BELT | SLOT_BACK force = 40 throwforce = 10 sharp = 1 edge = 1 w_class = 3 attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut") suicide_act(mob/user) to_chat(viewers(user), "[user] is slitting \his stomach open with the [src.name]! It looks like \he's trying to commit seppuku.") return(BRUTELOSS) /obj/item/weapon/katana/IsShield() return 1 /obj/item/weapon/katana/attack(mob/living/carbon/M as mob, mob/living/carbon/user as mob) playsound(loc, 'sound/weapons/bladeslice.ogg', 50, 1, -1) return ..() /obj/item/weapon/harpoon name = "harpoon" sharp = 1 edge = 0 desc = "Tharr she blows!" icon_state = "harpoon" item_state = "harpoon" force = 20 throwforce = 15 w_class = 3 attack_verb = list("jabbed","stabbed","ripped") obj/item/weapon/wirerod name = "Wired rod" desc = "A rod with some wire wrapped around the top. It'd be easy to attach something to the top bit." icon_state = "wiredrod" item_state = "rods" flags = CONDUCT force = 9 throwforce = 10 w_class = 3 materials = list(MAT_METAL=1000) attack_verb = list("hit", "bludgeoned", "whacked", "bonked") obj/item/weapon/wirerod/attackby(var/obj/item/I, mob/user as mob, params) ..() if(istype(I, /obj/item/weapon/shard)) var/obj/item/weapon/twohanded/spear/S = new /obj/item/weapon/twohanded/spear if(!remove_item_from_storage(user)) user.unEquip(src) user.unEquip(I) user.put_in_hands(S) to_chat(user, "You fasten the glass shard to the top of the rod with the cable.") qdel(I) qdel(src) else if(istype(I, /obj/item/weapon/wirecutters)) var/obj/item/weapon/melee/baton/cattleprod/P = new /obj/item/weapon/melee/baton/cattleprod if(!remove_item_from_storage(user)) user.unEquip(src) user.unEquip(I) user.put_in_hands(P) to_chat(user, "You fasten the wirecutters to the top of the rod with the cable, prongs outward.") qdel(I) qdel(src) /obj/item/weapon/spear/kidan icon_state = "kidanspear" name = "Kidan spear" desc = "A one-handed spear brought over from the Kidan homeworld." icon_state = "kidanspear" item_state = "kidanspear" force = 10 throwforce = 15