mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 05:27:39 +01:00
A more elegant weapon from a more civlised age
adds what is effectively a rebalanced sword. instead of being in sword family it's in two handed, and allows some tricks. Like most two handed weapons it gains a damage boost if wield. At 0.3 sharpness it will be as powerful as machete of similar material. Minus the cleave effect. If held with something in your other hand it does 0.1 sharpness, a third of the machete. Also the parry ability ONLY works if wielded. So you can't use it with a shield or a second parry item. You can't even parry if you have a gun or pen in the other hand. so pros can parry cons needs an empty hand to parry if used one handed is 1/3 as powerful as stock gear starts out as steel and needs mats to upgrade
This commit is contained in:
@@ -7,3 +7,30 @@
|
||||
slot_r_hand_str = 'icons/vore/custom_items_right_hand_vr.dmi',
|
||||
)
|
||||
desc = "An infernum made riding crop with Malady Blanche engraved in the shaft. It's a little worn from how many butts it has spanked."
|
||||
|
||||
/obj/item/weapon/material/twohanded/saber
|
||||
w_class = ITEMSIZE_NORMAL
|
||||
name = "saber"
|
||||
desc = "a more elegant weapon from a more civilised age"
|
||||
icon= 'icons/obj/weapons_vr.dmi'
|
||||
icon_state = "saber"
|
||||
base_icon = "saber"
|
||||
item_icons = list(
|
||||
slot_l_hand_str = 'icons/mob/items/lefthand_melee_vr.dmi',
|
||||
slot_r_hand_str = 'icons/mob/items/righthand_melee_vr.dmi',
|
||||
)
|
||||
item_state = "saber"
|
||||
unwielded_force_divisor = 0.1
|
||||
force_divisor = 0.3
|
||||
attack_verb = list("attacked", "slashed", "stabbed", "sliced", "torn", "ripped", "diced", "cut")
|
||||
edge = TRUE
|
||||
sharp = TRUE
|
||||
|
||||
|
||||
/obj/item/weapon/material/twohanded/saber/handle_shield(mob/user, var/damage, atom/damage_source = null, mob/attacker = null, var/def_zone = null, var/attack_text = "the attack")
|
||||
if (src.wielded == 1)
|
||||
if(unique_parry_check(user, attacker, damage_source) && prob(50))
|
||||
user.visible_message("<span class='danger'>\The [user] parries [attack_text] with \the [src]!</span>")
|
||||
playsound(src, 'sound/weapons/punchmiss.ogg', 50, 1)
|
||||
return 1
|
||||
return 0
|
||||
Reference in New Issue
Block a user