From 79bda46b491a533ef3396a8497f73c5fffc682de Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sun, 22 Nov 2020 19:21:41 +0100 Subject: [PATCH] [MIRROR] You may now correctly harvest replica pod seeds when the hydroponics tray has no power. (#1770) * Typo fix and bug fix (#55075) Replica pods were calling CanUse as opposed to canUseTopic when harvesting seeds, and since CanUse hinges on the machinery being usable and powered, it was preventing the harvesting of replica pods when depowered as expected. The only thing that should be needed for harvesting trays should pretty exclusively be the standard level of adjacency. also corrects a line of spelling. Fixes a bug, corrects some grammar. Makes the world a better place. * You may now correctly harvest replica pod seeds when the hydroponics tray has no power. Co-authored-by: ArcaneMusic <41715314+ArcaneMusic@users.noreply.github.com> --- code/modules/hydroponics/grown/replicapod.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/modules/hydroponics/grown/replicapod.dm b/code/modules/hydroponics/grown/replicapod.dm index 66248a19281..189ef7a2e71 100644 --- a/code/modules/hydroponics/grown/replicapod.dm +++ b/code/modules/hydroponics/grown/replicapod.dm @@ -111,8 +111,8 @@ return result // Make sure they can still interact with the parent hydroponics tray. - if(!parent.can_interact(user)) - to_chat(user, text = "You are no longer able to harvets the seeds from [parent]!", type = MESSAGE_TYPE_INFO) + if(!user.canUseTopic(parent, BE_CLOSE)) + to_chat(user, text = "You are no longer able to harvest the seeds from [parent]!", type = MESSAGE_TYPE_INFO) return result var/seed_count = 1