mirror of
https://github.com/random-geek/morelights.git
synced 2024-12-12 08:53:20 +01:00
Split vintage block texture into background and foreground.
This commit is contained in:
parent
b055570244
commit
d0278433c6
@ -77,7 +77,7 @@ minetest.register_node("morelights_vintage:chain_ceiling_b", {
|
|||||||
|
|
||||||
minetest.register_node("morelights_vintage:block", {
|
minetest.register_node("morelights_vintage:block", {
|
||||||
description = S("Vintage Light Block"),
|
description = S("Vintage Light Block"),
|
||||||
tiles = {"morelights_vintage_block.png"},
|
tiles = {"morelights_vintage_material.png^morelights_vintage_block.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
light_source = minetest.LIGHT_MAX,
|
light_source = minetest.LIGHT_MAX,
|
||||||
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
groups = {cracky = 2, oddly_breakable_by_hand = 3, handy = 1},
|
||||||
@ -93,9 +93,9 @@ minetest.register_node("morelights_vintage:smallblock", {
|
|||||||
fixed = {-1/4, -1/2, -1/4, 1/4, 0, 1/4}
|
fixed = {-1/4, -1/2, -1/4, 1/4, 0, 1/4}
|
||||||
},
|
},
|
||||||
tiles = {
|
tiles = {
|
||||||
"morelights_vintage_block.png",
|
"morelights_vintage_material.png^morelights_vintage_block.png",
|
||||||
"morelights_vintage_block.png",
|
"morelights_vintage_material.png^morelights_vintage_block.png",
|
||||||
"[combine:16x16:0,4=morelights_vintage_block.png"
|
"[combine:16x16:0,4=(morelights_vintage_material.png\\^morelights_vintage_block.png)"
|
||||||
},
|
},
|
||||||
use_texture_alpha = "opaque",
|
use_texture_alpha = "opaque",
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 272 B After Width: | Height: | Size: 185 B |
BIN
morelights_vintage/textures/morelights_vintage_material.png
Normal file
BIN
morelights_vintage/textures/morelights_vintage_material.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 272 B |
Loading…
Reference in New Issue
Block a user