summaryrefslogtreecommitdiff
path: root/unifiedbricks
diff options
context:
space:
mode:
Diffstat (limited to 'unifiedbricks')
-rw-r--r--unifiedbricks/init.lua34
-rw-r--r--unifiedbricks/textures/unifiedbricks_mortar2.pngbin0 -> 247 bytes
-rw-r--r--unifiedbricks/textures/unifiedbricks_mortar3.pngbin0 -> 247 bytes
-rw-r--r--unifiedbricks/textures/unifiedbricks_mortar4.pngbin0 -> 247 bytes
4 files changed, 19 insertions, 15 deletions
diff --git a/unifiedbricks/init.lua b/unifiedbricks/init.lua
index 4d1f44c..80eba02 100644
--- a/unifiedbricks/init.lua
+++ b/unifiedbricks/init.lua
@@ -95,11 +95,12 @@ FORMALDARKNESS = {
minetest.register_node("unifiedbricks:brickblock", {
description = "Brick Block",
tiles = {
- "unifiedbricks_brickblock.png",
- { name = "unifiedbricks_mortar.png", color = 0xffffffff },
+ "unifiedbricks_brickblock.png"
},
- drawtype = "mesh",
- mesh = "unifiedbricks_brick_block.obj",
+ overlay_tiles = {
+ { name = "unifiedbricks_mortar.png", color = "white" }
+ },
+ use_texture_alpha = true,
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
@@ -150,10 +151,11 @@ minetest.register_node("unifiedbricks:brickblock_multicolor_dark", {
description = "Brick block (dark multicolor)",
tiles = {
"unifiedbricks_brickblock_multicolor_dark.png",
- { name = "unifiedbricks_mortar.png", color = 0xffffffff },
},
- drawtype = "mesh",
- mesh = "unifiedbricks_brick_block.obj",
+ overlay_tiles = {
+ { name = "unifiedbricks_mortar2.png", color = "white" }
+ },
+ use_texture_alpha = true,
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
@@ -169,11 +171,12 @@ minetest.register_node("unifiedbricks:brickblock_multicolor_dark", {
minetest.register_node("unifiedbricks:brickblock_multicolor_medium", {
description = "Brick block (medium multicolor)",
tiles = {
- "unifiedbricks_brickblock_multicolor_medium.png",
- { name = "unifiedbricks_mortar.png", color = 0xffffffff },
+ "unifiedbricks_brickblock_multicolor_medium.png"
},
- drawtype = "mesh",
- mesh = "unifiedbricks_brick_block.obj",
+ overlay_tiles = {
+ { name = "unifiedbricks_mortar3.png", color = "white" }
+ },
+ use_texture_alpha = true,
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
@@ -189,11 +192,12 @@ minetest.register_node("unifiedbricks:brickblock_multicolor_medium", {
minetest.register_node("unifiedbricks:brickblock_multicolor_light", {
description = "Brick block (light multicolor)",
tiles = {
- "unifiedbricks_brickblock_multicolor_light.png",
- { name = "unifiedbricks_mortar.png", color = 0xffffffff },
+ "unifiedbricks_brickblock_multicolor_light.png"
+ },
+ overlay_tiles = {
+ { name = "unifiedbricks_mortar4.png", color = "white" }
},
- drawtype = "mesh",
- mesh = "unifiedbricks_brick_block.obj",
+ use_texture_alpha = true,
paramtype = "light",
paramtype2 = "color",
palette = "unifieddyes_palette_extended.png",
diff --git a/unifiedbricks/textures/unifiedbricks_mortar2.png b/unifiedbricks/textures/unifiedbricks_mortar2.png
new file mode 100644
index 0000000..6d52335
--- /dev/null
+++ b/unifiedbricks/textures/unifiedbricks_mortar2.png
Binary files differ
diff --git a/unifiedbricks/textures/unifiedbricks_mortar3.png b/unifiedbricks/textures/unifiedbricks_mortar3.png
new file mode 100644
index 0000000..6d52335
--- /dev/null
+++ b/unifiedbricks/textures/unifiedbricks_mortar3.png
Binary files differ
diff --git a/unifiedbricks/textures/unifiedbricks_mortar4.png b/unifiedbricks/textures/unifiedbricks_mortar4.png
new file mode 100644
index 0000000..6d52335
--- /dev/null
+++ b/unifiedbricks/textures/unifiedbricks_mortar4.png
Binary files differ