democratizedspace / democratizedspace/dspace
have a way to lock a machine (e.g. 3d printer) to one item at a time
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 4
- Forks
- 2
- Avg merge
- 5h 34m
- Merged PRs (30d)
- 4
Description
Currently, the workaround that's used is that the printer is "consumed" when the process starts and "created" again when the process is completed. This is clunky, though.
Alternatively, in addition to requiresItems, we should add a locksItems property. Inclusion of an item in the locksItems property (still expressed in terms of id and count) creates a lock in gameState for that item, effectively removing it from being usable elsewhere.
Contributor guide
Assessment
This issue has not been assessed yet.