mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Offhand backup plan (#22679)
* no longer asks the offhand to neatly unwield should fix the issues?? * re-callbacks the sky bulge * revert the qdel
This commit is contained in:
@@ -132,6 +132,12 @@
|
||||
wielded = FALSE
|
||||
qdel(src)
|
||||
|
||||
/obj/item/weapon/twohanded/offhand/attack_self(mob/living/carbon/user) //You should never be able to do this in standard use of two handed items. This is a backup for lingering offhands.
|
||||
var/obj/item/weapon/twohanded/O = user.get_inactive_held_item()
|
||||
if (istype(O) && !istype(O, /obj/item/weapon/twohanded/offhand/)) //If you have a proper item in your other hand that the offhand is for, do nothing. This should never happen.
|
||||
return
|
||||
qdel(src) //If it's another offhand, or literally anything else, qdel. If I knew how to add logging messages I'd put one here.
|
||||
|
||||
///////////Two hand required objects///////////////
|
||||
//This is for objects that require two hands to even pick up
|
||||
/obj/item/weapon/twohanded/required
|
||||
|
||||
Reference in New Issue
Block a user