diff --git a/Resources/Prototypes/Catalog/Research/technologies.yml b/Resources/Prototypes/Catalog/Research/technologies.yml index 632cdac6d0..3068ba47cc 100644 --- a/Resources/Prototypes/Catalog/Research/technologies.yml +++ b/Resources/Prototypes/Catalog/Research/technologies.yml @@ -265,6 +265,7 @@ - FirelockElectronics - DoorElectronics - APCElectronics + - SubstationMachineCircuitboard - HydroponicsTrayMachineCircuitboard - SolarControlComputerCircuitboard diff --git a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml index 6eb7fc6a6c..336da5e259 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml @@ -110,6 +110,19 @@ DefaultPrototype: Beaker ExamineName: Glass Beaker +- type: entity + id: SubstationMachineCircuitboard + parent: BaseMachineCircuitboard + name: Substation (Machine Board) + components: + - type: MachineBoard + prototype: BaseSubstation + requirements: + Capacitor: 3 + materialRequirements: + CableMV: 5 + CableHV: 5 + - type: entity id: KitchenReagentGrinderMachineCircuitboard #unsure why the reagent grinder has 'kitchen' in the id name when multiple departments use it but that's for another time parent: BaseMachineCircuitboard @@ -126,4 +139,3 @@ Amount: 1 DefaultPrototype: Beaker ExamineName: Glass Beaker - diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index 0fd76d3a64..68bfff8f56 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -176,6 +176,7 @@ - FirelockElectronics - DoorElectronics - APCElectronics + - SubstationMachineCircuitboard - AirAlarmElectronics - FireAlarmElectronics - CloningPodMachineCircuitboard diff --git a/Resources/Prototypes/Entities/Structures/Power/substation.yml b/Resources/Prototypes/Entities/Structures/Power/substation.yml index c84f7b0271..9efb25f9d1 100644 --- a/Resources/Prototypes/Entities/Structures/Power/substation.yml +++ b/Resources/Prototypes/Entities/Structures/Power/substation.yml @@ -7,7 +7,7 @@ placement: mode: SnapgridCenter components: - - type: Sprite + - type: Sprite # TODO: add sprite for maintenance panel open sprite: Structures/Power/substation.rsi layers: - state: substation @@ -42,6 +42,9 @@ maxChargeRate: 5000 supplyRampTolerance: 5000 supplyRampRate: 1000 + - type: Construction + graph: machine + node: machine - type: Destructible thresholds: - trigger: @@ -63,4 +66,9 @@ devastationRange: 1 heavyImpactRange: 3 lightImpactRange: 5 - flashRange: 6 \ No newline at end of file + flashRange: 6 + - type: Wires + BoardName: "Substation" + LayoutId: Substation + - type: Machine + board: SubstationMachineCircuitboard diff --git a/Resources/Prototypes/Recipes/Lathes/electronics.yml b/Resources/Prototypes/Recipes/Lathes/electronics.yml index 0f3b33964a..93b6fdf33a 100644 --- a/Resources/Prototypes/Recipes/Lathes/electronics.yml +++ b/Resources/Prototypes/Recipes/Lathes/electronics.yml @@ -43,6 +43,15 @@ Steel: 50 Glass: 50 +- type: latheRecipe + id: SubstationMachineCircuitboard + icon: Objects/Misc/module.rsi/id_mod.png + result: SubstationMachineCircuitboard + completetime: 1000 + materials: + Steel: 100 + Glass: 100 + - type: latheRecipe id: CloningPodMachineCircuitboard icon: Objects/Misc/module.rsi/id_mod.png