diff --git a/code/game/objects/effects/decals/turfdecal/tilecoloring.dm b/code/game/objects/effects/decals/turfdecal/tilecoloring.dm index 7b5b4d9b4e..ff9b8bc4b8 100644 --- a/code/game/objects/effects/decals/turfdecal/tilecoloring.dm +++ b/code/game/objects/effects/decals/turfdecal/tilecoloring.dm @@ -4,6 +4,25 @@ layer = TURF_PLATING_DECAL_LAYER alpha = 110 +#define LGBT_ALPHA 60 + +/obj/effect/turf_decal/tile/Initialize() + if(SSevents.holidays) + if (SSevents.holidays[APRIL_FOOLS]) + color = "#[random_short_color()]" + else + for(var/H in SSevents.holidays) + if(istype(H,/datum/holiday/lgbt)) + var/datum/holiday/lgbt/L = H + color = L.get_floor_tile_color(src) + + // It looks garish at different alphas, and it's not possible to get a + // consistent color palette without this. + alpha = LGBT_ALPHA + return ..() + +#undef LGBT_ALPHA + /obj/effect/turf_decal/tile/blue name = "blue corner" color = "#52B4E9"