Skyrat-tg
Skyrat-tg copied to clipboard
Near complete refactor and rework of how forge crafting benches work
About The Pull Request
Refactors forging workbenches to work off a list of datums given to it, rather than a hardcoded list of recipes and ingredients.
The bench now checks its immediate surroundings for ingredients, rather than using a forced set of ingredients within the hardcoded forge list, so (aside from weapons) you craft items by just having the ingredients next to the bench itself.
The menu was also improved, now being a radial menu. There are also much easier to read from descriptions for each recipe.
How This Contributes To The Skyrat Roleplay Experience
Significantly improves the crafting bench's code, making it nicer and easier to use, and making it easier to use having never interacted with the forging system before with some improved descriptions.
Proof of Testing
Changelog
:cl: qol: Crafting benches now take their resources from the tiles surrounding, rather than having to put them into the bench. qol: The crafting bench UI is now a radial menu, and there are now several improved examines for see what ingredients or steps a recipe needs. fix: All of the materials of the components for crafting things (forged components that is, not using wood) will be added to the weapon, rather than just the materials of the last item used, which means no more material deletion. refactor: Crafting bench code has been changed to use datums rather than a hardcoded list of recipes /:cl:
the icebox commits are because I accidentally started this on a merge mirror branch locally, I made sure this didn't actually edit icebox in any way
Gonna blame this on Zonespace if anything wrong happens :)