Resync with upstream again
@ -61,6 +61,8 @@ minetest.register_alias("moreblocks:wood_tile_down","moreblocks:wood_tile_up")
|
|||||||
minetest.register_alias("moreblocks:wood_tile_left","moreblocks:wood_up")
|
minetest.register_alias("moreblocks:wood_tile_left","moreblocks:wood_up")
|
||||||
minetest.register_alias("moreblocks:wood_tile_right","moreblocks:wood_up")
|
minetest.register_alias("moreblocks:wood_tile_right","moreblocks:wood_up")
|
||||||
minetest.register_alias("moreblocks:empty_bookshelf","moreblocks:empty_shelf")
|
minetest.register_alias("moreblocks:empty_bookshelf","moreblocks:empty_shelf")
|
||||||
|
minetest.register_alias("moreblocks:split_stone_tile_alt","moreblocks:checker_stone_tile")
|
||||||
|
minetest.register_alias("moreblocks:tar","default:gravel")
|
||||||
|
|
||||||
-- ABM for horizontal trees (fix facedir):
|
-- ABM for horizontal trees (fix facedir):
|
||||||
local horizontal_tree_convert_facedir = {7, 12, 9, 18}
|
local horizontal_tree_convert_facedir = {7, 12, 9, 18}
|
||||||
|
24
crafting.lua
@ -401,12 +401,36 @@ minetest.register_craft({
|
|||||||
recipe = {"default:mese_crystal_fragment", "default:stone"},
|
recipe = {"default:mese_crystal_fragment", "default:stone"},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "moreblocks:trap_desert_stone",
|
||||||
|
type = "shapeless",
|
||||||
|
recipe = {"default:mese_crystal_fragment", "default:desert_stone"},
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "moreblocks:trap_glass",
|
output = "moreblocks:trap_glass",
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
recipe = {"default:mese_crystal_fragment", "default:glass"},
|
recipe = {"default:mese_crystal_fragment", "default:glass"},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "moreblocks:trap_obsidian_glass",
|
||||||
|
type = "shapeless",
|
||||||
|
recipe = {"default:mese_crystal_fragment", "default:obsidian_glass"},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "moreblocks:trap_obsidian",
|
||||||
|
type = "shapeless",
|
||||||
|
recipe = {"default:mese_crystal_fragment", "default:obsidian"},
|
||||||
|
})
|
||||||
|
|
||||||
|
minetest.register_craft({
|
||||||
|
output = "moreblocks:trap_sandstone",
|
||||||
|
type = "shapeless",
|
||||||
|
recipe = {"default:mese_crystal_fragment", "default:sandstone"},
|
||||||
|
})
|
||||||
|
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "moreblocks:cactus_brick",
|
output = "moreblocks:cactus_brick",
|
||||||
type = "shapeless",
|
type = "shapeless",
|
||||||
|
59
nodes.lua
@ -25,7 +25,7 @@ end
|
|||||||
local nodes = {
|
local nodes = {
|
||||||
["wood_tile"] = {
|
["wood_tile"] = {
|
||||||
description = S("Wooden Tile"),
|
description = S("Wooden Tile"),
|
||||||
groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
groups = {wood = 1, choppy = 2, oddly_breakable_by_hand = 2, flammable = 3},
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
paramtype2 = "facedir",
|
paramtype2 = "facedir",
|
||||||
place_param2 = 0,
|
place_param2 = 0,
|
||||||
@ -107,8 +107,8 @@ local nodes = {
|
|||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = sound_stone,
|
sounds = sound_stone,
|
||||||
},
|
},
|
||||||
["split_stone_tile_alt"] = {
|
["checker_stone_tile"] = {
|
||||||
description = S("Checkered Stone Tile"),
|
description = S("Checker Stone Tile"),
|
||||||
groups = {stone = 1, cracky = 3},
|
groups = {stone = 1, cracky = 3},
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
sounds = sound_stone,
|
sounds = sound_stone,
|
||||||
@ -236,6 +236,16 @@ local nodes = {
|
|||||||
},
|
},
|
||||||
["trap_stone"] = {
|
["trap_stone"] = {
|
||||||
description = S("Trap Stone"),
|
description = S("Trap Stone"),
|
||||||
|
tiles = {"default_stone.png^moreblocks_trap_box.png"},
|
||||||
|
walkable = false,
|
||||||
|
groups = {cracky = 3},
|
||||||
|
is_ground_content = false,
|
||||||
|
sounds = sound_stone,
|
||||||
|
no_stairs = true,
|
||||||
|
},
|
||||||
|
["trap_desert_stone"] = {
|
||||||
|
description = S("Trap Desert Stone"),
|
||||||
|
tiles = {"default_desert_stone.png^moreblocks_trap_box.png"},
|
||||||
walkable = false,
|
walkable = false,
|
||||||
groups = {cracky = 3},
|
groups = {cracky = 3},
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
@ -246,7 +256,7 @@ local nodes = {
|
|||||||
description = S("Trap Glass"),
|
description = S("Trap Glass"),
|
||||||
drawtype = "glasslike_framed_optional",
|
drawtype = "glasslike_framed_optional",
|
||||||
--tiles = {"moreblocks_trap_glass.png", "default_glass_detail.png"},
|
--tiles = {"moreblocks_trap_glass.png", "default_glass_detail.png"},
|
||||||
tiles = {"moreblocks_trap_glass.png"},
|
tiles = {"default_glass.png^moreblocks_trap_box_glass.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
@ -255,6 +265,37 @@ local nodes = {
|
|||||||
sounds = sound_glass,
|
sounds = sound_glass,
|
||||||
no_stairs = true,
|
no_stairs = true,
|
||||||
},
|
},
|
||||||
|
["trap_obsidian_glass"] = {
|
||||||
|
description = S("Trap Obsidian Glass"),
|
||||||
|
drawtype = "glasslike_framed_optional",
|
||||||
|
--tiles = {"moreblocks_trap_glass.png", "default_glass_detail.png"},
|
||||||
|
tiles = {"default_obsidian_glass.png^moreblocks_trap_box_glass.png"},
|
||||||
|
paramtype = "light",
|
||||||
|
sunlight_propagates = true,
|
||||||
|
is_ground_content = false,
|
||||||
|
walkable = false,
|
||||||
|
groups = {cracky = 3, oddly_breakable_by_hand = 3},
|
||||||
|
sounds = sound_glass,
|
||||||
|
no_stairs = true,
|
||||||
|
},
|
||||||
|
["trap_obsidian"] = {
|
||||||
|
description = S("Trap Obsidian"),
|
||||||
|
tiles = {"default_obsidian.png^moreblocks_trap_box.png"},
|
||||||
|
walkable = false,
|
||||||
|
groups = {cracky = 1, level = 2},
|
||||||
|
is_ground_content = false,
|
||||||
|
sounds = sound_stone,
|
||||||
|
no_stairs = true,
|
||||||
|
},
|
||||||
|
["trap_sandstone"] = {
|
||||||
|
description = S("Trap Sandstone"),
|
||||||
|
tiles = {"default_sandstone.png^moreblocks_trap_box.png"},
|
||||||
|
walkable = false,
|
||||||
|
groups = {crumbly = 1, cracky = 3},
|
||||||
|
is_ground_content = false,
|
||||||
|
sounds = sound_stone,
|
||||||
|
no_stairs = true,
|
||||||
|
},
|
||||||
["all_faces_tree"] = {
|
["all_faces_tree"] = {
|
||||||
description = S("All-faces Tree"),
|
description = S("All-faces Tree"),
|
||||||
tiles = {"default_tree_top.png"},
|
tiles = {"default_tree_top.png"},
|
||||||
@ -306,7 +347,7 @@ local nodes = {
|
|||||||
description = S("Trap Glow Glass"),
|
description = S("Trap Glow Glass"),
|
||||||
drawtype = "glasslike_framed_optional",
|
drawtype = "glasslike_framed_optional",
|
||||||
--tiles = {"moreblocks_trap_glass.png", "moreblocks_glow_glass_detail.png"},
|
--tiles = {"moreblocks_trap_glass.png", "moreblocks_glow_glass_detail.png"},
|
||||||
tiles = {"moreblocks_trap_glass.png"},
|
tiles = {"moreblocks_glow_glass.png^moreblocks_trap_box_glass.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
@ -332,7 +373,7 @@ local nodes = {
|
|||||||
description = S("Trap Super Glow Glass"),
|
description = S("Trap Super Glow Glass"),
|
||||||
drawtype = "glasslike_framed_optional",
|
drawtype = "glasslike_framed_optional",
|
||||||
--tiles = {"moreblocks_trap_super_glow_glass.png", "moreblocks_super_glow_glass_detail.png"},
|
--tiles = {"moreblocks_trap_super_glow_glass.png", "moreblocks_super_glow_glass_detail.png"},
|
||||||
tiles = {"moreblocks_trap_super_glow_glass.png"},
|
tiles = {"moreblocks_super_glow_glass.png^moreblocks_trap_box_glass.png"},
|
||||||
paramtype = "light",
|
paramtype = "light",
|
||||||
sunlight_propagates = true,
|
sunlight_propagates = true,
|
||||||
is_ground_content = false,
|
is_ground_content = false,
|
||||||
@ -384,15 +425,9 @@ for name, def in pairs(nodes) do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
-- Items
|
-- Items
|
||||||
|
|
||||||
minetest.register_craftitem("moreblocks:sweeper", {
|
minetest.register_craftitem("moreblocks:sweeper", {
|
||||||
description = S("Sweeper"),
|
description = S("Sweeper"),
|
||||||
inventory_image = "moreblocks_sweeper.png",
|
inventory_image = "moreblocks_sweeper.png",
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_craftitem("moreblocks:nothing", {
|
|
||||||
inventory_image = "invisible.png",
|
|
||||||
on_use = function() end,
|
|
||||||
})
|
|
||||||
|
Before Width: | Height: | Size: 716 B |
Before Width: | Height: | Size: 285 B |
Before Width: | Height: | Size: 68 B |
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 306 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 480 B |
Before Width: | Height: | Size: 210 B |
BIN
textures/moreblocks_trap_box.png
Normal file
After Width: | Height: | Size: 135 B |
BIN
textures/moreblocks_trap_box_glass.png
Normal file
After Width: | Height: | Size: 160 B |
Before Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 170 B |
Before Width: | Height: | Size: 333 B |
Before Width: | Height: | Size: 170 B |