Color variant for character

This commit is contained in:
Anuken
2025-07-18 18:23:00 -04:00
parent 7ed243a808
commit 2e41e58b59
5 changed files with 8 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 B

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 173 B

View File

@@ -615,3 +615,4 @@
63067=crux-floor-11|block-crux-floor-11-ui
63066=crux-floor-12|block-crux-floor-12-ui
63065=character-overlay|block-character-overlay-ui
63064=character-overlay-white|block-character-overlay-white-ui

View File

@@ -68,7 +68,8 @@ public class Blocks{
//colored
coloredFloor, coloredWall,
characterOverlay,
characterOverlayGray,
characterOverlayWhite,
pebbles, tendrils,
@@ -913,10 +914,14 @@ public class Blocks{
autotile = true;
}};
characterOverlay = new CharacterOverlay("character-overlay"){{
characterOverlayGray = new CharacterOverlay("character-overlay"){{
color = Pal.metalGrayDark;
}};
characterOverlayWhite = new CharacterOverlay("character-overlay-white"){{
color = Color.white;
}};
Seq.with(metalFloor, metalFloorDamaged, metalFloor2, metalFloor3, metalFloor4, metalFloor5, darkPanel1, darkPanel2, darkPanel3, darkPanel4, darkPanel5, darkPanel6)
.each(b -> b.asFloor().wall = darkMetal);