diff --git a/crafting.lua b/crafting.lua index eacf034..5793186 100755 --- a/crafting.lua +++ b/crafting.lua @@ -28,6 +28,15 @@ minetest.register_craft({ } }) +minetest.register_craft({ + output = 'australia:red_stone_block 9', + recipe = { + {'australia:red_stone', 'australia:red_stone', 'australia:red_stone',}, + {'australia:red_stone', 'australia:red_stone', 'australia:red_stone',}, + {'australia:red_stone', 'australia:red_stone', 'australia:red_stone',}, + }, +}) + minetest.register_craft({ output = 'australia:bluestone_brick 4', recipe = { @@ -37,6 +46,16 @@ minetest.register_craft({ }) -- Fences +minetest.register_craft({ + output = 'australia:bluestone_block 9', + recipe = { + {'australia:bluestone', 'australia:bluestone', 'australia:bluestone',}, + {'australia:bluestone', 'australia:bluestone', 'australia:bluestone',}, + {'australia:bluestone', 'australia:bluestone', 'australia:bluestone',}, + }, +}) + + for i in ipairs(aus.treelist) do local treename = aus.treelist[i][1] minetest.register_craft({ diff --git a/depends.txt b/depends.txt index 7ee19c5..4892fb5 100755 --- a/depends.txt +++ b/depends.txt @@ -1,3 +1,4 @@ default bucket? stairs? +walls? diff --git a/mod.conf b/mod.conf index 190174d..74e81c1 100755 --- a/mod.conf +++ b/mod.conf @@ -2,4 +2,4 @@ name = australia title = Australia description = Adds Australian map generation to Minetest Game, including many species of native flora. depends = default, flowers -optional_depends = technic_worldgen, bucket, stairs +optional_depends = technic_worldgen, bucket, stairs, walls diff --git a/nodes.lua b/nodes.lua index 44de6d8..7903abb 100755 --- a/nodes.lua +++ b/nodes.lua @@ -9,3 +9,4 @@ dofile(aus.path .. "/nodes/plantlife_terrestrial.lua") dofile(aus.path .. "/nodes/soils.lua") dofile(aus.path .. "/nodes/stones.lua") dofile(aus.path .. "/nodes/trees.lua") +dofile(aus.path .. "/nodes/walls.lua") diff --git a/nodes/stones.lua b/nodes/stones.lua index 640c92c..67be948 100644 --- a/nodes/stones.lua +++ b/nodes/stones.lua @@ -20,12 +20,22 @@ minetest.register_node("australia:red_cobble", { minetest.register_node("australia:red_stonebrick", { description = "Red Stone Brick", + paramtype2 = "facedir", + place_param2 = 0, tiles = {"aus_red_stonebrick.png"}, is_ground_content = false, groups = {cracky=2, stone=1}, sounds = default.node_sound_stone_defaults(), }) +minetest.register_node("australia:red_stone_block", { + description = "Red Stone Block", + tiles = {"aus_red_stone_block.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) + minetest.register_node("australia:bluestone", { description = "Bluestone (Basalt)", tiles = {"aus_bluestone.png"}, @@ -44,12 +54,22 @@ minetest.register_node("australia:bluestone_cobble", { minetest.register_node("australia:bluestone_brick", { description = "Bluestone Brick", + paramtype2 = "facedir", + place_param2 = 0, tiles = {"aus_bluestone_brick.png"}, is_ground_content = false, groups = {cracky=1, stone=1}, sounds = default.node_sound_stone_defaults(), }) +minetest.register_node("australia:bluestone_block", { + description = "Bluestone Block", + tiles = {"aus_bluestone_block.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = default.node_sound_stone_defaults(), +}) + minetest.register_node("australia:coral_stone_brain", { description = "Sea coral stone", tiles = {"aus_coral_stone.png"}, diff --git a/nodes/walls.lua b/nodes/walls.lua new file mode 100644 index 0000000..6e5ee0f --- /dev/null +++ b/nodes/walls.lua @@ -0,0 +1,17 @@ +if not minetest.get_modpath("walls") then return end + +walls.register("australia:wall_bluestone_cobble", "Bluestone Cobble Wall", + {"aus_bluestone_cobble.png"}, "australia:bluestone_cobble", + default.node_sound_stone_defaults()) + +walls.register("australia:wall_bluestone_brick", "Bluestone Brick Wall", + {"aus_bluestone_brick.png"}, "australia:bluestone_brick", + default.node_sound_stone_defaults()) + +walls.register("australia:wall_red_cobble", "Red Cobblestone Wall", + {"aus_red_cobble.png"}, "australia:red_cobble", + default.node_sound_stone_defaults()) + +walls.register("australia:wall_red_brick", "Red Stone Brick Wall", + {"aus_red_stonebrick.png"}, "australia:red_stonebrick", + default.node_sound_stone_defaults()) diff --git a/textures/aus_bluestone.png b/textures/aus_bluestone.png index b0e6fe9..0bd6fee 100755 Binary files a/textures/aus_bluestone.png and b/textures/aus_bluestone.png differ diff --git a/textures/aus_bluestone_block.png b/textures/aus_bluestone_block.png new file mode 100644 index 0000000..5b00c9f Binary files /dev/null and b/textures/aus_bluestone_block.png differ diff --git a/textures/aus_bluestone_block.xcfxz b/textures/aus_bluestone_block.xcfxz new file mode 100644 index 0000000..8d5a0d5 Binary files /dev/null and b/textures/aus_bluestone_block.xcfxz differ diff --git a/textures/aus_bluestone_brick.png b/textures/aus_bluestone_brick.png index 555cd19..320e0f6 100755 Binary files a/textures/aus_bluestone_brick.png and b/textures/aus_bluestone_brick.png differ diff --git a/textures/aus_bluestone_cobble.png b/textures/aus_bluestone_cobble.png index 931ce17..0c5a470 100755 Binary files a/textures/aus_bluestone_cobble.png and b/textures/aus_bluestone_cobble.png differ diff --git a/textures/aus_red_stone_block.png b/textures/aus_red_stone_block.png new file mode 100644 index 0000000..1f2009b Binary files /dev/null and b/textures/aus_red_stone_block.png differ diff --git a/textures/aus_red_stone_block.xcfxz b/textures/aus_red_stone_block.xcfxz new file mode 100644 index 0000000..c500246 Binary files /dev/null and b/textures/aus_red_stone_block.xcfxz differ