Update bags.dm (#29248)

This commit is contained in:
Osetrokarasek
2025-05-22 18:59:56 +00:00
committed by GitHub
parent 4b561ae1d5
commit 07230191d7
@@ -275,7 +275,7 @@
/obj/item/storage/bag/plants/portaseeder/examine(mob/user)
. = ..()
if(Adjacent(user))
. += "<span class='notice'>You can <b>Alt-Shift-Click</b> to convert the plants inside to seeds.</span>"
. += "<span class='notice'>You can <b>Ctrl-Shift-Click</b> to convert the plants inside to seeds.</span>"
/obj/item/storage/bag/plants/portaseeder/proc/process_plants(mob/user)
if(!length(contents))
@@ -291,7 +291,7 @@
to_chat(user, "<span class='warning'>[src] whirrs a bit but stops. Doesn't seem like it could convert anything inside.</span>")
playsound(user, "sound/machines/ding.ogg", 25)
/obj/item/storage/bag/plants/portaseeder/AltShiftClick(mob/user)
/obj/item/storage/bag/plants/portaseeder/CtrlShiftClick(mob/user)
if(Adjacent(user) && ishuman(user) && !user.incapacitated(FALSE, TRUE))
process_plants(user)
@@ -304,7 +304,7 @@
/obj/item/seeds,
/obj/item/unsorted_seeds)
/obj/item/storage/bag/plants/seed_sorting_tray/attack_self__legacy__attackchain(mob/user)
/obj/item/storage/bag/plants/seed_sorting_tray/CtrlShiftClick(mob/user)
var/depth = 0
for(var/obj/item/unsorted_seeds/unsorted in src)
if(!do_after(user, 1 SECONDS, TRUE, src, must_be_held = TRUE))
@@ -312,6 +312,11 @@
depth = min(8, depth + 1)
unsorted.sort(depth)
/obj/item/storage/bag/plants/seed_sorting_tray/examine(mob/user)
. = ..()
if(Adjacent(user))
. += "<span class='notice'>You can <b>Ctrl-Shift-Click</b> to sort seeds inside.</span>"
////////////////////////////////////////
// MARK: Cash bag
////////////////////////////////////////