mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
[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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user