mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Fixed it
This commit is contained in:
@@ -147,6 +147,14 @@
|
||||
wield(user)
|
||||
..()
|
||||
|
||||
/obj/item/twohanded/required/on_give(mob/living/carbon/giver, mob/living/carbon/receiver)
|
||||
var/obj/item/twohanded/required/H = receiver.get_inactive_hand()
|
||||
if(H != null) //Check if he can wield it
|
||||
receiver.drop_item() //Can't wear it so drop it
|
||||
to_chat(receiver, "<span class='notice'>[src] is too cumbersome to carry in one hand!</span>")
|
||||
return
|
||||
equipped(receiver,receiver.hand ? slot_l_hand : slot_r_hand)
|
||||
|
||||
/obj/item/twohanded/required/equipped(mob/user, slot)
|
||||
..()
|
||||
if(slot == slot_l_hand || slot == slot_r_hand)
|
||||
@@ -438,7 +446,7 @@
|
||||
if(on)
|
||||
playsound(loc, 'sound/weapons/chainsawstart.ogg', 50, 1)
|
||||
force = on ? force_on : initial(force)
|
||||
throwforce = on ? force_on : initial(force)
|
||||
throwforce = on ? force_on : initial(throwforce)
|
||||
icon_state = "gchainsaw_[on ? "on" : "off"]"
|
||||
|
||||
if(hitsound == "swing_hit")
|
||||
@@ -453,6 +461,16 @@
|
||||
var/datum/action/A = X
|
||||
A.UpdateButtonIcon()
|
||||
|
||||
/obj/item/twohanded/required/chainsaw/attack_hand(mob/user)
|
||||
. = ..()
|
||||
force = on ? force_on : initial(force)
|
||||
throwforce = on ? force_on : initial(throwforce)
|
||||
|
||||
/obj/item/twohanded/required/chainsaw/on_give(mob/living/carbon/giver, mob/living/carbon/receiver)
|
||||
. = ..()
|
||||
force = on ? force_on : initial(force)
|
||||
throwforce = on ? force_on : initial(throwforce)
|
||||
|
||||
/obj/item/twohanded/required/chainsaw/doomslayer
|
||||
name = "OOOH BABY"
|
||||
desc = "<span class='warning'>VRRRRRRR!!!</span>"
|
||||
|
||||
Reference in New Issue
Block a user