{"action":"opened","issue":{"url":"https://api.github.com/repos/StrangeLoopGames/EcoSuggestions/issues/393","repository_url":"https://api.github.com/repos/StrangeLoopGames/EcoSuggestions","labels_url":"https://api.github.com/repos/StrangeLoopGames/EcoSuggestions/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/StrangeLoopGames/EcoSuggestions/issues/393/comments","events_url":"https://api.github.com/repos/StrangeLoopGames/EcoSuggestions/issues/393/events","html_url":"https://github.com/StrangeLoopGames/EcoSuggestions/issues/393","id":330451781,"node_id":"MDU6SXNzdWUzMzA0NTE3ODE=","number":393,"title":"Automation with \"Work Order Table\"","user":{"login":"goertzenator","id":605072,"node_id":"MDQ6VXNlcjYwNTA3Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/605072?v=4","gravatar_id":"","url":"https://api.github.com/users/goertzenator","html_url":"https://github.com/goertzenator","followers_url":"https://api.github.com/users/goertzenator/followers","following_url":"https://api.github.com/users/goertzenator/following{/other_user}","gists_url":"https://api.github.com/users/goertzenator/gists{/gist_id}","starred_url":"https://api.github.com/users/goertzenator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goertzenator/subscriptions","organizations_url":"https://api.github.com/users/goertzenator/orgs","repos_url":"https://api.github.com/users/goertzenator/repos","events_url":"https://api.github.com/users/goertzenator/events{/privacy}","received_events_url":"https://api.github.com/users/goertzenator/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-07T22:02:53Z","updated_at":"2018-06-07T22:02:53Z","closed_at":null,"author_association":"NONE","body":"## The Problem\r\n\r\nThe current mechanism for automated crafting is to issue a very large order with very few of the inputs actually available.  As inputs are delivered the crafting progresses.  This has a number of shortcomings:\r\n\r\n- If inputs are supplied by other players much faster than expected, storage can be filled up by outputs causing other parts of the building to get stuck.\r\n- If inputs are supplied by other players much faster than expected, cash can run out.\r\n- Can only effectively automate one product at a time, therefore this is only done for high volume commodities.\r\n\r\n## Proposal\r\n\r\nCreate a \"Work Order Table\" that enables an automation UI on nearby tables.  Each recipe line on the crafting table would show:\r\n\r\n- **Minimum Inventory** (default 0):  If connected inventory falls below this number, a craft order will automatically be issued.\r\n- **Batch Size** (default 1, minimum 1):  When an automatic craft order is issued, this is how many are crafted at a time.\r\n- **State**: Indicates the automation status of this recipe. idle, queued, insufficient materials, no power, full queue\r\n\r\n### Automated Craft Order Constraints\r\nAn automatic order will only be created if:\r\n- There is space in the table order queue.\r\n- All inputs for the given batch size are present.\r\n- The crafting table is powered.\r\n- There are no orders currently running for the user owning the Work Order Table.\r\n- There are no orders for the current recipe waiting for pickup or output to storage.\r\n\r\nAll constraints apply only to orders owned by the owner of the Work Order Table.\r\n\r\n### Tech Tree\r\nWork Order Tables should be one step beyond stores.  This keeps automation out of the way of beginning players learning the basics, yet keeps it available to advanced players relatively early in the game.\r\n\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"goertzenator"}}