diff --git a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml index 5b35979f953..562bd169a1f 100644 --- a/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml +++ b/Resources/Prototypes/Entities/Objects/Devices/Circuitboards/Machine/production.yml @@ -668,6 +668,25 @@ amount: 4 defaultPrototype: PowerCellSmall +- type: entity + id: SMESAdvancedMachineCircuitboard + parent: BaseMachineCircuitboard + name: advanced SMES machine board + description: A machine printed circuit board for an Advanced SMES. + components: + - type: Sprite + sprite: Objects/Misc/module.rsi + state: power_mod + - type: MachineBoard + prototype: SMESAdvancedEmpty + stackRequirements: + Capacitor: 2 + CableHV: 20 + componentRequirements: + PowerCell: + amount: 4 + defaultPrototype: PowerCellMedium + - type: entity id: CellRechargerCircuitboard parent: BaseMachineCircuitboard diff --git a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml index 4a045c83736..7da3b50d292 100644 --- a/Resources/Prototypes/Entities/Structures/Machines/lathe.yml +++ b/Resources/Prototypes/Entities/Structures/Machines/lathe.yml @@ -577,16 +577,17 @@ - MassMediaCircuitboard - ReagentGrinderIndustrialMachineCircuitboard - JukeboxCircuitBoard - # Begin Nyano additions + - SMESAdvancedMachineCircuitboard + # Begin Nyano additions - ReverseEngineeringMachineCircuitboard - CrewMonitoringComputerCircuitboard - MetempsychoticMachineCircuitboard - # End Nyano additions - # Begin DeltaV additions + # End Nyano additions + # Begin DeltaV additions - SalvageExpeditionsComputerCircuitboard - ComputerMassMediaCircuitboard - AlertsComputerCircuitboard - # End DeltaV additions + # End DeltaV additions - type: EmagLatheRecipes emagDynamicRecipes: - ShuttleGunDusterCircuitboard diff --git a/Resources/Prototypes/Entities/Structures/Power/smes.yml b/Resources/Prototypes/Entities/Structures/Power/smes.yml index a3882cbdee6..033d5a37c1b 100644 --- a/Resources/Prototypes/Entities/Structures/Power/smes.yml +++ b/Resources/Prototypes/Entities/Structures/Power/smes.yml @@ -111,3 +111,48 @@ components: - type: Battery startingCharge: 0 + +- type: entity + parent: BaseSMES + id: SMESAdvanced + suffix: Advanced, 16MJ + name: advanced SMES + description: An even-higher-capacity superconducting magnetic energy storage (SMES) unit. + components: + - type: Sprite + sprite: Structures/Power/smes.rsi + snapCardinals: true + layers: + - state: advancedsmes + - map: [ "enum.SmesVisualLayers.Charge" ] + state: "smes-og1" # -og0 does not exist + shader: unshaded + visible: false + - map: [ "enum.SmesVisualLayers.Input" ] + state: "smes-oc0" + shader: unshaded + - map: [ "enum.SmesVisualLayers.Output" ] + state: "smes-op1" + shader: unshaded + - map: ["enum.WiresVisualLayers.MaintenancePanel"] + state: advancedsmes-open + - type: Machine + board: SMESAdvancedMachineCircuitboard + - type: Battery + maxCharge: 16000000 + startingCharge: 16000000 + - type: PowerMonitoringDevice + group: SMES + sourceNode: input + loadNode: output + collectionName: smes + sprite: Structures/Power/smes.rsi + state: advancedsmes-static + +- type: entity + parent: SMESAdvanced + id: SMESAdvancedEmpty + suffix: Empty + components: + - type: Battery + startingCharge: 0 diff --git a/Resources/Prototypes/Recipes/Lathes/electronics.yml b/Resources/Prototypes/Recipes/Lathes/electronics.yml index 99ff9f25eef..af74e7f3c79 100644 --- a/Resources/Prototypes/Recipes/Lathes/electronics.yml +++ b/Resources/Prototypes/Recipes/Lathes/electronics.yml @@ -399,6 +399,11 @@ id: SMESMachineCircuitboard result: SMESMachineCircuitboard +- type: latheRecipe + parent: BaseGoldCircuitboardRecipe + id: SMESAdvancedMachineCircuitboard + result: SMESAdvancedMachineCircuitboard + - type: latheRecipe parent: BaseCircuitboardRecipe id: PortableGeneratorPacmanMachineCircuitboard diff --git a/Resources/Prototypes/Research/industrial.yml b/Resources/Prototypes/Research/industrial.yml index dedc0f60e8a..38cd1b0b958 100644 --- a/Resources/Prototypes/Research/industrial.yml +++ b/Resources/Prototypes/Research/industrial.yml @@ -42,6 +42,7 @@ recipeUnlocks: - PowerCellHigh - TurboItemRechargerCircuitboard + - SMESAdvancedMachineCircuitboard - type: technology id: MechanicalCompression diff --git a/Resources/Textures/Structures/Power/smes.rsi/advancedsmes-open.png b/Resources/Textures/Structures/Power/smes.rsi/advancedsmes-open.png new file mode 100644 index 00000000000..c45b4246008 Binary files /dev/null and b/Resources/Textures/Structures/Power/smes.rsi/advancedsmes-open.png differ diff --git a/Resources/Textures/Structures/Power/smes.rsi/advancedsmes-static.png b/Resources/Textures/Structures/Power/smes.rsi/advancedsmes-static.png new file mode 100644 index 00000000000..7611f14c2c6 Binary files /dev/null and b/Resources/Textures/Structures/Power/smes.rsi/advancedsmes-static.png differ diff --git a/Resources/Textures/Structures/Power/smes.rsi/advancedsmes.png b/Resources/Textures/Structures/Power/smes.rsi/advancedsmes.png new file mode 100644 index 00000000000..a900d8338f6 Binary files /dev/null and b/Resources/Textures/Structures/Power/smes.rsi/advancedsmes.png differ diff --git a/Resources/Textures/Structures/Power/smes.rsi/meta.json b/Resources/Textures/Structures/Power/smes.rsi/meta.json index 2ca8d1fb226..04646fddb91 100644 --- a/Resources/Textures/Structures/Power/smes.rsi/meta.json +++ b/Resources/Textures/Structures/Power/smes.rsi/meta.json @@ -1,16 +1,25 @@ { "version": 1, "license": "CC-BY-SA-3.0", - "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/9c7d509354ee030300f63c701da63c17928c3b3b and modified by Swept", + "copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/9c7d509354ee030300f63c701da63c17928c3b3b and modified by Swept, advanced-smes, advanced-smes-static, advanced-smes-open modified from smes, smes-open, and static by august-sun (GitHub)", "size": { "x": 32, "y": 32 }, "states": [ + { + "name": "advancedsmes" + }, + { + "name": "advancedsmes-static" + }, + { + "name": "advancedsmes-open" + }, { "name": "smes" }, - { + { "name": "static" }, {