From fb29be30fa24e4e57735fc32a2f2880cc9afa477 Mon Sep 17 00:00:00 2001 From: Anuken Date: Mon, 28 Sep 2026 13:47:39 -0400 Subject: [PATCH] Fixed status effect icons --- .../sprites/statuses/status-melting.png | Bin 304 -> 233 bytes core/assets/icons/icons.properties | 46 +++++++++--------- core/src/mindustry/type/StatusEffect.java | 7 ++- 3 files changed, 29 insertions(+), 24 deletions(-) diff --git a/core/assets-raw/sprites/statuses/status-melting.png b/core/assets-raw/sprites/statuses/status-melting.png index e3b4e54b54c729d30178c3f911b3d2a0e46b70ad..579bc741a443ec172e1fbfa91d3e0c281eeb04dc 100644 GIT binary patch delta 205 zcmV;;05bou0_g#eB!93;L_t(oh3(eS3V<*O1<;KC|CjAG$hoUt8H;?1VDsSCB~jI5 zWt~gAe+5uFL)HY+2<8!_5bQe;Mr?Np>7fw;v?LY^Xp2h(;59G9DwmKll`MdEBpHC$ zT%tH;4#?vfMz8>4yn_%7fYlsEY!}6|(#b?x0nc&6h|V7p2u3jjAUC;`3mzbwcGkM# zUL!y?YGH&0VC6i7umGXYD2RCNJvss=!rk+VE@0R4DE{jP%s3+`tWZNF00000NkvXX Hu0mjfA-Pt3 delta 277 zcmV+w0qXwg0k8s)B!BlwL_t(o3GI~O4#FS|gq`vIUm5LU7beG1%9$lb{@_}A_w6Lx zN-4K1*ZoR!^Zo<;L;_2aAVsD$QG4JH5&B9}o8=`=NzK affinities = new ObjectSet<>(), opposites = new ObjectSet<>(); /** Set to false to disable outline generation. */ public boolean outline = true; + /** Padding applied when outline is generated. */ + public int outlinePadding = 0; + /** Color of generated outline. */ + public Color outlineColor = Pal.gray; /** True to tint the sprite by the color. Always applied in vanilla. */ public boolean applyTint = false; /** Transition handler map. */ @@ -250,7 +254,8 @@ public class StatusEffect extends UnlockableContent{ } if(outline){ - makeOutline(packer, uiIcon, false, Pal.gray, 3); + //vanilla needs extra padding and I don't want to fix every sprite or set every outline padding value + makeOutline(packer, uiIcon, false, outlineColor, 3, isVanilla() ? 2 : outlinePadding); } }