From a16ce4b7a5270e24fbba63ab56d35ef7f3b3d2d6 Mon Sep 17 00:00:00 2001 From: Swept Date: Thu, 26 Nov 2020 13:06:54 +0000 Subject: [PATCH] Replaces the substation sprite. (#2621) * Sprite * ez --- .../Constructible/Power/power_base.yml | 9 +++- .../Power/substation.rsi/charging.png | Bin 0 -> 506 bytes .../Power/substation.rsi/dead.png | Bin 0 -> 508 bytes .../Power/substation.rsi/full.png | Bin 0 -> 508 bytes .../Power/substation.rsi/meta.json | 41 ++++++++++++++++++ .../Power/substation.rsi/screen.png | Bin 0 -> 301 bytes .../Power/substation.rsi/substation.png | Bin 0 -> 1673 bytes 7 files changed, 48 insertions(+), 2 deletions(-) create mode 100644 Resources/Textures/Constructible/Power/substation.rsi/charging.png create mode 100644 Resources/Textures/Constructible/Power/substation.rsi/dead.png create mode 100644 Resources/Textures/Constructible/Power/substation.rsi/full.png create mode 100644 Resources/Textures/Constructible/Power/substation.rsi/meta.json create mode 100644 Resources/Textures/Constructible/Power/substation.rsi/screen.png create mode 100644 Resources/Textures/Constructible/Power/substation.rsi/substation.png 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 0000000000000000000000000000000000000000..fdf01dbe8dec5cf300f415e708d342d62f806bb4 GIT binary patch literal 506 zcmVv4x670zpA6H5O@tNL29EY}P!4Y+QCXNU#-bECLpy zjjzIgpsir5AP9;eV&O0F)ks+HBtk@Vmf8DpX3k~i4EU1;!*rTrU>03Fm56I|^9x$b zGeN>M(MFeUIM(>oRFZ$k$1OfpZ=$N#|NH(N!R3r&fUi|}#IS5vcuY9C=30ukgu9Kr zzASto9I@qq!k0=<*ZE0tuFh|Y?U~dB_*G9W_k+_v*vQ+a@St#?StuFb=TSEaWs0-Y zQhQ|f;*cUi9E~(3Rw&>Sm0Fa{{`SRczDZWaW60m4j4h5FdGSU>ElJmm)U4f7hn`nGg1`fu7aRUn$!YXm^h!hP+lS5#IK60S z=^Z%Rgz&wk+j>n3$n0>;lILT wnb|exW0C*>004aAtUWWTZY=`f1poke*0u~3-6KusrT_o{07*qoM6N<$f-4i`^8f$< literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..ba6f81f1a1af4391ffa77925ce20f2cbd826c670 GIT binary patch literal 508 zcmVv4x670zpA6H5O@tNL29EY}P!4Y+QCXNU#-bECLpy zjjzIgpsir5AP9;eV&O0F)ks+HBtk@Vmf8DpX3k~i4EU1;!*rTrU>03Fm56I|^9x$b zGeN>M(MFeUIM(>oRFZ$k$1OfpZ=$N#|NH(N!R3r&fUi|}#IS5vcuY9C=30ukgu9Kr zzASto9I@qq!k0=<*ZE0tuFh|Y?U~dB_*G9W_k+_v*vQ+a@St#?StuFb=TSEaWs0-Y zQhQ|f;*cUi9E~(3Rw&>Sm0Fa{{`SRczDZWaW60m4j4h5FdGSU>ElJmm)U4f7hn`nGg1`fu7aRUn$!YXm^h!hP+lS5#IK60S z=^Z%Rgz&wk+j>n3$nVVyN(6 y;jzr@n)5M900000K5=%|m{qqH0q_C<06c47J`oxHA>ac50000v4x670zpA6H5O@tNL29EY}P!4Y+QCXNU#-bECLpy zjjzIgpsir5AP9;eV&O0F)ks+HBtk@Vmf8DpX3k~i4EU1;!*rTrU>03Fm56I|^9x$b zGeN>M(MFeUIM(>oRFZ$k$1OfpZ=$N#|NH(N!R3r&fUi|}#IS5vcuY9C=30ukgu9Kr zzASto9I@qq!k0=<*ZE0tuFh|Y?U~dB_*G9W_k+_v*vQ+a@St#?StuFb=TSEaWs0-Y zQhQ|f;*cUi9E~(3Rw&>Sm0Fa{{`SRczDZWaW60m4j4h5FdGSU>ElJmm)U4f7hn`nGg1`fu7aRUn$!YXm^h!hP+lS5#IK60S z=^Z%Rgz&wk+j>n3$n>X~ literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..c28bcbcedae21bd23a78b48befe8d6ab1b651dc1 GIT binary patch literal 301 zcmeAS@N?(olHy`uVBq!ia0vp^2Y^_CgAGW!%qVXKQeQk>978JRyuEJd$K)u|@US%^ zLg2*~r6bi31D70F{9-T1#zTHdiR^)mFU~MY8-14Ar>{6W_RzmQoZd#fK+j{nE~%d!Te(BG@c!wSugf>-O?tgOR;EXN?eqJ`zwDLb z>ka&W-*DIcZG3`%_kUjYT=DPR64^!1{jV={+y9mEhIjJ({L}NpryMN!WBucu#9jaE zimUd|H@D?~E&p?(>-qWXoO}PBWLNl|bnw5!uU}h#|8#rwblq*WoL#Fnb5`xWe%=24 u$Gw--Dn5oj+Bg03b#{<5;o!l7%vrion(4(1?|V;zL_J;oT-G@yGywo)(TX|% literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..45524ad8b114aa6fe8a560c23b30485012ad4d36 GIT binary patch literal 1673 zcmV;426p+0P)v4x670zpA6H5O@tNL29EY}P!4Y+QCXNU#-bECLpy zjjzIgpsir5AP9;eV&O0F)ks+HBtk@Vmf8DpX3k~i4EU1;!*rTrU>03Fm56I|^9x$b zGeN>M(MFeUIM(>oRFZ$k$1OfpZ=$N#|NH(N!R3r&fUi|}#IS5vcuY9C=30ukgu9Kr zzASto9I@qq!k0=<*ZE0tuFh|Y?U~dB_*G9W_k+_v*vQ+a@St#?StuFb=TSEaWs0-Y zQhQ|f;*cUi9E~(3Rw&>Sm0Fa{{`SRczDZWaW60m4j4h5FdGSU>ElJmm)U4f7hn`nGg1`fu7aRUn$!YXm^h!hP+lS5#IK60S z=^Z%Rgz&wk+j>n3$nnyctYOENOT_%Qd}JaO^#_5BPC>K6K@nvR6c zAp~-(Qu3o?5caU3E6_1f)svB-QYhGw zUWI}6nyc6EjHF%wXr3{gqx~4Ouml%^p$rT+H(lI*{VXtP{$yfe;zY{3x4SM(?I5Gj zQ!O*du0RCj&7BbQiB18$KLv8wv#FXp3>Yd%D72s+SG=p*s78imlNq||LHc07GU0I=Q_tf`s4JatiJ4g+j^-m=ZQ|?=;_4kz3ic@NmOcP9*X5q;QwI{voxf@6j!7kC)dCDe)dJ{1 z)Iix%L7jo&&C5^kzP={i;^m)aJX$apcQ1@oK&x7SU>10G`@!31FA#j@56mwaf&FxL zO%6$}f0*ij-}!Xo{VQM$Gq^Hb1`2B>f8!)aIN&4vtsxFVU~(bAjF1vSAo- zz=CrCL7rh1i288&!_^O;ka}aF6wruiP=CYB=}Q*^J5LNhzWw-!JMRNMoxC`taLjvSB zz7{Ao#v)xwNdZiPOuS6M7!}qPW)u`hlm+Nz04yM2Dd0W}Y7A>K7_LX2!Xh;VP^%gx zyBg%=buu3%sTZ@$10L6Ud6aaJJp4+=G;BY8i0L|T@#2^i(4??&AbyK<> Ta4dk200000NkvXXu0mjf!<8Yu literal 0 HcmV?d00001