diff --git a/games/default/files/bonusbox/init.lua b/games/default/files/bonusbox/init.lua index caedcaee9..4dab48672 100644 --- a/games/default/files/bonusbox/init.lua +++ b/games/default/files/bonusbox/init.lua @@ -2,10 +2,10 @@ -- {item_name, minimum, maximum} local items_ore = { - {"default:diamond", 1, 2}, + {"default:diamond", 1, 1}, {"default:emerald", 1, 2}, - {"default:gold_ingot", 2, 4}, - {"default:steel_ingot", 2, 8}, + {"default:gold_ingot", 2, 3}, + {"default:steel_ingot", 2, 4}, } local items_food = { @@ -38,75 +38,87 @@ local item_spawn = function (pos, node) end minetest.register_node("bonusbox:chest", { - tiles = { - "chest_top.png", - "chest_bottom.png", - "chest_right.png", - "chest_left.png", - "chest_back.png", - "chest_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - node_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -0.5, 0.5, -0.438627, 0.187361}, -- NodeBox1 - {-0.483652, -0.441532, -0.483652, 0.483652, 0.110383, 0.172837}, -- NodeBox2 - {-0.5, 0.110383, -0.5, 0.5, 0.249814, 0.187361}, -- NodeBox3 - {-0.483652, 0.246909, -0.483652, 0.483652, 0.5, 0.169932}, -- NodeBox4 - } - }, - groups = {choppy = 2, not_in_creative_inventory = 1}, - sounds = default.node_sound_wood_defaults(), - on_rightclick = item_spawn, - }) + tiles = { + "chest_top.png", + "chest_bottom.png", + "chest_right.png", + "chest_left.png", + "chest_back.png", + "chest_front.png" + }, + drawtype = "nodebox", + paramtype = "light", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, -0.438627, 0.187361}, -- NodeBox1 + {-0.483652, -0.441532, -0.483652, 0.483652, 0.110383, 0.172837}, -- NodeBox2 + {-0.5, 0.110383, -0.5, 0.5, 0.249814, 0.187361}, -- NodeBox3 + {-0.483652, 0.246909, -0.483652, 0.483652, 0.5, 0.169932}, -- NodeBox4 + } + }, + groups = {choppy = 2, not_in_creative_inventory = 1}, + sounds = default.node_sound_wood_defaults(), + on_rightclick = item_spawn, +}) minetest.register_node("bonusbox:chest_open", { - tiles = { - "chest_open_top.png", - "chest_open_bottom.png", - "chest_open_riqht.png", - "chest_open_left.png", - "chest_open_back.png", - "chest_open_front.png" - }, - drawtype = "nodebox", - paramtype = "light", - drop = "", - node_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, -0.5, 0.5, -0.438627, 0.187361}, -- NodeBox1 - {-0.483652, -0.444437, -0.483652, 0.483652, 0.110383, 0.169932}, -- NodeBox2 - {-0.5, 0.110383, -0.5, 0.5, 0.188813, 0.187361}, -- NodeBox3 - {-0.5, 0.188813, 0.172837, 0.5, 0.5, 0.248362}, -- NodeBox4 - {-0.484478, 0.206242, 0.242552, 0.484478, 0.5, 0.5}, -- NodeBox5 - } - }, - groups = {choppy = 2, not_in_creative_inventory = 1}, - sounds = default.node_sound_wood_defaults(), - }) + tiles = { + "chest_open_top.png", + "chest_open_bottom.png", + "chest_open_riqht.png", + "chest_open_left.png", + "chest_open_back.png", + "chest_open_front.png" + }, + drawtype = "nodebox", + paramtype = "light", + drop = "", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, -0.5, 0.5, -0.438627, 0.187361}, -- NodeBox1 + {-0.483652, -0.444437, -0.483652, 0.483652, 0.110383, 0.169932}, -- NodeBox2 + {-0.5, 0.110383, -0.5, 0.5, 0.188813, 0.187361}, -- NodeBox3 + {-0.5, 0.188813, 0.172837, 0.5, 0.5, 0.248362}, -- NodeBox4 + {-0.484478, 0.206242, 0.242552, 0.484478, 0.5, 0.5}, -- NodeBox5 + } + }, + groups = {choppy = 2, not_in_creative_inventory = 1}, + sounds = default.node_sound_wood_defaults(), +}) minetest.register_node("bonusbox:chest_cap", { - tiles = { - "chest_open_top.png", - "chest_open_bottom.png", - "chest_open_right_two.png", - "chest_open_left_two.png", - "chest_open_back_two.png", - "chest_open_front_two.png" - }, - drawtype = "nodebox", - paramtype = "light", - drop = "", - node_box = { - type = "fixed", - fixed = { - {-0.5, -0.5, 0.172236, 0.5, -0.128775, 0.249501}, -- NodeBox1 - {-0.485183, -0.5, 0.249501, 0.485183, -0.144871, 0.5}, -- NodeBox2 - } - }, - groups = {attached_node = 1, not_in_creative_inventory = 1}, - sounds = default.node_sound_wood_defaults(), - }) \ No newline at end of file + tiles = { + "chest_open_top.png", + "chest_open_bottom.png", + "chest_open_right_two.png", + "chest_open_left_two.png", + "chest_open_back_two.png", + "chest_open_front_two.png" + }, + drawtype = "nodebox", + paramtype = "light", + drop = "", + node_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.172236, 0.5, -0.128775, 0.249501}, -- NodeBox1 + {-0.485183, -0.5, 0.249501, 0.485183, -0.144871, 0.5}, -- NodeBox2 + } + }, + groups = {attached_node = 1, not_in_creative_inventory = 1}, + sounds = default.node_sound_wood_defaults(), +}) + +minetest.register_decoration({ + deco_type = "simple", + place_on = {"default:sand", "default:dirt_with_snow", "default:gravel", + "default:snowblock", "default:dirt_with_grass", "default:redsand", + "default:redsandstone", "default:dirt_with_dry_grass"}, + sidelen = 80, + fill_ratio = 0.0002, + y_max = 31000, + y_min = 1, + decoration = {"bonusbox:chest"}, +}) diff --git a/games/default/files/creative/categories/tools.lua b/games/default/files/creative/categories/tools.lua index 9470a83b6..80117e4c2 100644 --- a/games/default/files/creative/categories/tools.lua +++ b/games/default/files/creative/categories/tools.lua @@ -7,7 +7,6 @@ return { "default:pick_gold", "default:shovel_gold", "default:axe_steel", - "default:pole", "default:shovel_steel", "default:pick_diamond", "default:pick_stone", diff --git a/games/default/files/default/crafting.lua b/games/default/files/default/crafting.lua index 30e52d3f6..24786a0f7 100644 --- a/games/default/files/default/crafting.lua +++ b/games/default/files/default/crafting.lua @@ -273,15 +273,6 @@ minetest.register_craft({ } }) -minetest.register_craft({ - output = "default:pole", - recipe = { - {'', '', 'default:stick'}, - {'', 'default:stick', 'farming:string'}, - {'default:stick', '', 'farming:string'}, - } -}) - minetest.register_craft({ output = 'default:chest', recipe = { diff --git a/games/default/files/default/mapgen.lua b/games/default/files/default/mapgen.lua index d3dacbcd4..66b3d5468 100644 --- a/games/default/files/default/mapgen.lua +++ b/games/default/files/default/mapgen.lua @@ -874,20 +874,6 @@ end function default.register_mgv6_decorations() - -- Bonusbox chest - - minetest.register_decoration({ - deco_type = "simple", - place_on = {"default:sand", "default:dirt_with_snow", "default:gravel", - "default:snowblock", "default:dirt_with_grass", "default:redsand", - "default:redsandstone"}, - sidelen = 80, - fill_ratio = 0.0002, - y_min = 1, - y_max = 31000, - decoration = {"bonusbox:chest"}, - }) - -- Sugar Cane minetest.register_decoration({ @@ -1253,20 +1239,6 @@ function default.register_decorations() -- num_spawn_by = 8, }) - -- Bonusbox chest - - minetest.register_decoration({ - deco_type = "simple", - place_on = {"default:sand", "default:dirt_with_snow", "default:gravel", - "default:snowblock", "default:dirt_with_grass", "default:redsand", - "default:redsandstone", "default:dirt_with_dry_grass"}, - sidelen = 80, - fill_ratio = 0.0002, - y_min = 1, - y_max = 31000, - decoration = {"bonusbox:chest"}, - }) - -- Grasses minetest.register_decoration({ diff --git a/games/default/files/default/tools.lua b/games/default/files/default/tools.lua index fe605fcf7..2b933735b 100644 --- a/games/default/files/default/tools.lua +++ b/games/default/files/default/tools.lua @@ -325,11 +325,11 @@ minetest.register_tool("default:sword_diamond", { -- minetest.register_tool("default:pole", { - description = "Fishing Rod", + description = "Fishing Pole", groups = {}, inventory_image = "default_tool_fishing_pole.png", stack_max = 1, - groups = {tools=1}, + groups = {tools = 1}, liquids_pointable = true, on_use = function (itemstack, user, pointed_thing) if pointed_thing and pointed_thing.under then diff --git a/games/default/files/sponge/init.lua b/games/default/files/sponge/init.lua index 0f8bc515c..337551cf7 100644 --- a/games/default/files/sponge/init.lua +++ b/games/default/files/sponge/init.lua @@ -95,5 +95,5 @@ minetest.register_decoration({ -- sponges are found deep in the sea }) -- Aliases -minetest.register_alias("default:sponge", "sponge:sponges") +minetest.register_alias("default:sponge", "sponge:sponge") minetest.register_alias("default:sponge_wet", "sponge:wet_sponge") diff --git a/worlds/World 5 Flat/map_meta.txt b/worlds/World 5 Flat/map_meta.txt index c6ae45b04..7db9b3af1 100644 --- a/worlds/World 5 Flat/map_meta.txt +++ b/worlds/World 5 Flat/map_meta.txt @@ -1,2 +1,4 @@ -mg_flags = flat +water_level = 1 +mg_name = flat +seed = 2 [end_of_params]