diff --git a/mods/ITEMS/base/crafting.lua b/mods/ITEMS/base/crafting.lua index a09770b..08286d7 100644 --- a/mods/ITEMS/base/crafting.lua +++ b/mods/ITEMS/base/crafting.lua @@ -496,6 +496,50 @@ minetest.register_craft({ } }) +minetest.register_craft({ + output = "base:red_stonebrick 4", + recipe = { + {"base:red_stone", "base:red_stone"}, + {"base:red_stone", "base:red_stone"}, + } +}) + +minetest.register_craft({ + output = "base:bluestone_brick 4", + recipe = { + {"base:bluestone", "base:bluestone"}, + {"base:bluestone", "base:bluestone"}, + } +}) + +-- Small rocks can be used to create cobblestone. +minetest.register_craft({ + output = "base:red_cobble", + recipe = { + {"", "", ""}, + {"base:small_red_rocks", "base:small_red_rocks", ""}, + {"base:small_red_rocks", "base:small_red_rocks", ""}, + } +}) + +minetest.register_craft({ + output = "base:sandstone_cobble", + recipe = { + {"", "", ""}, + {"base:small_sandstone_rocks", "base:small_sandstone_rocks", ""}, + {"base:small_sandstone_rocks", "base:small_sandstone_rocks", ""}, + } +}) + +minetest.register_craft({ + output = "base:cobble", + recipe = { + {"", "", ""}, + {"base:small_stone_rocks", "base:small_stone_rocks", ""}, + {"base:small_stone_rocks", "base:small_stone_rocks", ""}, + } +}) + -- -- Crafting (tool repair) @@ -570,6 +614,18 @@ minetest.register_craft({ recipe = "base:clay_lump", }) +minetest.register_craft({ + type = "cooking", + output = "base:bluestone", + recipe = "base:bluestone_cobble", +}) + +minetest.register_craft({ + type = "cooking", + output = "base:red_stone", + recipe = "base:red_cobble", +}) + -- -- Fuels diff --git a/mods/MAPGEN/australia/models/cavestuff_pebble.obj b/mods/ITEMS/base/models/base_pebble.obj similarity index 100% rename from mods/MAPGEN/australia/models/cavestuff_pebble.obj rename to mods/ITEMS/base/models/base_pebble.obj diff --git a/mods/ITEMS/base/nodes_base.lua b/mods/ITEMS/base/nodes_base.lua index 03aeeab..fdb5506 100644 --- a/mods/ITEMS/base/nodes_base.lua +++ b/mods/ITEMS/base/nodes_base.lua @@ -186,6 +186,62 @@ minetest.register_node("base:obsidian_block", { groups = {cracky = 1, level = 2}, }) +minetest.register_node("base:red_stone", { + description = "Red Stone", + tiles = {"base_red_stone.png"}, + groups = {cracky = 3, stone = 1}, + drop = "base:red_cobble", + sounds = base.node_sound_stone_defaults(), +}) + +minetest.register_node("base:red_cobble", { + description = "Red Cobblestone", + tiles = {"base_red_cobble.png"}, + is_ground_content = false, + groups = {cracky = 3, stone = 2}, + sounds = base.node_sound_stone_defaults(), +}) + +minetest.register_node("base:red_stonebrick", { + description = "Red Stone Brick", + tiles = {"base_red_stonebrick.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 1}, + sounds = base.node_sound_stone_defaults(), +}) + +minetest.register_node("base:sandstone_cobble", { + description = "Sandstone Cobble", + tiles = {"base_sandstone_cobble.png"}, + groups = {crumbly = 1, cracky = 3, oddly_breakable_by_hand = 1}, + sounds = base.node_sound_stone_defaults(), +}) + +minetest.register_node("base:bluestone", { + description = "Bluestone (Basalt)", + tiles = {"base_bluestone.png"}, + groups = {cracky = 2, stone = 1}, + drop = "base:bluestone_cobble", + sounds = base.node_sound_stone_defaults(), +}) + +minetest.register_node("base:bluestone_cobble", { + description = "Bluestone (Basalt) Cobble", + tiles = {"base_bluestone_cobble.png"}, + is_ground_content = false, + groups = {cracky = 2, stone = 2}, + sounds = base.node_sound_stone_defaults(), +}) + +minetest.register_node("base:bluestone_brick", { + description = "Bluestone Brick", + tiles = {"base_bluestone_brick.png"}, + is_ground_content = false, + groups = {cracky = 1, stone = 1}, + sounds = base.node_sound_stone_defaults(), +}) + + -- -- Soft / Non-Stone -- @@ -197,6 +253,13 @@ minetest.register_node("base:dirt", { sounds = base.node_sound_dirt_defaults(), }) +minetest.register_node("base:red_dirt", { + description = "Red Dirt", + tiles = {"base_red_dirt.png"}, + groups = {crumbly = 3, soil = 1}, + sounds = base.node_sound_dirt_defaults(), +}) + minetest.register_node("base:dirt_with_grass", { description = "Dirt with Grass", tiles = {"base_grass.png", "base_dirt.png", @@ -282,6 +345,13 @@ minetest.register_node("base:silver_sand", { sounds = base.node_sound_sand_defaults(), }) +minetest.register_node("base:red_sand", { + description = "Red Sand", + tiles = {"base_red_sand.png"}, + groups = {crumbly = 3, falling_node = 1, sand = 1}, + sounds = base.node_sound_sand_defaults(), +}) + minetest.register_node("base:gravel", { description = "Gravel", tiles = {"base_gravel.png"}, @@ -296,6 +366,15 @@ minetest.register_node("base:gravel", { } }) +minetest.register_node("base:red_gravel", { + description = "Red Gravel", + tiles = {"base_red_gravel.png"}, + groups = {crumbly = 2, falling_node = 1}, + sounds = base.node_sound_gravel_defaults(), + }), +}) + + minetest.register_node("base:clay", { description = "Clay", tiles = {"base_clay.png"}, @@ -371,13 +450,6 @@ minetest.register_node("base:mangrove_mud", { }), }) -minetest.register_node("base:red_sand", { - description = "Red Sand", - tiles = {"base_red_sand.png"}, - groups = {crumbly = 3, falling_node = 1, sand = 1}, - sounds = base.node_sound_sand_defaults(), -}) - minetest.register_node("base:mineral_salt", { description = "Salt Mineral", tiles = {"base_red_sand.png^base_mineral_salt.png"}, @@ -447,6 +519,14 @@ minetest.register_node("base:stone_with_copper", { sounds = base.node_sound_stone_defaults(), }) +minetest.register_node("base:stone_with_opal", { + description = "Opal Ore", + tiles = {"base_stone.png^base_mineral_opal.png"}, + groups = {cracky = 2}, + drop = "base:opal", + sounds = base.node_sound_stone_defaults(), +}) + minetest.register_node("base:copperblock", { description = "Copper Block", tiles = {"base_copper_block.png"}, diff --git a/mods/ITEMS/base/nodes_misc.lua b/mods/ITEMS/base/nodes_misc.lua index 7e5d58b..8f7a3ae 100644 --- a/mods/ITEMS/base/nodes_misc.lua +++ b/mods/ITEMS/base/nodes_misc.lua @@ -32,3 +32,238 @@ minetest.register_node("base:salt", { }, }) +minetest.register_node("base:opal",{ + description = "Opal", + drawtype = "mesh", + mesh = "base_pebble.obj", + tiles = {"base_opal.png"}, + paramtype = "light", + paramtype2 = "facedir", + groups = {cracky=2, stone=1, dig_immediate = 1}, + selection_box = { + type = "fixed", + fixed = {-5/16, -8/16, -6/16, 5/16, -1/32, 5/16}, + }, + collision_box = { + type = "fixed", + fixed = {-5/16, -8/16, -6/16, 5/16, -1/32, 5/16}, + }, + sounds = base.node_sound_stone_defaults(), +}) + + +--[[ + Small Rocks +--]] + +-- Place a small nodebox. +local function small_cube(grid, pos, diameters) + local rock = {} + + rock[1] = pos.x + rock[2] = pos.y + rock[3] = pos.z + rock[4] = pos.x + diameters.x + rock[5] = pos.y + diameters.y + rock[6] = pos.z + diameters.z + push(grid, rock) +end + +-- Small red rocks +local default_grid_red_rocks + +for grid_count = 1, 6 do + local grid = {} + for rock_count = 2, math.random(1, 4) + 1 do + local diameter = math.random(15, 25) / 100 + local x = math.random(1, 80) / 100 - 0.5 + local z = math.random(1, 80) / 100 - 0.5 + small_cube(grid, {x = x, y = -0.5, z = z}, {x = diameter, y = diameter, z = diameter}) + end + + minetest.register_node("base:small_red_rocks"..grid_count, { + description = "Small Red Rocks", + tiles = {"base_red_stone.png"}, + is_ground_content = true, + walkable = false, + paramtype = "light", + drawtype = "nodebox", + buildable_to = true, + node_box = {type = "fixed", fixed = grid}, + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, + }, + groups = {stone = 1, oddly_breakable_by_hand = 3}, + drop = "base:small_red_rocks", + sounds = base.node_sound_stone_defaults(), + }) + + default_grid_red_rocks = grid +end + +minetest.register_node("base:small_red_rocks", { + description = "Small Red Rocks", + tiles = {"base_red_stone.png"}, + inventory_image = "base_small_red_rocks.png", + is_ground_content = true, + walkable = false, + paramtype = "light", + drawtype = "nodebox", + node_box = {type = "fixed", fixed = default_grid_red_rocks}, + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, + }, + groups = {stone = 1, oddly_breakable_by_hand = 3}, + sounds = base.node_sound_stone_defaults(), + on_place = function(itemstack, placer, pointed_thing) + local pos = pointed_thing.above + local player_name = placer:get_player_name() + -- place a random small red rocks node + if not minetest.is_protected(pos, player_name) then + minetest.set_node(pos, {name = "base:small_red_rocks"..math.random(1, 6)}) + if not minetest.setting_getbool("creative_mode") then + itemstack:take_item() + end + else + minetest.chat_send_player(player_name, "Node is protected") + minetest.record_protection_violation(pos, player_name) + end + + return itemstack + end +}) + +-- Small sandstone rocks +local default_grid_sandstone_rocks + +for grid_count = 1, 6 do + local grid = {} + for rock_count = 2, math.random(1, 4) + 1 do + local diameter = math.random(15, 25) / 100 + local x = math.random(1, 80) / 100 - 0.5 + local z = math.random(1, 80) / 100 - 0.5 + small_cube(grid, {x = x, y = -0.5, z = z}, {x = diameter, y = diameter, z = diameter}) + end + + minetest.register_node("base:small_sandstone_rocks"..grid_count, { + description = "Small Sandstone Rocks", + tiles = {"base_sandstone.png"}, + is_ground_content = true, + walkable = false, + paramtype = "light", + drawtype = "nodebox", + buildable_to = true, + node_box = {type = "fixed", fixed = grid}, + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, + }, + groups = {stone = 1, oddly_breakable_by_hand = 3}, + drop = "base:small_sandstone_rocks", + sounds = base.node_sound_stone_defaults(), + }) + + default_grid_sandstone_rocks = grid +end + +minetest.register_node("base:small_sandstone_rocks", { + description = "Small Sandstone Rocks", + tiles = {"base_sandstone.png"}, + inventory_image = "base_small_sandstone_rocks.png", + is_ground_content = true, + walkable = false, + paramtype = "light", + drawtype = "nodebox", + node_box = {type = "fixed", fixed = default_grid_sandstone_rocks}, + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, + }, + groups = {stone = 1, oddly_breakable_by_hand = 3}, + sounds = base.node_sound_stone_defaults(), + on_place = function(itemstack, placer, pointed_thing) + local pos = pointed_thing.above + local player_name = placer:get_player_name() + -- place a random small sandstone rocks node + if not minetest.is_protected(pos, player_name) then + minetest.set_node(pos, {name = "base:small_sandstone_rocks"..math.random(1, 6)}) + if not minetest.setting_getbool("creative_mode") then + itemstack:take_item() + end + else + minetest.chat_send_player(player_name, "Node is protected") + minetest.record_protection_violation(pos, player_name) + end + + return itemstack + end +}) + +-- Small stone rocks +local default_grid_stone_rocks + +for grid_count = 1, 6 do + local grid = {} + for rock_count = 2, math.random(1, 4) + 1 do + local diameter = math.random(15, 25) / 100 + local x = math.random(1, 80) / 100 - 0.5 + local z = math.random(1, 80) / 100 - 0.5 + small_cube(grid, {x = x, y = -0.5, z = z}, {x = diameter, y = diameter, z = diameter}) + end + + minetest.register_node("base:small_stone_rocks"..grid_count, { + description = "Small Stone Rocks", + tiles = {"base_stone.png"}, + is_ground_content = true, + walkable = false, + paramtype = "light", + drawtype = "nodebox", + buildable_to = true, + node_box = {type = "fixed", fixed = grid}, + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, + }, + groups = {stone = 1, oddly_breakable_by_hand = 3}, + drop = "base:small_stone_rocks", + sounds = base.node_sound_stone_defaults(), + }) + + default_grid_stone_rocks = grid +end + +minetest.register_node("base:small_stone_rocks", { + description = "Small Stone Rocks", + tiles = {"base_stone.png"}, + inventory_image = "base_small_stone_rocks.png", + is_ground_content = true, + walkable = false, + paramtype = "light", + drawtype = "nodebox", + node_box = {type = "fixed", fixed = default_grid_stone_rocks}, + selection_box = { + type = "fixed", + fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, + }, + groups = {stone = 1, oddly_breakable_by_hand = 3}, + sounds = base.node_sound_stone_defaults(), + on_place = function(itemstack, placer, pointed_thing) + local pos = pointed_thing.above + local player_name = placer:get_player_name() + -- place a random small stone rocks node + if not minetest.is_protected(pos, player_name) then + minetest.set_node(pos, {name = "base:small_stone_rocks"..math.random(1, 6)}) + if not minetest.setting_getbool("creative_mode") then + itemstack:take_item() + end + else + minetest.chat_send_player(player_name, "Node is protected") + minetest.record_protection_violation(pos, player_name) + end + + return itemstack + end +}) + diff --git a/mods/MAPGEN/australia/textures/aus_bluestone.png b/mods/ITEMS/base/textures/base_bluestone.png similarity index 100% rename from mods/MAPGEN/australia/textures/aus_bluestone.png rename to mods/ITEMS/base/textures/base_bluestone.png diff --git a/mods/MAPGEN/australia/textures/aus_bluestone_brick.png b/mods/ITEMS/base/textures/base_bluestone_brick.png similarity index 100% rename from mods/MAPGEN/australia/textures/aus_bluestone_brick.png rename to mods/ITEMS/base/textures/base_bluestone_brick.png diff --git a/mods/MAPGEN/australia/textures/aus_bluestone_cobble.png b/mods/ITEMS/base/textures/base_bluestone_cobble.png similarity index 100% rename from mods/MAPGEN/australia/textures/aus_bluestone_cobble.png rename to mods/ITEMS/base/textures/base_bluestone_cobble.png diff --git a/mods/MAPGEN/australia/textures/aus_mineral_opal.png b/mods/ITEMS/base/textures/base_mineral_opal.png similarity index 100% rename from mods/MAPGEN/australia/textures/aus_mineral_opal.png rename to mods/ITEMS/base/textures/base_mineral_opal.png diff --git a/mods/MAPGEN/australia/textures/aus_opal.png b/mods/ITEMS/base/textures/base_opal.png similarity index 100% rename from mods/MAPGEN/australia/textures/aus_opal.png rename to mods/ITEMS/base/textures/base_opal.png diff --git a/mods/MAPGEN/australia/textures/aus_red_cobble.png b/mods/ITEMS/base/textures/base_red_cobble.png similarity index 100% rename from mods/MAPGEN/australia/textures/aus_red_cobble.png rename to mods/ITEMS/base/textures/base_red_cobble.png diff --git a/mods/MAPGEN/australia/textures/aus_red_dirt.png b/mods/ITEMS/base/textures/base_red_dirt.png similarity index 100% rename from mods/MAPGEN/australia/textures/aus_red_dirt.png rename to mods/ITEMS/base/textures/base_red_dirt.png diff --git a/mods/MAPGEN/australia/textures/aus_red_gravel.png b/mods/ITEMS/base/textures/base_red_gravel.png similarity index 100% rename from mods/MAPGEN/australia/textures/aus_red_gravel.png rename to mods/ITEMS/base/textures/base_red_gravel.png diff --git a/mods/MAPGEN/australia/textures/aus_red_stone.png b/mods/ITEMS/base/textures/base_red_stone.png similarity index 100% rename from mods/MAPGEN/australia/textures/aus_red_stone.png rename to mods/ITEMS/base/textures/base_red_stone.png diff --git a/mods/MAPGEN/australia/textures/aus_red_stonebrick.png b/mods/ITEMS/base/textures/base_red_stonebrick.png similarity index 100% rename from mods/MAPGEN/australia/textures/aus_red_stonebrick.png rename to mods/ITEMS/base/textures/base_red_stonebrick.png diff --git a/mods/ITEMS/bucket/init.lua b/mods/ITEMS/bucket/init.lua index a1b5ce9..d21e15c 100644 --- a/mods/ITEMS/bucket/init.lua +++ b/mods/ITEMS/bucket/init.lua @@ -198,6 +198,15 @@ bucket.register_liquid( true ) +bucket.register_liquid( + "base:muddy_water_source", + "base:muddy_water_flowing", + "bucket:bucket_muddy_water", + "bucket_muddy_water.png", + "Muddy Water Bucket", + {water_bucket = 1} +) + bucket.register_liquid( "base:lava_source", "base:lava_flowing", diff --git a/mods/MAPGEN/australia/textures/aus_bucket_muddy_water.png b/mods/ITEMS/bucket/textures/bucket_muddy_water.png similarity index 100% rename from mods/MAPGEN/australia/textures/aus_bucket_muddy_water.png rename to mods/ITEMS/bucket/textures/bucket_muddy_water.png diff --git a/mods/MAPGEN/australia/biome_australian_alps.lua b/mods/MAPGEN/australia/biome_australian_alps.lua index e9c851e..3f18123 100644 --- a/mods/MAPGEN/australia/biome_australian_alps.lua +++ b/mods/MAPGEN/australia/biome_australian_alps.lua @@ -29,7 +29,7 @@ minetest.register_biome({ -- Bluestone (Basalt) minetest.register_ore({ ore_type = "sheet", - ore = "australia:bluestone", + ore = "base:bluestone", wherein = "base:stone", column_height_min = 2, column_height_max = 4, diff --git a/mods/MAPGEN/australia/biome_central_australia.lua b/mods/MAPGEN/australia/biome_central_australia.lua index 877801c..f7f56fa 100644 --- a/mods/MAPGEN/australia/biome_central_australia.lua +++ b/mods/MAPGEN/australia/biome_central_australia.lua @@ -6,13 +6,13 @@ local math_random = math.random -- central australia minetest.register_biome({ name = "central_australia", - node_top = "australia:red_dirt", + node_top = "base:red_dirt", depth_top = 1, - node_filler = "australia:red_stone", + node_filler = "base:red_stone", depth_filler = 2, node_stone = "base:stone", node_river_water = "base:muddy_water_source", - node_riverbed = "australia:red_dirt", + node_riverbed = "base:red_dirt", depth_riverbed = 1, y_min = 4, y_max = 31000, @@ -31,7 +31,7 @@ minetest.register_biome({ -- Coober Pedy minetest.register_ore({ ore_type = "vein", - ore = "australia:stone_with_opal", + ore = "base:stone_with_opal", wherein = "base:stone", biomes = {"central_australia"}, y_min = -30, @@ -179,9 +179,9 @@ aus.register_plant({ local function register_small_red_rocks(number) minetest.register_decoration({ deco_type = "simple", - decoration = "australia:small_red_rocks"..number, + decoration = "base:small_red_rocks"..number, sidelen = 80, - place_on = {"australia:red_dirt"}, + place_on = {"base:red_dirt"}, fill_ratio = 0.002, biomes = {"central_australia"}, flags = "place_center_x, place_center_z", diff --git a/mods/MAPGEN/australia/biome_eastern_coasts.lua b/mods/MAPGEN/australia/biome_eastern_coasts.lua index 5af1ced..f094b42 100644 --- a/mods/MAPGEN/australia/biome_eastern_coasts.lua +++ b/mods/MAPGEN/australia/biome_eastern_coasts.lua @@ -30,7 +30,7 @@ minetest.register_biome({ -- Bluestone (Basalt) minetest.register_ore({ ore_type = "sheet", - ore = "australia:bluestone", + ore = "base:bluestone", wherein = "base:stone", column_height_min = 2, column_height_max = 4, @@ -156,7 +156,7 @@ minetest.register_decoration({ local function register_small_stone_rocks(number) minetest.register_decoration({ deco_type = "simple", - decoration = "australia:small_stone_rocks"..number, + decoration = "base:small_stone_rocks"..number, sidelen = 80, place_on = {"base:dirt_with_grass"}, fill_ratio = 0.003, diff --git a/mods/MAPGEN/australia/biome_far_north_queensland.lua b/mods/MAPGEN/australia/biome_far_north_queensland.lua index ee89571..8831366 100644 --- a/mods/MAPGEN/australia/biome_far_north_queensland.lua +++ b/mods/MAPGEN/australia/biome_far_north_queensland.lua @@ -116,7 +116,7 @@ aus.register_plant({ local function register_small_stone_rocks(number) minetest.register_decoration({ deco_type = "simple", - decoration = "australia:small_stone_rocks"..number, + decoration = "base:small_stone_rocks"..number, sidelen = 80, place_on = {"base:dirt_with_grass"}, fill_ratio = 0.001, diff --git a/mods/MAPGEN/australia/biome_flinders_lofty.lua b/mods/MAPGEN/australia/biome_flinders_lofty.lua index c4fa3ed..d990a85 100644 --- a/mods/MAPGEN/australia/biome_flinders_lofty.lua +++ b/mods/MAPGEN/australia/biome_flinders_lofty.lua @@ -8,7 +8,7 @@ minetest.register_biome({ name = "flinders_lofty", node_top = "base:dirt_with_dry_grass", depth_top = 1, - node_filler = "australia:red_dirt", + node_filler = "base:red_dirt", depth_filler = 2, node_stone = "base:stone", node_river_water = "base:muddy_water_source", @@ -30,7 +30,7 @@ minetest.register_biome({ -- Bluestone (Basalt) minetest.register_ore({ ore_type = "blob", - ore = "australia:bluestone", + ore = "base:bluestone", wherein = {"base:stone"}, clust_scarcity = 24 * 24 * 24, clust_size = 8, @@ -50,7 +50,7 @@ minetest.register_ore({ minetest.register_ore({ ore_type = "sheet", - ore = "australia:bluestone", + ore = "base:bluestone", wherein = "base:stone", column_height_min = 2, column_height_max = 4, diff --git a/mods/MAPGEN/australia/biome_goldfields_esperence.lua b/mods/MAPGEN/australia/biome_goldfields_esperence.lua index c73283e..48465d1 100644 --- a/mods/MAPGEN/australia/biome_goldfields_esperence.lua +++ b/mods/MAPGEN/australia/biome_goldfields_esperence.lua @@ -107,7 +107,7 @@ aus.register_plant({ local function register_small_sandstone_rocks(number) minetest.register_decoration({ deco_type = "simple", - decoration = "australia:small_sandstone_rocks"..number, + decoration = "base:small_sandstone_rocks"..number, sidelen = 80, place_on = {"base:desert_sand"}, fill_ratio = 0.002, diff --git a/mods/MAPGEN/australia/biome_great_australian_bight.lua b/mods/MAPGEN/australia/biome_great_australian_bight.lua index 1f3daed..a8d2b04 100644 --- a/mods/MAPGEN/australia/biome_great_australian_bight.lua +++ b/mods/MAPGEN/australia/biome_great_australian_bight.lua @@ -8,7 +8,7 @@ minetest.register_biome({ name = "great_australian_bight", node_top = "base:sandstone", depth_top = 3, - node_filler = "australia:bluestone", + node_filler = "base:bluestone", depth_filler = 4, node_stone = "base:stone", node_riverbed = "base:sandstone", diff --git a/mods/MAPGEN/australia/biome_great_barrier_reef.lua b/mods/MAPGEN/australia/biome_great_barrier_reef.lua index e1446a8..acc9b1d 100644 --- a/mods/MAPGEN/australia/biome_great_barrier_reef.lua +++ b/mods/MAPGEN/australia/biome_great_barrier_reef.lua @@ -8,7 +8,7 @@ minetest.register_biome({ name = "great_barrier_reef", node_top = "base:sand", depth_top = 3, - node_filler = "australia:bluestone", + node_filler = "base:bluestone", depth_filler = 4, node_stone = "base:stone", node_riverbed = "base:sand", diff --git a/mods/MAPGEN/australia/biome_indian_ocean.lua b/mods/MAPGEN/australia/biome_indian_ocean.lua index 3937efe..bdaff71 100644 --- a/mods/MAPGEN/australia/biome_indian_ocean.lua +++ b/mods/MAPGEN/australia/biome_indian_ocean.lua @@ -8,7 +8,7 @@ minetest.register_biome({ name = "indian_ocean", node_top = "base:sand", depth_top = 3, - node_filler = "australia:bluestone", + node_filler = "base:bluestone", depth_filler = 4, node_stone = "base:stone", node_riverbed = "base:sand", diff --git a/mods/MAPGEN/australia/biome_jarrah_karri_forests.lua b/mods/MAPGEN/australia/biome_jarrah_karri_forests.lua index 448be9a..b230b84 100644 --- a/mods/MAPGEN/australia/biome_jarrah_karri_forests.lua +++ b/mods/MAPGEN/australia/biome_jarrah_karri_forests.lua @@ -30,7 +30,7 @@ minetest.register_biome({ -- Bluestone (Basalt) minetest.register_ore({ ore_type = "sheet", - ore = "australia:bluestone", + ore = "base:bluestone", wherein = "base:stone", column_height_min = 2, column_height_max = 4, @@ -177,7 +177,7 @@ aus.register_plant({ local function register_small_stone_rocks(number) minetest.register_decoration({ deco_type = "simple", - decoration = "australia:small_stone_rocks"..number, + decoration = "base:small_stone_rocks"..number, sidelen = 80, place_on = {"base:dirt_with_grass"}, fill_ratio = 0.001, diff --git a/mods/MAPGEN/australia/biome_mulga_lands.lua b/mods/MAPGEN/australia/biome_mulga_lands.lua index e9ace32..5c9f7bb 100644 --- a/mods/MAPGEN/australia/biome_mulga_lands.lua +++ b/mods/MAPGEN/australia/biome_mulga_lands.lua @@ -8,7 +8,7 @@ minetest.register_biome({ name = "mulga_lands", node_top = "base:dirt_with_dry_grass", depth_top = 1, - node_filler = "australia:red_dirt", + node_filler = "base:red_dirt", depth_filler = 2, node_stone = "base:stone", node_river_water = "base:muddy_water_source", @@ -101,7 +101,7 @@ aus.register_plant({ local function register_small_stone_rocks(number) minetest.register_decoration({ deco_type = "simple", - decoration = "australia:small_stone_rocks"..number, + decoration = "base:small_stone_rocks"..number, sidelen = 80, place_on = {"base:dirt_with_dry_grass"}, fill_ratio = 0.001, diff --git a/mods/MAPGEN/australia/biome_murray_darling_basin.lua b/mods/MAPGEN/australia/biome_murray_darling_basin.lua index 47a556a..8fcb279 100644 --- a/mods/MAPGEN/australia/biome_murray_darling_basin.lua +++ b/mods/MAPGEN/australia/biome_murray_darling_basin.lua @@ -29,7 +29,7 @@ minetest.register_biome({ minetest.register_ore({ ore_type = "sheet", - ore = "australia:bluestone", + ore = "base:bluestone", wherein = "base:stone", column_height_min = 2, column_height_max = 4, diff --git a/mods/MAPGEN/australia/biome_pilbara.lua b/mods/MAPGEN/australia/biome_pilbara.lua index 9f89a17..78ba8b3 100644 --- a/mods/MAPGEN/australia/biome_pilbara.lua +++ b/mods/MAPGEN/australia/biome_pilbara.lua @@ -6,13 +6,13 @@ local math_random = math.random -- pilbara minetest.register_biome({ name = "pilbara", - node_top = "australia:red_gravel", + node_top = "base:red_gravel", depth_top = 2, - node_filler = "australia:red_stone", + node_filler = "base:red_stone", depth_filler = 2, node_stone = "base:stone", node_river_water = "base:muddy_water_source", - node_riverbed = "australia:red_gravel", + node_riverbed = "base:red_gravel", depth_riverbed = 1, y_min = 4, y_max = 31000, @@ -57,7 +57,7 @@ minetest.register_ore({ local function register_dry_grass_decoration(offset, scale, length) minetest.register_decoration({ deco_type = "simple", - place_on = {"australia:red_gravel"}, + place_on = {"base:red_gravel"}, sidelen = 16, noise_params = { offset = offset, @@ -126,9 +126,9 @@ aus.register_plant({ local function register_small_red_rocks(number) minetest.register_decoration({ deco_type = "simple", - decoration = "australia:small_red_rocks"..number, + decoration = "base:small_red_rocks"..number, sidelen = 80, - place_on = {"australia:red_gravel"}, + place_on = {"base:red_gravel"}, fill_ratio = 0.003, biomes = {"pilbara"}, flags = "place_center_x, place_center_z", diff --git a/mods/MAPGEN/australia/biome_simpson_desert.lua b/mods/MAPGEN/australia/biome_simpson_desert.lua index 788db69..86091eb 100644 --- a/mods/MAPGEN/australia/biome_simpson_desert.lua +++ b/mods/MAPGEN/australia/biome_simpson_desert.lua @@ -8,11 +8,11 @@ minetest.register_biome({ name = "simpson_desert", node_top = "base:red_sand", depth_top = 3, - node_filler = "australia:red_stone", + node_filler = "base:red_stone", depth_filler = 2, node_stone = "base:stone", node_river_water = "base:muddy_water_source", - node_riverbed = "australia:red_gravel", + node_riverbed = "base:red_gravel", depth_riverbed = 1, y_min = 4, y_max = 31000, @@ -36,7 +36,7 @@ minetest.register_biome({ local function register_small_red_rocks(number) minetest.register_decoration({ deco_type = "simple", - decoration = "australia:small_red_rocks"..number, + decoration = "base:small_red_rocks"..number, sidelen = 80, place_on = {"base:red_sand"}, fill_ratio = 0.001, diff --git a/mods/MAPGEN/australia/biome_tasman_sea.lua b/mods/MAPGEN/australia/biome_tasman_sea.lua index bcfe7c5..059f3eb 100644 --- a/mods/MAPGEN/australia/biome_tasman_sea.lua +++ b/mods/MAPGEN/australia/biome_tasman_sea.lua @@ -8,7 +8,7 @@ minetest.register_biome({ name = "tasman_sea", node_top = "base:sand", depth_top = 3, - node_filler = "australia:bluestone", + node_filler = "base:bluestone", depth_filler = 4, node_stone = "base:stone", node_riverbed = "base:sand", diff --git a/mods/MAPGEN/australia/biome_tasmania.lua b/mods/MAPGEN/australia/biome_tasmania.lua index a6e39ba..352c352 100644 --- a/mods/MAPGEN/australia/biome_tasmania.lua +++ b/mods/MAPGEN/australia/biome_tasmania.lua @@ -91,7 +91,7 @@ minetest.register_decoration({ local function register_small_stone_rocks(number) minetest.register_decoration({ deco_type = "simple", - decoration = "australia:small_stone_rocks"..number, + decoration = "base:small_stone_rocks"..number, sidelen = 80, place_on = {"base:dirt_with_grass"}, fill_ratio = 0.001, diff --git a/mods/MAPGEN/australia/biome_timor_sea.lua b/mods/MAPGEN/australia/biome_timor_sea.lua index 2e1a824..253e2ad 100644 --- a/mods/MAPGEN/australia/biome_timor_sea.lua +++ b/mods/MAPGEN/australia/biome_timor_sea.lua @@ -8,7 +8,7 @@ minetest.register_biome({ name = "timor_sea", node_top = "base:sand", depth_top = 3, - node_filler = "australia:bluestone", + node_filler = "base:bluestone", depth_filler = 2, node_stone = "base:stone", node_water = "base:water_source", diff --git a/mods/MAPGEN/australia/biome_top_end.lua b/mods/MAPGEN/australia/biome_top_end.lua index 1708bc8..6764ba2 100644 --- a/mods/MAPGEN/australia/biome_top_end.lua +++ b/mods/MAPGEN/australia/biome_top_end.lua @@ -223,7 +223,7 @@ aus.register_plant({ local function register_small_sandstone_rocks(number) minetest.register_decoration({ deco_type = "simple", - decoration = "australia:small_sandstone_rocks"..number, + decoration = "base:small_sandstone_rocks"..number, sidelen = 80, place_on = {"base:dirt_with_grass"}, fill_ratio = 0.002, diff --git a/mods/MAPGEN/australia/biome_victorian_forests.lua b/mods/MAPGEN/australia/biome_victorian_forests.lua index a36ea29..6e214bf 100644 --- a/mods/MAPGEN/australia/biome_victorian_forests.lua +++ b/mods/MAPGEN/australia/biome_victorian_forests.lua @@ -30,7 +30,7 @@ minetest.register_biome({ -- Bluestone (Basalt) minetest.register_ore({ ore_type = "sheet", - ore = "australia:bluestone", + ore = "base:bluestone", wherein = {"base:stone"}, column_height_min = 2, column_height_max = 4, @@ -177,7 +177,7 @@ minetest.register_decoration({ local function register_small_stone_rocks(number) minetest.register_decoration({ deco_type = "simple", - decoration = "australia:small_stone_rocks"..number, + decoration = "base:small_stone_rocks"..number, sidelen = 80, place_on = {"base:dirt_with_grass"}, fill_ratio = 0.003, diff --git a/mods/MAPGEN/australia/crafting.lua b/mods/MAPGEN/australia/crafting.lua index fde3371..bb41aeb 100644 --- a/mods/MAPGEN/australia/crafting.lua +++ b/mods/MAPGEN/australia/crafting.lua @@ -1,49 +1,5 @@ -- mods/australia_modpack/australia/crafting.lua -minetest.register_craft({ - output = "australia:red_stonebrick 4", - recipe = { - {"australia:red_stone", "australia:red_stone"}, - {"australia:red_stone", "australia:red_stone"}, - } -}) - -minetest.register_craft({ - output = "australia:bluestone_brick 4", - recipe = { - {"australia:bluestone", "australia:bluestone"}, - {"australia:bluestone", "australia:bluestone"}, - } -}) - --- Small rocks can be used to create cobblestone. -minetest.register_craft({ - output = "australia:red_cobble", - recipe = { - {"", "", ""}, - {"australia:small_red_rocks", "australia:small_red_rocks", ""}, - {"australia:small_red_rocks", "australia:small_red_rocks", ""}, - } -}) - -minetest.register_craft({ - output = "australia:sandstone_cobble", - recipe = { - {"", "", ""}, - {"australia:small_sandstone_rocks", "australia:small_sandstone_rocks", ""}, - {"australia:small_sandstone_rocks", "australia:small_sandstone_rocks", ""}, - } -}) - -minetest.register_craft({ - output = "base:cobble", - recipe = { - {"", "", ""}, - {"australia:small_stone_rocks", "australia:small_stone_rocks", ""}, - {"australia:small_stone_rocks", "australia:small_stone_rocks", ""}, - } -}) - --[[ Fences @@ -452,19 +408,3 @@ minetest.register_craft({ } }) - ---[[ - Cooking recipes ---]] - -minetest.register_craft({ - type = "cooking", - output = "australia:bluestone", - recipe = "australia:bluestone_cobble", -}) - -minetest.register_craft({ - type = "cooking", - output = "australia:red_stone", - recipe = "australia:red_cobble", -}) diff --git a/mods/MAPGEN/australia/craftitems.lua b/mods/MAPGEN/australia/craftitems.lua index baab39c..8c09fa0 100644 --- a/mods/MAPGEN/australia/craftitems.lua +++ b/mods/MAPGEN/australia/craftitems.lua @@ -1,15 +1,5 @@ -- mods/australia_modpack/australia/craftitems.lua --- Bucket muddy_water -bucket.register_liquid( - "base:muddy_water_source", - "base:muddy_water_flowing", - "australia:bucket_muddy_water", - "aus_bucket_muddy_water.png", - "Muddy Water Bucket", - {water_bucket = 1} -) - --[[ Stairs and slabs diff --git a/mods/MAPGEN/australia/nodes.lua b/mods/MAPGEN/australia/nodes.lua index f45b884..f7031ab 100644 --- a/mods/MAPGEN/australia/nodes.lua +++ b/mods/MAPGEN/australia/nodes.lua @@ -1,6 +1,5 @@ -- mods/australia_modpack/australia/nodes.lua dofile(aus.path .. "/nodes_plants.lua") -dofile(aus.path .. "/nodes_other.lua") dofile(aus.path .. "/nodes_sea.lua") dofile(aus.path .. "/nodes_trees.lua") diff --git a/mods/MAPGEN/australia/nodes_other.lua b/mods/MAPGEN/australia/nodes_other.lua deleted file mode 100644 index d734dad..0000000 --- a/mods/MAPGEN/australia/nodes_other.lua +++ /dev/null @@ -1,317 +0,0 @@ --- mods/australia_modpack/australia/nodes_other.lua - -minetest.register_node("australia:red_stone", { - description = "Red Stone", - tiles = {"aus_red_stone.png"}, - groups = {cracky = 3, stone = 1}, - drop = "australia:red_cobble", - sounds = base.node_sound_stone_defaults(), -}) - -minetest.register_node("australia:red_cobble", { - description = "Red Cobblestone", - tiles = {"aus_red_cobble.png"}, - is_ground_content = false, - groups = {cracky = 3, stone = 2}, - sounds = base.node_sound_stone_defaults(), -}) - -minetest.register_node("australia:red_stonebrick", { - description = "Red Stone Brick", - tiles = {"aus_red_stonebrick.png"}, - is_ground_content = false, - groups = {cracky = 2, stone = 1}, - sounds = base.node_sound_stone_defaults(), -}) - -minetest.register_node("australia:sandstone_cobble", { - description = "Sandstone Cobble", - tiles = {"aus_sandstone_cobble.png"}, - groups = {crumbly = 1, cracky = 3, oddly_breakable_by_hand = 1}, - sounds = base.node_sound_stone_defaults(), -}) - -minetest.register_node("australia:bluestone", { - description = "Bluestone (Basalt)", - tiles = {"aus_bluestone.png"}, - groups = {cracky = 2, stone = 1}, - drop = "australia:bluestone_cobble", - sounds = base.node_sound_stone_defaults(), -}) - -minetest.register_node("australia:bluestone_cobble", { - description = "Bluestone (Basalt) Cobble", - tiles = {"aus_bluestone_cobble.png"}, - is_ground_content = false, - groups = {cracky = 2, stone = 2}, - sounds = base.node_sound_stone_defaults(), -}) - -minetest.register_node("australia:bluestone_brick", { - description = "Bluestone Brick", - tiles = {"aus_bluestone_brick.png"}, - is_ground_content = false, - groups = {cracky = 1, stone = 1}, - sounds = base.node_sound_stone_defaults(), -}) - -minetest.register_node("australia:red_dirt", { - description = "Red Dirt", - tiles = {"aus_red_dirt.png"}, - groups = {crumbly = 3,soil = 1}, - sounds = base.node_sound_dirt_defaults(), -}) - -minetest.register_node("australia:red_gravel", { - description = "Red Gravel", - tiles = {"aus_red_gravel.png"}, - groups = {crumbly = 2, falling_node = 1}, - sounds = base.node_sound_dirt_defaults({ - footstep = {name = "base_gravel_footstep", gain = 0.5}, - dug = {name = "base_gravel_footstep", gain = 1.0}, - }), -}) - -minetest.register_node("australia:stone_with_opal", { - description = "Opal Ore", - tiles = {"base_stone.png^aus_mineral_opal.png"}, - groups = {cracky = 2}, - drop = "australia:opal", - sounds = base.node_sound_stone_defaults(), -}) - -minetest.register_node("australia:opal",{ - description = "Opal", - drawtype = "mesh", - mesh = "cavestuff_pebble.obj", - tiles = {"aus_opal.png"}, - paramtype = "light", - paramtype2 = "facedir", - groups = {cracky=2, stone=1, dig_immediate = 1}, - selection_box = { - type = "fixed", - fixed = {-5/16, -8/16, -6/16, 5/16, -1/32, 5/16}, - }, - collision_box = { - type = "fixed", - fixed = {-5/16, -8/16, -6/16, 5/16, -1/32, 5/16}, - }, - sounds = base.node_sound_stone_defaults(), -}) - - ---[[ - Small Rocks ---]] - --- Place a small nodebox. -local function small_cube(grid, pos, diameters) - local rock = {} - - rock[1] = pos.x - rock[2] = pos.y - rock[3] = pos.z - rock[4] = pos.x + diameters.x - rock[5] = pos.y + diameters.y - rock[6] = pos.z + diameters.z - push(grid, rock) -end - --- Small red rocks -local default_grid_red_rocks - -for grid_count = 1, 6 do - local grid = {} - for rock_count = 2, math.random(1, 4) + 1 do - local diameter = math.random(15, 25) / 100 - local x = math.random(1, 80) / 100 - 0.5 - local z = math.random(1, 80) / 100 - 0.5 - small_cube(grid, {x = x, y = -0.5, z = z}, {x = diameter, y = diameter, z = diameter}) - end - - minetest.register_node("australia:small_red_rocks"..grid_count, { - description = "Small Red Rocks", - tiles = {"aus_red_stone.png"}, - is_ground_content = true, - walkable = false, - paramtype = "light", - drawtype = "nodebox", - buildable_to = true, - node_box = {type = "fixed", fixed = grid}, - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, - }, - groups = {stone = 1, oddly_breakable_by_hand = 3}, - drop = "australia:small_red_rocks", - sounds = base.node_sound_stone_defaults(), - }) - - default_grid_red_rocks = grid -end - -minetest.register_node("australia:small_red_rocks", { - description = "Small Red Rocks", - tiles = {"aus_red_stone.png"}, - inventory_image = "aus_small_red_rocks.png", - is_ground_content = true, - walkable = false, - paramtype = "light", - drawtype = "nodebox", - node_box = {type = "fixed", fixed = default_grid_red_rocks}, - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, - }, - groups = {stone = 1, oddly_breakable_by_hand = 3}, - sounds = base.node_sound_stone_defaults(), - on_place = function(itemstack, placer, pointed_thing) - local pos = pointed_thing.above - local player_name = placer:get_player_name() - -- place a random small red rocks node - if not minetest.is_protected(pos, player_name) then - minetest.set_node(pos, {name = "australia:small_red_rocks"..math.random(1, 6)}) - if not minetest.setting_getbool("creative_mode") then - itemstack:take_item() - end - else - minetest.chat_send_player(player_name, "Node is protected") - minetest.record_protection_violation(pos, player_name) - end - - return itemstack - end -}) - --- Small sandstone rocks -local default_grid_sandstone_rocks - -for grid_count = 1, 6 do - local grid = {} - for rock_count = 2, math.random(1, 4) + 1 do - local diameter = math.random(15, 25) / 100 - local x = math.random(1, 80) / 100 - 0.5 - local z = math.random(1, 80) / 100 - 0.5 - small_cube(grid, {x = x, y = -0.5, z = z}, {x = diameter, y = diameter, z = diameter}) - end - - minetest.register_node("australia:small_sandstone_rocks"..grid_count, { - description = "Small Sandstone Rocks", - tiles = {"base_sandstone.png"}, - is_ground_content = true, - walkable = false, - paramtype = "light", - drawtype = "nodebox", - buildable_to = true, - node_box = {type = "fixed", fixed = grid}, - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, - }, - groups = {stone = 1, oddly_breakable_by_hand = 3}, - drop = "australia:small_sandstone_rocks", - sounds = base.node_sound_stone_defaults(), - }) - - default_grid_sandstone_rocks = grid -end - -minetest.register_node("australia:small_sandstone_rocks", { - description = "Small Sandstone Rocks", - tiles = {"base_sandstone.png"}, - inventory_image = "aus_small_sandstone_rocks.png", - is_ground_content = true, - walkable = false, - paramtype = "light", - drawtype = "nodebox", - node_box = {type = "fixed", fixed = default_grid_sandstone_rocks}, - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, - }, - groups = {stone = 1, oddly_breakable_by_hand = 3}, - sounds = base.node_sound_stone_defaults(), - on_place = function(itemstack, placer, pointed_thing) - local pos = pointed_thing.above - local player_name = placer:get_player_name() - -- place a random small sandstone rocks node - if not minetest.is_protected(pos, player_name) then - minetest.set_node(pos, {name = "australia:small_sandstone_rocks"..math.random(1, 6)}) - if not minetest.setting_getbool("creative_mode") then - itemstack:take_item() - end - else - minetest.chat_send_player(player_name, "Node is protected") - minetest.record_protection_violation(pos, player_name) - end - - return itemstack - end -}) - --- Small stone rocks -local default_grid_stone_rocks - -for grid_count = 1, 6 do - local grid = {} - for rock_count = 2, math.random(1, 4) + 1 do - local diameter = math.random(15, 25) / 100 - local x = math.random(1, 80) / 100 - 0.5 - local z = math.random(1, 80) / 100 - 0.5 - small_cube(grid, {x = x, y = -0.5, z = z}, {x = diameter, y = diameter, z = diameter}) - end - - minetest.register_node("australia:small_stone_rocks"..grid_count, { - description = "Small Stone Rocks", - tiles = {"base_stone.png"}, - is_ground_content = true, - walkable = false, - paramtype = "light", - drawtype = "nodebox", - buildable_to = true, - node_box = {type = "fixed", fixed = grid}, - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, - }, - groups = {stone = 1, oddly_breakable_by_hand = 3}, - drop = "australia:small_stone_rocks", - sounds = base.node_sound_stone_defaults(), - }) - - default_grid_stone_rocks = grid -end - -minetest.register_node("australia:small_stone_rocks", { - description = "Small Stone Rocks", - tiles = {"base_stone.png"}, - inventory_image = "aus_small_stone_rocks.png", - is_ground_content = true, - walkable = false, - paramtype = "light", - drawtype = "nodebox", - node_box = {type = "fixed", fixed = default_grid_stone_rocks}, - selection_box = { - type = "fixed", - fixed = {-0.5, -0.5, -0.5, 0.5, -5/16, 0.5}, - }, - groups = {stone = 1, oddly_breakable_by_hand = 3}, - sounds = base.node_sound_stone_defaults(), - on_place = function(itemstack, placer, pointed_thing) - local pos = pointed_thing.above - local player_name = placer:get_player_name() - -- place a random small stone rocks node - if not minetest.is_protected(pos, player_name) then - minetest.set_node(pos, {name = "australia:small_stone_rocks"..math.random(1, 6)}) - if not minetest.setting_getbool("creative_mode") then - itemstack:take_item() - end - else - minetest.chat_send_player(player_name, "Node is protected") - minetest.record_protection_violation(pos, player_name) - end - - return itemstack - end -}) - diff --git a/mods/MAPGEN/australia/voxel.lua b/mods/MAPGEN/australia/voxel.lua index c26d34f..8209149 100644 --- a/mods/MAPGEN/australia/voxel.lua +++ b/mods/MAPGEN/australia/voxel.lua @@ -222,8 +222,8 @@ minetest.register_on_generated(function(minp, maxp, seed) node["snowblock"] = minetest.get_content_id("base:snowblock") node["desert_sand"] = minetest.get_content_id("base:desert_sand") node["sand"] = minetest.get_content_id("base:sand") - node["red_dirt"] = minetest.get_content_id("australia:red_dirt") - node["red_gravel"] = minetest.get_content_id("australia:red_gravel") + node["red_dirt"] = minetest.get_content_id("base:red_dirt") + node["red_gravel"] = minetest.get_content_id("base:red_gravel") node["red_sand"] = minetest.get_content_id("base:red_sand") node["mud"] = minetest.get_content_id("base:mangrove_mud") node["salt"] = minetest.get_content_id("base:mineral_salt")