use colorize for colorizing the paper
fixes Issue #3 needs 10 less textures :-) --> faster loading
14
init.lua
@ -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,
|
||||
})
|
||||
|
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 132 B |
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 153 B |
Before Width: | Height: | Size: 153 B |