-
Notifications
You must be signed in to change notification settings - Fork 26
crafts with minetest.itemstring_with_palette output not coloring correctly in craft guide #18
Comments
Do you have an example recipe to show me? I never used color palette. |
the project im currently working is not released yet, however i would assume the craft linked above, https://gist.github.com/juhdanad/433a0aa7094ae0dceaf00924d6fd1e3b and minetest/minetest#5640 (comment) for textures combined could make a simple demo mod, if you wish i could put it together |
Give me this mod. |
https://github.com/wsor4035/i3_color_demo there, put together |
Thanks for the help. Unfortunately, this is impossible to support without weird hacks, and even then, the support would be very partial. There is no way to get the palette dimensions from a mod, there is no way to get a color from a pixel, and a proper displaying would need the ability to create a new item or to modify an item definition at runtime. |
ah, thanks for looking at it, should I file a issue for it, or do you already have that covered? |
Support added: 7a48b93 |
Thank you |
as found here, https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L762-L769 registering a similar craft will not show the proper color in the crafting guide, but will show the proper color in crafting grid when you go to craft the item
The text was updated successfully, but these errors were encountered: