Default: Add stone / desert stone / sandstone / obsidian blocks
authorparamat <mat.gregory@virginmedia.com>
Thu, 23 Jun 2016 03:37:19 +0000 (04:37 +0100)
committerparamat <mat.gregory@virginmedia.com>
Sat, 25 Jun 2016 05:58:18 +0000 (06:58 +0100)
mods/default/README.txt
mods/default/crafting.lua
mods/default/nodes.lua
mods/default/textures/default_desert_stone_block.png [new file with mode: 0644]
mods/default/textures/default_obsidian_block.png [new file with mode: 0644]
mods/default/textures/default_sandstone_block.png [new file with mode: 0644]
mods/default/textures/default_stone_block.png [new file with mode: 0644]

index 051af06086deb5b21d110343fa31d85baa449a51..41dd1eb0a20a71a2380e81d03a3c2f71b4a87dec 100644 (file)
@@ -114,6 +114,10 @@ paramat (CC BY-SA 3.0):
   default_obsidian_brick.png
   default_stone_brick.png
   default_desert_stone_brick.png
+  default_sandstone_block.png
+  default_obsidian_block.png
+  default_stone_block.png
+  default_desert_stone_block.png
   default_river_water.png
   default_river_water_source_animated.png
   default_river_water_flowing_animated.png
index 998d86bab329f1bc2474737e5400f08dee3874b3..0f10e7f9f771d630c1c45f10e37df67b3c3848de 100644 (file)
@@ -499,6 +499,15 @@ minetest.register_craft({
        }
 })
 
+minetest.register_craft({
+       output = 'default:sandstone_block 9',
+       recipe = {
+               {'default:sandstone', 'default:sandstone', 'default:sandstone'},
+               {'default:sandstone', 'default:sandstone', 'default:sandstone'},
+               {'default:sandstone', 'default:sandstone', 'default:sandstone'},
+       }
+})
+
 minetest.register_craft({
        output = 'default:clay',
        recipe = {
@@ -627,6 +636,15 @@ minetest.register_craft({
        }
 })
 
+minetest.register_craft({
+       output = 'default:obsidian_block 9',
+       recipe = {
+               {'default:obsidian', 'default:obsidian', 'default:obsidian'},
+               {'default:obsidian', 'default:obsidian', 'default:obsidian'},
+               {'default:obsidian', 'default:obsidian', 'default:obsidian'},
+       }
+})
+
 minetest.register_craft({
        output = 'default:stonebrick 4',
        recipe = {
@@ -635,6 +653,15 @@ minetest.register_craft({
        }
 })
 
+minetest.register_craft({
+       output = 'default:stone_block 9',
+       recipe = {
+               {'default:stone', 'default:stone', 'default:stone'},
+               {'default:stone', 'default:stone', 'default:stone'},
+               {'default:stone', 'default:stone', 'default:stone'},
+       }
+})
+
 minetest.register_craft({
        output = 'default:desert_stonebrick 4',
        recipe = {
@@ -643,6 +670,15 @@ minetest.register_craft({
        }
 })
 
+minetest.register_craft({
+       output = 'default:desert_stone_block 9',
+       recipe = {
+               {'default:desert_stone', 'default:desert_stone', 'default:desert_stone'},
+               {'default:desert_stone', 'default:desert_stone', 'default:desert_stone'},
+               {'default:desert_stone', 'default:desert_stone', 'default:desert_stone'},
+       }
+})
+
 minetest.register_craft({
        output = 'default:snowblock',
        recipe = {
index dcd92eccc4ad179c569c91c03f8f4e9077f04e2d..494a4cb14fbf4b7a82b3bd209e02cf2194d43716 100644 (file)
@@ -19,17 +19,21 @@ Stone
 default:stone
 default:cobble
 default:stonebrick
+default:stone_block
 default:mossycobble
 
 default:desert_stone
 default:desert_cobble
 default:desert_stonebrick
+default:desert_stone_block
 
 default:sandstone
 default:sandstonebrick
+default:sandstone_block
 
 default:obsidian
 default:obsidianbrick
+default:obsidian_block
 
 Soft / Non-Stone
 ----------------
@@ -210,6 +214,14 @@ minetest.register_node("default:stonebrick", {
        sounds = default.node_sound_stone_defaults(),
 })
 
+minetest.register_node("default:stone_block", {
+       description = "Stone Block",
+       tiles = {"default_stone_block.png"},
+       is_ground_content = false,
+       groups = {cracky = 2, stone = 1},
+       sounds = default.node_sound_stone_defaults(),
+})
+
 minetest.register_node("default:mossycobble", {
        description = "Mossy Cobblestone",
        tiles = {"default_mossycobble.png"},
@@ -246,6 +258,14 @@ minetest.register_node("default:desert_stonebrick", {
        sounds = default.node_sound_stone_defaults(),
 })
 
+minetest.register_node("default:desert_stone_block", {
+       description = "Desert Stone Block",
+       tiles = {"default_desert_stone_block.png"},
+       is_ground_content = false,
+       groups = {cracky = 2, stone = 1},
+       sounds = default.node_sound_stone_defaults(),
+})
+
 
 minetest.register_node("default:sandstone", {
        description = "Sandstone",
@@ -264,6 +284,14 @@ minetest.register_node("default:sandstonebrick", {
        sounds = default.node_sound_stone_defaults(),
 })
 
+minetest.register_node("default:sandstone_block", {
+       description = "Sandstone Block",
+       tiles = {"default_sandstone_block.png"},
+       is_ground_content = false,
+       groups = {cracky = 2},
+       sounds = default.node_sound_stone_defaults(),
+})
+
 
 minetest.register_node("default:obsidian", {
        description = "Obsidian",
@@ -282,6 +310,14 @@ minetest.register_node("default:obsidianbrick", {
        groups = {cracky = 1, level = 2},
 })
 
+minetest.register_node("default:obsidian_block", {
+       description = "Obsidian Block",
+       tiles = {"default_obsidian_block.png"},
+       is_ground_content = false,
+       sounds = default.node_sound_stone_defaults(),
+       groups = {cracky = 1, level = 2},
+})
+
 --
 -- Soft / Non-Stone
 --
diff --git a/mods/default/textures/default_desert_stone_block.png b/mods/default/textures/default_desert_stone_block.png
new file mode 100644 (file)
index 0000000..ef7ba5b
Binary files /dev/null and b/mods/default/textures/default_desert_stone_block.png differ
diff --git a/mods/default/textures/default_obsidian_block.png b/mods/default/textures/default_obsidian_block.png
new file mode 100644 (file)
index 0000000..262cd37
Binary files /dev/null and b/mods/default/textures/default_obsidian_block.png differ
diff --git a/mods/default/textures/default_sandstone_block.png b/mods/default/textures/default_sandstone_block.png
new file mode 100644 (file)
index 0000000..b97c878
Binary files /dev/null and b/mods/default/textures/default_sandstone_block.png differ
diff --git a/mods/default/textures/default_stone_block.png b/mods/default/textures/default_stone_block.png
new file mode 100644 (file)
index 0000000..3b771e7
Binary files /dev/null and b/mods/default/textures/default_stone_block.png differ