]> git.smokeofanarchy.ru Git - space-station-14.git/commit
reduce lathe recipe copy pasta (#31515)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Thu, 29 Aug 2024 19:36:29 +0000 (19:36 +0000)
committerGitHub <noreply@github.com>
Thu, 29 Aug 2024 19:36:29 +0000 (15:36 -0400)
commit3bdd2e3a872834b48595d33629046f4866016e31
tree8cd949b4fdaa564fa5dc0f4d8c433364a8854d51
parenta799d4a785e5bc5b1f33f6eb6197ba3efbb579fb
reduce lathe recipe copy pasta (#31515)

* add inheritance to lathe recipes and make result an override

* add GetResult method to lathe system

* make other parts of the code use GetResult

* clean up the stock parts yml

* remove unused apu boards from dynamic recipes

* make inverse dictionary public so test doesnt have to copy paste

* revert result override stuff

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Content.IntegrationTests/Tests/MaterialArbitrageTest.cs
Content.Shared/Lathe/SharedLatheSystem.cs
Content.Shared/Research/Prototypes/LatheRecipePrototype.cs
Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Resources/Prototypes/Recipes/Lathes/Parts.yml