From 39006dd210cd0ab43ca549bcbbde176da489ca34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Delpierre?= Date: Sun, 12 Oct 2025 21:10:42 +0200 Subject: [PATCH] Fix palette warnings by removing palette from base nodes --- nodes.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nodes.lua b/nodes.lua index 5d474a2..ce31fd8 100644 --- a/nodes.lua +++ b/nodes.lua @@ -531,9 +531,10 @@ for name, def in pairs(nodes) do } if def.colorable and has_unifieddyes_mod then - -- overwrite attributes on the "uncolored" node - node_def.palette = "unifieddyes_palette_extended.png" + -- Add ud_param2_colorable group to base node to indicate it can be colored node_def.groups.ud_param2_colorable = 1 + -- But don't add palette to base node to avoid paramtype2 mismatch warnings + -- The palette will be added only to the "_colored" variant node_def.airbrush_replacement_node = "scifi_nodes:"..name.."_colored" end