mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 11:34:19 +01:00
Fixes one handed dswords (#15289)
* One handed deswords * Reverts unintended changes Got a bit confused, I need more coffee
This commit is contained in:
@@ -68,6 +68,9 @@
|
||||
if(user.get_inactive_hand())
|
||||
to_chat(user, "<span class='warning'>You need your other hand to be empty!</span>")
|
||||
return FALSE
|
||||
if(!user.has_both_hands())
|
||||
to_chat(user, "<span class='warning'>You need both hands to wield this!</span>")
|
||||
return FALSE
|
||||
wielded = TRUE
|
||||
force = force_wielded
|
||||
if(sharp_when_wielded)
|
||||
|
||||
@@ -66,6 +66,13 @@
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
/mob/proc/has_both_hands()
|
||||
return TRUE
|
||||
|
||||
/mob/living/carbon/human/has_both_hands()
|
||||
if(has_left_hand() && has_right_hand())
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
//Limb numbers
|
||||
/mob/proc/get_num_arms()
|
||||
|
||||
Reference in New Issue
Block a user