mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-23 08:31:57 +00:00
Allow AltClick to remove ID from wallets (#13229)
This commit is contained in:
@@ -90,6 +90,20 @@
|
||||
else
|
||||
return ..()
|
||||
|
||||
|
||||
/obj/item/storage/wallet/AltClick(mob/user)
|
||||
if (user != loc || user.incapacitated() || !ishuman(user))
|
||||
return ..()
|
||||
|
||||
var/obj/item/card/id/id = GetID()
|
||||
if (istype(id))
|
||||
remove_from_storage(id)
|
||||
user.put_in_hands(id)
|
||||
return
|
||||
|
||||
return ..()
|
||||
|
||||
|
||||
/obj/item/storage/wallet/random/fill()
|
||||
..()
|
||||
var/item1_type = pick( \
|
||||
|
||||
Reference in New Issue
Block a user