This commit is contained in:
MoNTE48 2019-05-25 11:32:31 +02:00
parent 62689dd0ff
commit 43625aafee
7 changed files with 89 additions and 113 deletions

View File

@ -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 = {
@ -60,7 +60,7 @@ minetest.register_node("bonusbox:chest", {
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 = {
@ -86,7 +86,7 @@ minetest.register_node("bonusbox:chest_open", {
},
groups = {choppy = 2, not_in_creative_inventory = 1},
sounds = default.node_sound_wood_defaults(),
})
})
minetest.register_node("bonusbox:chest_cap", {
tiles = {
@ -109,4 +109,16 @@ minetest.register_node("bonusbox:chest_cap", {
},
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"},
})

View File

@ -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",

View File

@ -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 = {

View File

@ -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({

View File

@ -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

View File

@ -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")

View File

@ -1,2 +1,4 @@
mg_flags = flat
water_level = 1
mg_name = flat
seed = 2
[end_of_params]