Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions crafting.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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({
Expand Down
1 change: 1 addition & 0 deletions depends.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
default
bucket?
stairs?
walls?
2 changes: 1 addition & 1 deletion mod.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions nodes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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")
20 changes: 20 additions & 0 deletions nodes/stones.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand All @@ -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"},
Expand Down
17 changes: 17 additions & 0 deletions nodes/walls.lua
Original file line number Diff line number Diff line change
@@ -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())
Binary file modified textures/aus_bluestone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added textures/aus_bluestone_block.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added textures/aus_bluestone_block.xcfxz
Binary file not shown.
Binary file modified textures/aus_bluestone_brick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified textures/aus_bluestone_cobble.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added textures/aus_red_stone_block.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added textures/aus_red_stone_block.xcfxz
Binary file not shown.