use colorize for colorizing the paper

fixes Issue #3
needs 10 less textures :-) --> faster loading
This commit is contained in:
adrido 2015-04-26 09:40:16 +02:00
parent 55255c0881
commit 1293087e91
12 changed files with 7 additions and 7 deletions

View File

@ -497,49 +497,49 @@ minetest.register_node("christmas_craft:silver_baubles", {
minetest.register_craftitem("christmas_craft:paper_blue", {
description = "Blue paper",
inventory_image = "christmas_craft_paper_bl.png",
inventory_image = "default_paper.png^[colorize:#0000FF99",
stack_max = 99,
liquids_pointable = false,
})
minetest.register_craftitem("christmas_craft:paper_yellow", {
description = "Yellow paper",
inventory_image = "christmas_craft_paper_ye.png",
inventory_image = "default_paper.png^[colorize:#ffff0099",
stack_max = 99,
liquids_pointable = false,
})
minetest.register_craftitem("christmas_craft:paper_green", {
description = "Green paper",
inventory_image = "christmas_craft_paper_gr.png",
inventory_image = "default_paper.png^[colorize:#00ff0099",
stack_max = 99,
liquids_pointable = false,
})
minetest.register_craftitem("christmas_craft:paper_red", {
description = "Red paper",
inventory_image = "christmas_craft_paper_re.png",
inventory_image = "default_paper.png^[colorize:#FF000099",
stack_max = 99,
liquids_pointable = false,
})
minetest.register_craftitem("christmas_craft:paper_violet", {
description = "Violet paper",
inventory_image = "christmas_craft_paper_vi.png",
inventory_image = "default_paper.png^[colorize:#9400d399",
stack_max = 99,
liquids_pointable = false,
})
minetest.register_craftitem("christmas_craft:paper_orange", {
description = "Orange paper",
inventory_image = "christmas_craft_paper_or.png",
inventory_image = "default_paper.png^[colorize:#ffa50099",
stack_max = 99,
liquids_pointable = false,
})
minetest.register_craftitem("christmas_craft:paper_pink", {
description = "Pink paper",
inventory_image = "christmas_craft_paper_pi.png",
inventory_image = "default_paper.png^[colorize:#ffc0cb99",
stack_max = 99,
liquids_pointable = false,
})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B