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
This commit is contained in:
@@ -26,6 +26,13 @@
|
||||
security: "#DE3A3A"
|
||||
science: "#D381C9"
|
||||
supply: "#A46106"
|
||||
cpu_command: "#334E6D"
|
||||
cpu_medical: "#52B4E9"
|
||||
cpu_service: "#9FED58"
|
||||
cpu_engineering: "#EFB341"
|
||||
cpu_security: "#DE3A3A"
|
||||
cpu_science: "#D381C9"
|
||||
cpu_supply: "#A46106"
|
||||
- type: StaticPrice
|
||||
price: 500
|
||||
- type: Tag
|
||||
|
||||
@@ -31,9 +31,13 @@
|
||||
True: { visible: true }
|
||||
False: { visible: false }
|
||||
- type: FlatpackCreator
|
||||
baseMaterialCost:
|
||||
baseMachineCost:
|
||||
Steel: 600
|
||||
Plastic: 200
|
||||
baseComputerCost:
|
||||
Steel: 600
|
||||
Plastic: 200
|
||||
Glass: 200
|
||||
- type: Machine
|
||||
board: FlatpackerMachineCircuitboard
|
||||
- type: MaterialStorage
|
||||
@@ -68,6 +72,7 @@
|
||||
whitelist:
|
||||
components:
|
||||
- MachineBoard
|
||||
- ComputerBoard
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
machine_board: !type:Container
|
||||
|
||||
Reference in New Issue
Block a user