diff --git a/Resources/Prototypes/Entities/Constructible/Power/power_base.yml b/Resources/Prototypes/Entities/Constructible/Power/power_base.yml index b5e285e2a2..04d65e1751 100644 --- a/Resources/Prototypes/Entities/Constructible/Power/power_base.yml +++ b/Resources/Prototypes/Entities/Constructible/Power/power_base.yml @@ -120,8 +120,13 @@ - type: SnapGrid offset: Center - type: Sprite - sprite: Constructible/Power/power.rsi - state: storage + sprite: Constructible/Power/substation.rsi + layers: + - state: substation + - state: screen + shader: unshaded + - state: full + shader: unshaded - type: Battery maxCharge: 1000 startingCharge: 1000 diff --git a/Resources/Textures/Constructible/Power/substation.rsi/charging.png b/Resources/Textures/Constructible/Power/substation.rsi/charging.png new file mode 100644 index 0000000000..fdf01dbe8d Binary files /dev/null and b/Resources/Textures/Constructible/Power/substation.rsi/charging.png differ diff --git a/Resources/Textures/Constructible/Power/substation.rsi/dead.png b/Resources/Textures/Constructible/Power/substation.rsi/dead.png new file mode 100644 index 0000000000..ba6f81f1a1 Binary files /dev/null and b/Resources/Textures/Constructible/Power/substation.rsi/dead.png differ diff --git a/Resources/Textures/Constructible/Power/substation.rsi/full.png b/Resources/Textures/Constructible/Power/substation.rsi/full.png new file mode 100644 index 0000000000..42a670ff23 Binary files /dev/null and b/Resources/Textures/Constructible/Power/substation.rsi/full.png differ diff --git a/Resources/Textures/Constructible/Power/substation.rsi/meta.json b/Resources/Textures/Constructible/Power/substation.rsi/meta.json new file mode 100644 index 0000000000..cffd68eec4 --- /dev/null +++ b/Resources/Textures/Constructible/Power/substation.rsi/meta.json @@ -0,0 +1,41 @@ +{ + "version": 1, + "license": "CC-BY-SA-3.0", + "copyright": "Taken from cev-eris at commit https://github.com/discordia-space/CEV-Eris/commit/b63634bc17efe2f09cf06ef0e9a90d24d37f6203", + "size": { + "x": 32, + "y": 32 + }, + "states": [ + { + "name": "substation", + "directions": 1 + }, + { + "name": "full", + "directions": 1 + }, + { + "name": "charging", + "directions": 1 + }, + { + "name": "dead", + "directions": 1 + }, + { + "name": "screen", + "directions": 1, + "delays": [ + [ + 0.15, + 0.15, + 0.15, + 0.15, + 0.15, + 0.15 + ] + ] + } + ] +} diff --git a/Resources/Textures/Constructible/Power/substation.rsi/screen.png b/Resources/Textures/Constructible/Power/substation.rsi/screen.png new file mode 100644 index 0000000000..c28bcbceda Binary files /dev/null and b/Resources/Textures/Constructible/Power/substation.rsi/screen.png differ diff --git a/Resources/Textures/Constructible/Power/substation.rsi/substation.png b/Resources/Textures/Constructible/Power/substation.rsi/substation.png new file mode 100644 index 0000000000..45524ad8b1 Binary files /dev/null and b/Resources/Textures/Constructible/Power/substation.rsi/substation.png differ