]> git.smokeofanarchy.ru Git - space-station-14.git/commit
The Flatpacker 1001 can now make flatpacks for computers. (#23471)
authorSpeltIncorrectyl <66873282+SpeltIncorrectyl@users.noreply.github.com>
Thu, 4 Jan 2024 04:23:47 +0000 (04:23 +0000)
committerGitHub <noreply@github.com>
Thu, 4 Jan 2024 04:23:47 +0000 (23:23 -0500)
commit082bde40ca3fd39fff5daea26de4311cf2001f85
tree929c72464ad4e241d26e7d7457c7988f345df9af
parentf533a1a543af7784f7f9788073a6aae404761022
The Flatpacker 1001 can now make flatpacks for computers. (#23471)

* moved ComputerBoardComponent to Content.Shared

* made flatpacker accept computer boards

* made flatpack system and ui function with computer boards

* fixed it so that flatpacks of computers are correctly coloured to fit their computer board colour

* unhardcoded the computer flatpack assembly cost

* Combined GetFlatpackCreationCost(...) with GetflatpackCreationCostForComputer(...)

* removed code duplication in SharedFlatpackSystem

* removed code duplication from FlatpackCreatorMenu.xaml.cs

* remove code duplication from FlatpackSystem (on the server)

* fixed indentation error
Content.Client/Construction/UI/FlatpackCreatorMenu.xaml.cs
Content.Server/Construction/FlatpackSystem.cs
Content.Shared/Construction/Components/ComputerBoardComponent.cs [moved from Content.Server/Construction/Components/ComputerBoardComponent.cs with 90% similarity]
Content.Shared/Construction/Components/FlatpackCreatorComponent.cs
Content.Shared/Construction/SharedFlatpackSystem.cs
Resources/Prototypes/Entities/Objects/Devices/flatpack.yml
Resources/Prototypes/Entities/Structures/Machines/flatpacker.yml