|
|
|
@@ -399,6 +399,7 @@
|
|
|
|
|
hitsound = 'sound/weapons/blade1.ogg'
|
|
|
|
|
START_PROCESSING(SSobj, src)
|
|
|
|
|
set_light(brightness_on)
|
|
|
|
|
AddElement(/datum/element/sword_point)
|
|
|
|
|
|
|
|
|
|
/obj/item/twohanded/dualsaber/unwield() //Specific unwield () to switch hitsounds.
|
|
|
|
|
sharpness = initial(sharpness)
|
|
|
|
@@ -408,6 +409,7 @@
|
|
|
|
|
hitsound = "swing_hit"
|
|
|
|
|
STOP_PROCESSING(SSobj, src)
|
|
|
|
|
set_light(0)
|
|
|
|
|
RemoveElement(/datum/element/sword_point)
|
|
|
|
|
|
|
|
|
|
/obj/item/twohanded/dualsaber/process()
|
|
|
|
|
if(wielded)
|
|
|
|
@@ -492,6 +494,10 @@
|
|
|
|
|
spinnable = FALSE
|
|
|
|
|
total_mass_on = 4
|
|
|
|
|
|
|
|
|
|
/obj/item/twohanded/dualsaber/hypereutactic/Initialize(mapload)
|
|
|
|
|
. = ..()
|
|
|
|
|
AddElement(/datum/element/sword_point)
|
|
|
|
|
|
|
|
|
|
/obj/item/twohanded/dualsaber/hypereutactic/chaplain
|
|
|
|
|
name = "\improper divine lightblade"
|
|
|
|
|
desc = "A giant blade of bright and holy light, said to cut down the wicked with ease."
|
|
|
|
@@ -510,15 +516,6 @@
|
|
|
|
|
/obj/item/twohanded/dualsaber/hypereutactic/chaplain/IsReflect()
|
|
|
|
|
return FALSE
|
|
|
|
|
|
|
|
|
|
/obj/item/twohanded/dualsaber/hypereutactic/alt_pre_attack(atom/A, mob/living/user, params) //checks if it can do right click memes
|
|
|
|
|
altafterattack(A, user, TRUE, params)
|
|
|
|
|
return TRUE
|
|
|
|
|
|
|
|
|
|
/obj/item/twohanded/dualsaber/hypereutactic/altafterattack(atom/target, mob/living/user, proximity_flag, click_parameters) //does right click memes
|
|
|
|
|
if(istype(user))
|
|
|
|
|
user.visible_message("<span class='notice'>[user] points the tip of [src] at [target].</span>", "<span class='notice'>You point the tip of [src] at [target].</span>")
|
|
|
|
|
return TRUE
|
|
|
|
|
|
|
|
|
|
/obj/item/twohanded/dualsaber/hypereutactic/update_icon()
|
|
|
|
|
var/mutable_appearance/blade_overlay = mutable_appearance(icon, "hypereutactic_blade")
|
|
|
|
|
var/mutable_appearance/gem_overlay = mutable_appearance(icon, "hypereutactic_gem")
|
|
|
|
@@ -605,6 +602,8 @@
|
|
|
|
|
/obj/item/twohanded/spear/Initialize()
|
|
|
|
|
. = ..()
|
|
|
|
|
AddComponent(/datum/component/butchering, 100, 70) //decent in a pinch, but pretty bad.
|
|
|
|
|
AddComponent(/datum/component/josuting)
|
|
|
|
|
AddElement(/datum/element/sword_point)
|
|
|
|
|
|
|
|
|
|
/obj/item/twohanded/spear/attack_self(mob/user)
|
|
|
|
|
if(explosive)
|
|
|
|
@@ -630,10 +629,6 @@
|
|
|
|
|
return BRUTELOSS
|
|
|
|
|
return BRUTELOSS
|
|
|
|
|
|
|
|
|
|
/obj/item/twohanded/spear/Initialize()
|
|
|
|
|
. = ..()
|
|
|
|
|
AddComponent(/datum/component/jousting)
|
|
|
|
|
|
|
|
|
|
/obj/item/twohanded/spear/examine(mob/user)
|
|
|
|
|
. = ..()
|
|
|
|
|
if(explosive)
|
|
|
|
@@ -820,6 +815,9 @@
|
|
|
|
|
armor = list("melee" = 0, "bullet" = 0, "laser" = 0, "energy" = 0, "bomb" = 0, "bio" = 0, "rad" = 0, "fire" = 100, "acid" = 30)
|
|
|
|
|
resistance_flags = FIRE_PROOF
|
|
|
|
|
|
|
|
|
|
/obj/item/twohanded/pitchfork/Initialize(mapload)
|
|
|
|
|
AddElement(/datum/element/sword_point)
|
|
|
|
|
|
|
|
|
|
/obj/item/twohanded/pitchfork/demonic
|
|
|
|
|
name = "demonic pitchfork"
|
|
|
|
|
desc = "A red pitchfork, it looks like the work of the devil."
|
|
|
|
@@ -903,6 +901,7 @@
|
|
|
|
|
/obj/item/twohanded/vibro_weapon/Initialize()
|
|
|
|
|
. = ..()
|
|
|
|
|
AddComponent(/datum/component/butchering, 20, 105)
|
|
|
|
|
AddElement(/datum/element/sword_point)
|
|
|
|
|
|
|
|
|
|
/obj/item/twohanded/vibro_weapon/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(wielded)
|
|
|
|
|