summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua4
-rw-r--r--mossy_blocks.lua55
-rw-r--r--sandstone_cobble.lua2
-rw-r--r--textures/minetest_errata_desert_sandstone_cobble.pngbin588 -> 731 bytes
-rw-r--r--textures/minetest_errata_door_clean_glass.pngbin415 -> 219 bytes
-rw-r--r--textures/minetest_errata_door_coal_glass.pngbin409 -> 276 bytes
-rw-r--r--textures/minetest_errata_door_iron_bar.pngbin643 -> 347 bytes
-rw-r--r--textures/minetest_errata_door_iron_bar_item.pngbin186 -> 171 bytes
-rw-r--r--textures/minetest_errata_door_iron_glass.pngbin394 -> 285 bytes
-rw-r--r--textures/minetest_errata_door_wood_bar.pngbin982 -> 367 bytes
-rw-r--r--textures/minetest_errata_door_wood_bar_item.pngbin188 -> 179 bytes
-rw-r--r--textures/minetest_errata_moss_overlay.pngbin0 -> 312 bytes
-rw-r--r--textures/minetest_errata_paperwall.pngbin486 -> 319 bytes
-rw-r--r--textures/minetest_errata_sandstone_cobble.pngbin746 -> 624 bytes
-rw-r--r--textures/minetest_errata_silver_sandstone_cobble.pngbin526 -> 704 bytes
-rw-r--r--textures/minetest_errata_wooden_bar.pngbin292 -> 196 bytes
-rw-r--r--textures/minetest_errata_wooden_bar_side.pngbin565 -> 284 bytes
-rw-r--r--textures/minetest_errata_wooden_bar_y.pngbin142 -> 145 bytes
18 files changed, 59 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 4c822f8..ae9910b 100644
--- a/init.lua
+++ b/init.lua
@@ -13,4 +13,6 @@ dofile(modpath.."/missing_groups.lua")
dofile(modpath.."/xpanes.lua")
-dofile(modpath.."/glass_panes.lua") \ No newline at end of file
+dofile(modpath.."/glass_panes.lua")
+
+dofile(modpath.."/mossy_blocks.lua") \ No newline at end of file
diff --git a/mossy_blocks.lua b/mossy_blocks.lua
new file mode 100644
index 0000000..1d2c98a
--- /dev/null
+++ b/mossy_blocks.lua
@@ -0,0 +1,55 @@
+local node = {
+ name = "minetest_errata:mossystone",
+ short_name = "mossystone",
+ desc = "Mossy Stone",
+ tile = "default_stone.png^minetest_errata_moss_overlay.png",
+}
+
+
+
+minetest.register_node(node.name, {
+ description = node.desc,
+ tiles = {node.tile},
+ groups = {cracky = 3, stone = 1},
+ is_ground_content = false,
+ sounds = default.node_sound_stone_defaults(),
+ drop = "default:mossycobble",
+})
+
+minetest.register_craft({
+ output = node.name,
+ type = "shapeless",
+ recipe = {"default:junglegrass", "default:stone"},
+})
+
+
+-- Derivative blocks
+
+if stairs and stairs.mod and stairs.mod == "redo" then
+
+ stairs.register_all(short_name, node.name,
+ {cracky = 3, stone = 1},
+ {node.tile},
+ node.desc .. " Stair",
+ node.desc .. " Slab",
+ default.node_sound_wood_defaults())
+
+elseif minetest.global_exists("stairsplus") then
+
+ stairsplus:register_all("minetest_errata", short_name, node.name, {
+ description = node.desc,
+ tiles = {node.tile},
+ groups = {cracky = 3, stone = 1},
+ sounds = default.node_sound_wood_defaults(),
+ })
+
+else
+
+ stairs.register_stair_and_slab(short_name, node.name,
+ {cracky = 3, stone = 1},
+ {node.tile},
+ node.desc .. " Stair",
+ node.desc .. " Slab",
+ default.node_sound_wood_defaults())
+
+end \ No newline at end of file
diff --git a/sandstone_cobble.lua b/sandstone_cobble.lua
index 3486257..62098f9 100644
--- a/sandstone_cobble.lua
+++ b/sandstone_cobble.lua
@@ -9,7 +9,7 @@ for _,node in ipairs(cobble_table) do
minetest.register_node("minetest_errata:" .. node.name .. "_cobble", {
description = node.desc,
tiles = {"minetest_errata_" .. node.name .. "_cobble.png"},
- groups = {cracky = 3, minetest_errata.prefix .. "sandstone" = 1},
+ groups = {cracky = 3, [minetest_errata.prefix .. "sandstone"] = 1},
is_ground_content = false,
sounds = default.node_sound_stone_defaults(),
})
diff --git a/textures/minetest_errata_desert_sandstone_cobble.png b/textures/minetest_errata_desert_sandstone_cobble.png
index 6b1cc92..d2a4056 100644
--- a/textures/minetest_errata_desert_sandstone_cobble.png
+++ b/textures/minetest_errata_desert_sandstone_cobble.png
Binary files differ
diff --git a/textures/minetest_errata_door_clean_glass.png b/textures/minetest_errata_door_clean_glass.png
index 24b8109..19a4590 100644
--- a/textures/minetest_errata_door_clean_glass.png
+++ b/textures/minetest_errata_door_clean_glass.png
Binary files differ
diff --git a/textures/minetest_errata_door_coal_glass.png b/textures/minetest_errata_door_coal_glass.png
index d496618..5854e79 100644
--- a/textures/minetest_errata_door_coal_glass.png
+++ b/textures/minetest_errata_door_coal_glass.png
Binary files differ
diff --git a/textures/minetest_errata_door_iron_bar.png b/textures/minetest_errata_door_iron_bar.png
index 13eb0a2..f0a4fd1 100644
--- a/textures/minetest_errata_door_iron_bar.png
+++ b/textures/minetest_errata_door_iron_bar.png
Binary files differ
diff --git a/textures/minetest_errata_door_iron_bar_item.png b/textures/minetest_errata_door_iron_bar_item.png
index 93c2de6..a5834f8 100644
--- a/textures/minetest_errata_door_iron_bar_item.png
+++ b/textures/minetest_errata_door_iron_bar_item.png
Binary files differ
diff --git a/textures/minetest_errata_door_iron_glass.png b/textures/minetest_errata_door_iron_glass.png
index 2eb3247..fdc1baf 100644
--- a/textures/minetest_errata_door_iron_glass.png
+++ b/textures/minetest_errata_door_iron_glass.png
Binary files differ
diff --git a/textures/minetest_errata_door_wood_bar.png b/textures/minetest_errata_door_wood_bar.png
index 89ba72b..ef61004 100644
--- a/textures/minetest_errata_door_wood_bar.png
+++ b/textures/minetest_errata_door_wood_bar.png
Binary files differ
diff --git a/textures/minetest_errata_door_wood_bar_item.png b/textures/minetest_errata_door_wood_bar_item.png
index 4708d2e..3b97c0f 100644
--- a/textures/minetest_errata_door_wood_bar_item.png
+++ b/textures/minetest_errata_door_wood_bar_item.png
Binary files differ
diff --git a/textures/minetest_errata_moss_overlay.png b/textures/minetest_errata_moss_overlay.png
new file mode 100644
index 0000000..eebb184
--- /dev/null
+++ b/textures/minetest_errata_moss_overlay.png
Binary files differ
diff --git a/textures/minetest_errata_paperwall.png b/textures/minetest_errata_paperwall.png
index 3c8352d..1747166 100644
--- a/textures/minetest_errata_paperwall.png
+++ b/textures/minetest_errata_paperwall.png
Binary files differ
diff --git a/textures/minetest_errata_sandstone_cobble.png b/textures/minetest_errata_sandstone_cobble.png
index 61fd148..47fc1e0 100644
--- a/textures/minetest_errata_sandstone_cobble.png
+++ b/textures/minetest_errata_sandstone_cobble.png
Binary files differ
diff --git a/textures/minetest_errata_silver_sandstone_cobble.png b/textures/minetest_errata_silver_sandstone_cobble.png
index fc71c83..af134cf 100644
--- a/textures/minetest_errata_silver_sandstone_cobble.png
+++ b/textures/minetest_errata_silver_sandstone_cobble.png
Binary files differ
diff --git a/textures/minetest_errata_wooden_bar.png b/textures/minetest_errata_wooden_bar.png
index ecf53bf..e146154 100644
--- a/textures/minetest_errata_wooden_bar.png
+++ b/textures/minetest_errata_wooden_bar.png
Binary files differ
diff --git a/textures/minetest_errata_wooden_bar_side.png b/textures/minetest_errata_wooden_bar_side.png
index 9613634..aa9ecdd 100644
--- a/textures/minetest_errata_wooden_bar_side.png
+++ b/textures/minetest_errata_wooden_bar_side.png
Binary files differ
diff --git a/textures/minetest_errata_wooden_bar_y.png b/textures/minetest_errata_wooden_bar_y.png
index 6bc362d..f80abc1 100644
--- a/textures/minetest_errata_wooden_bar_y.png
+++ b/textures/minetest_errata_wooden_bar_y.png
Binary files differ