Grab Stuff (#12731)

Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com>
This commit is contained in:
Geeves
2021-12-19 22:10:40 +01:00
committed by GitHub
co-authored by Werner
parent aec7d4748f
commit 2003515939
13 changed files with 86 additions and 121 deletions
+3
View File
@@ -957,3 +957,6 @@ modules/mob/living/carbon/human/life.dm if you die, you will be zoomed out.
/obj/item/proc/should_equip() // when you press E with an empty hand, will this item be pulled from suit storage / back slot and put into your hand
return FALSE
/obj/item/proc/can_swap_hands(var/mob/user)
return TRUE
@@ -76,6 +76,11 @@
return ..()
/obj/item/material/twohanded/can_swap_hands(mob/user)
if(wielded)
return FALSE
return ..()
/obj/item/material/twohanded/dropped(mob/user as mob)
//handles unwielding a twohanded weapon when dropped as well as clearing up the offhand
if(user)