[MIRROR] Moves quick equip hotkey up to /mob (#6229)
* Moves quick equip hotkey up to /mob * Merge pull request #36869 from RandomMarine/e Moves quick equip hotkey up to /mob
This commit is contained in:
committed by
Poojawa
parent
a9c91b4d00
commit
dc7585fabf
@@ -30,7 +30,7 @@
|
||||
return
|
||||
stored.attack_hand(src) // take out thing from belt
|
||||
return
|
||||
|
||||
|
||||
if("B") // Put held thing in backpack or take out most recent thing from backpack
|
||||
var/obj/item/thing = get_active_held_item()
|
||||
var/obj/item/storage/equipped_backpack = get_item_by_slot(slot_back)
|
||||
@@ -60,10 +60,4 @@
|
||||
return
|
||||
stored.attack_hand(src) // take out thing from backpack
|
||||
return
|
||||
|
||||
switch(_key)
|
||||
if("E")
|
||||
quick_equip()
|
||||
return
|
||||
|
||||
return ..()
|
||||
@@ -29,6 +29,9 @@
|
||||
else
|
||||
dropItemToGround(I)
|
||||
return
|
||||
if("E")
|
||||
quick_equip()
|
||||
return
|
||||
if("Alt")
|
||||
toggle_move_intent()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user