CtrlShiftClick for stack

This commit is contained in:
variableundefined
2018-10-13 23:04:50 +08:00
parent 4643db4690
commit b097b06b72
+2 -2
View File
@@ -54,7 +54,7 @@
to_chat(user, "There are [amount] [singular_name]\s in the stack.")
else
to_chat(user, "There are [amount] [name]\s in the stack.")
to_chat(user,"<span class='notice'>Alt-click to take a custom amount.</span>")
to_chat(user,"<span class='notice'>Ctrl-Shift-click to take a custom amount.</span>")
/obj/item/stack/proc/add(newamount)
amount += newamount
@@ -269,7 +269,7 @@
else
..()
/obj/item/stack/AltClick(mob/living/user)
/obj/item/stack/CtrlShiftClick(mob/living/user)
if(!istype(user) || user.incapacitated())
to_chat(user, "<span class='warning'>You can't do that right now!</span>")
return