aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crafting.lua48
-rw-r--r--nodes.lua32
-rw-r--r--redefinitions.lua9
-rw-r--r--textures/moreblocks_checker_stone_tile.pngbin0 -> 306 bytes
-rw-r--r--textures/moreblocks_dirt_compressed.pngbin0 -> 318 bytes
-rw-r--r--textures/moreblocks_trap_box.pngbin0 -> 135 bytes
-rw-r--r--textures/moreblocks_trap_box_glass.pngbin0 -> 160 bytes
7 files changed, 79 insertions, 10 deletions
diff --git a/crafting.lua b/crafting.lua
index 56ffa35..f2e370d 100644
--- a/crafting.lua
+++ b/crafting.lua
@@ -202,6 +202,15 @@ minetest.register_craft({
})
minetest.register_craft({
+ output = "moreblocks:split_stone_tile 9",
+ recipe = {
+ {"moreblocks:stone_tile","moreblocks:stone_tile","moreblocks:stone_tile"},
+ {"moreblocks:stone_tile","moreblocks:stone_tile","moreblocks:stone_tile"},
+ {"moreblocks:stone_tile","moreblocks:stone_tile","moreblocks:stone_tile"},
+ }
+})
+
+minetest.register_craft({
output = "moreblocks:split_stone_tile_alt",
recipe = {
{"moreblocks:split_stone_tile"},
@@ -209,6 +218,32 @@ minetest.register_craft({
})
minetest.register_craft({
+ output = "moreblocks:split_stone_tile_alt 9",
+ recipe = {
+ {"moreblocks:split_stone_tile","moreblocks:split_stone_tile","moreblocks:split_stone_tile"},
+ {"moreblocks:split_stone_tile","moreblocks:split_stone_tile","moreblocks:split_stone_tile"},
+ {"moreblocks:split_stone_tile","moreblocks:split_stone_tile","moreblocks:split_stone_tile"},
+ }
+})
+
+minetest.register_craft({
+ output = "moreblocks:stone_tile",
+ recipe = {
+ {"moreblocks:split_stone_tile_alt"},
+ }
+})
+
+minetest.register_craft({
+ output = "moreblocks:stone_tile 9",
+ recipe = {
+ {"moreblocks:split_stone_tile_alt","moreblocks:split_stone_tile_alt","moreblocks:split_stone_tile_alt"},
+ {"moreblocks:split_stone_tile_alt","moreblocks:split_stone_tile_alt","moreblocks:split_stone_tile_alt"},
+ {"moreblocks:split_stone_tile_alt","moreblocks:split_stone_tile_alt","moreblocks:split_stone_tile_alt"},
+ }
+})
+
+
+minetest.register_craft({
output = "moreblocks:grey_bricks 2",
type = "shapeless",
recipe = {"default:stone", "default:brick"},
@@ -535,9 +570,18 @@ minetest.register_craft({
minetest.register_craft({
type = "shapeless",
output = "moreblocks:copperpatina",
- recipe = {"group:bucket_water", "default:copperblock"},
+ recipe = {"bucket:bucket_water", "default:copperblock"},
+ replacements = {
+ {"bucket:bucket_water", "bucket:bucket_empty"}
+ }
+})
+
+minetest.register_craft({
+ type = "shapeless",
+ output = "moreblocks:copperpatina",
+ recipe = {"bucket:bucket_river_water", "default:copperblock"},
replacements = {
- {"group:bucket_water", "bucket:bucket_empty"}
+ {"bucket:bucket_river_water", "bucket:bucket_empty"}
}
})
diff --git a/nodes.lua b/nodes.lua
index 54ff1d7..895a292 100644
--- a/nodes.lua
+++ b/nodes.lua
@@ -179,7 +179,7 @@ local nodes = {
description = S("Clean Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_clean_glass.png", "moreblocks_clean_glass_detail.png"},
- tiles = {"moreblocks_clean_glass.png"},
+ -- tiles = {"moreblocks_clean_glass.png"},
one_texture = true,
paramtype = "light",
sunlight_propagates = true,
@@ -346,7 +346,7 @@ local nodes = {
description = S("Glow Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_glow_glass.png", "moreblocks_glow_glass_detail.png"},
- tiles = {"moreblocks_glow_glass.png"},
+ -- tiles = {"moreblocks_glow_glass.png"},
one_texture = true,
paramtype = "light",
sunlight_propagates = true,
@@ -358,7 +358,7 @@ local nodes = {
description = S("Trap Glow Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_trap_glass.png", "moreblocks_glow_glass_detail.png"},
- --tiles = {"moreblocks_trap_glass.png"},
+ -- tiles = {"moreblocks_trap_glass.png"},
paramtype = "light",
sunlight_propagates = true,
light_source = 11,
@@ -371,9 +371,9 @@ local nodes = {
description = S("Super Glow Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_super_glow_glass.png", "moreblocks_super_glow_glass_detail.png"},
- --tiles = {"moreblocks_super_glow_glass.png"},
- one_texture = true,
+ -- tiles = {"moreblocks_super_glow_glass.png"},
-- tiles = {"default_glass.png^[colorize:#FFFF78"},
+ one_texture = true,
paramtype = "light",
sunlight_propagates = true,
light_source = 14,
@@ -384,7 +384,7 @@ local nodes = {
description = S("Trap Super Glow Glass"),
drawtype = "glasslike_framed_optional",
tiles = {"moreblocks_trap_super_glow_glass.png", "moreblocks_super_glow_glass_detail.png"},
- --tiles = {"moreblocks_trap_super_glow_glass.png"},
+ -- tiles = {"moreblocks_trap_super_glow_glass.png"},
paramtype = "light",
sunlight_propagates = true,
light_source = 14,
@@ -432,11 +432,15 @@ for name, def in pairs(nodes) do
minetest.register_alias(name, "moreblocks:" ..name)
if not def.no_stairs then
local groups = {}
+ temp_tiles = def.tiles
+ if def.one_texture then
+ temp_tiles = { def.tiles[1]}
+ end
for k, v in pairs(def.groups) do groups[k] = v end
stairsplus:register_all("moreblocks", name, "moreblocks:" ..name, {
description = def.description,
groups = groups,
- tiles = def.tiles,
+ tiles = temp_tiles,
sunlight_propagates = def.sunlight_propagates,
light_source = def.light_source,
sounds = def.sounds,
@@ -456,3 +460,17 @@ minetest.register_craftitem("moreblocks:nothing", {
inventory_image = "invisible.png",
on_use = function() end,
})
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/redefinitions.lua b/redefinitions.lua
index 08ec220..d02ed7d 100644
--- a/redefinitions.lua
+++ b/redefinitions.lua
@@ -129,6 +129,13 @@ end
-- wood tiles
minetest.register_alias("moreblocks:wood_tile_offset", "moreblocks:wood_tile_up")
+-- desert stone stair
+-- created in dungeons
+
+minetest.register_alias("stairs:stair_desert_stone","moreblocks:stair_desert_stone")
+
+
+
-- new trapstones and other blocks
-- all_faces_acaia_tree
@@ -138,4 +145,4 @@ minetest.register_alias("moreblocks:wood_tile_offset", "moreblocks:wood_tile_up"
-- trap_obsidian
-- trap_obsidian_glass
-- trap_sandstone
--- TODO: in nodes.lua and crafting.lua
+-- in nodes.lua and crafting.lua
diff --git a/textures/moreblocks_checker_stone_tile.png b/textures/moreblocks_checker_stone_tile.png
new file mode 100644
index 0000000..9d11b4f
--- /dev/null
+++ b/textures/moreblocks_checker_stone_tile.png
Binary files differ
diff --git a/textures/moreblocks_dirt_compressed.png b/textures/moreblocks_dirt_compressed.png
new file mode 100644
index 0000000..0a98272
--- /dev/null
+++ b/textures/moreblocks_dirt_compressed.png
Binary files differ
diff --git a/textures/moreblocks_trap_box.png b/textures/moreblocks_trap_box.png
new file mode 100644
index 0000000..292ae88
--- /dev/null
+++ b/textures/moreblocks_trap_box.png
Binary files differ
diff --git a/textures/moreblocks_trap_box_glass.png b/textures/moreblocks_trap_box_glass.png
new file mode 100644
index 0000000..fbb25ca
--- /dev/null
+++ b/textures/moreblocks_trap_box_glass.png
Binary files differ