Open VanessaE opened 6 years ago
cut nodes cannot reflect the original node's color value when using paramtype2 = "color"
, because they must be rotatable/orient-able (paramtype2 = "facedir"
). there is a paramtype2 = "colorfacedir"
, but this only supports 8 colors.
there's a number of ways to resolve this:
paramtype2 = "color"
(my preferred solution, and what i'm going with in https://github.com/minetest-mods/moreblocks/pull/191)
Which is to say, if for example I put a node that's been colored red via the engine's "colored itemstacks" feature, assuming of course I've registered that node with the table saw, the cut objects produced by the saw all come out white.
If I had to guess, I'd say the saw is discarding the block's itemstack metadata when creating the cut items in the formspec. If I understand the feature correctly, you just need to copy the "palette_index" key from the source itemstack to the inventory items.