democratizedspace / democratizedspace/dspace

have a way to lock a machine (e.g. 3d printer) to one item at a time

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.