Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions nodes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down