-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MIRROR] Autolathe item and UI fix [MDB IGNORE] (#25184)
* Autolathe item and UI fix (#79847) ## About The Pull Request 1. Fixes #79828 The problem strictly applies to toolboxes or any items that can be printed from custom materials, that's now fixed. Another bonus fix is that it no longer greys out items like toolboxes just because they don't have fixed material requirements, it now computes the maximum amount of material present in the lathe and uses that to check how many toolboxes or any other similar type of item can be printed ![Screenshot (361)](https://github.com/tgstation/tgstation/assets/110812394/8a92f215-8e51-4e4b-8d90-5b6097b59dfe) 3. This also fixes another uncaught bug where the UI would not compute the new max number of printable items if glass/bluespace crystals were inserted. It would only update when iron was inserted which is weird but that's fixed now too. ## Changelog :cl: fix: autolathe does not diminish materials from custom material items like toolboxes when printing them in bulk. Also does not gray out that item in the UI fix: autloathe correctly updates UI after inserting items into it /:cl: * Autolathe item and UI fix --------- Co-authored-by: SyncIt21 <[email protected]>
- Loading branch information
1 parent
558abba
commit ba07719
Showing
2 changed files
with
58 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters