Skip to content

Commit

Permalink
Old alt+rightclick (take left object from storage) (#783)
Browse files Browse the repository at this point in the history
* left

* Update storage.dm

Signed-off-by: Helg2 <[email protected]>

* Update storage.dm

Signed-off-by: Helg2 <[email protected]>

---------

Signed-off-by: Helg2 <[email protected]>
Co-authored-by: Helg2 <[email protected]>
  • Loading branch information
MalorMorfin and Helg2 authored Dec 8, 2024
1 parent 6d35e84 commit 1125356
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/game/objects/items/storage/storage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,9 @@
if(Adjacent(user) && !isxeno(user))
open(user)

/obj/item/storage/CtrlShiftClick(mob/living/user) // Take left object in inventory
attempt_draw_object(user, TRUE)

///Refills the storage from the refill_types item
/obj/item/storage/proc/do_refill(obj/item/storage/refiller, mob/user)
if(!length(refiller.contents))
Expand Down

0 comments on commit 1125356

Please sign in to comment.