mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-23 16:30:19 +01:00
[signs_lib & building_blocks & markers & ...] Updates
- building_blocks: Replace `maxwear` deprecated field - signs_lib: use `verbose` level instead of unexisting `debug` - maze: Replace `dug_item` deprecated field - vines: Replace `maxwear` deprecated field - quartz: Replace `height_max` and `height_min` deprecated fields - sea/seacoal & sea/seaplants: Replace `height_max` and `height_min` deprecated fields - snow: Replace `height_max` and `height_min` deprecated fields
This commit is contained in:
parent
b2829d7e7d
commit
e9b2fd984a
@ -575,8 +575,8 @@ minetest.register_tool("building_blocks:knife", {
|
|||||||
tool_capabilities = {
|
tool_capabilities = {
|
||||||
max_drop_level=0,
|
max_drop_level=0,
|
||||||
groupcaps={
|
groupcaps={
|
||||||
choppy={times={[2]=7.50, [3]=2.80}, maxwear=0.01, maxlevel=1},
|
choppy={times={[2]=7.50, [3]=2.80}, uses = 100, maxlevel=1},
|
||||||
fleshy={times={[2]=5.50, [3]=2.80}, maxwear=0.01, maxlevel=1}
|
fleshy={times={[2]=5.50, [3]=2.80}, uses = 100, maxlevel=1}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
@ -913,7 +913,7 @@ function signs_lib.register_fence_with_sign(fencename, fencewithsignname)
|
|||||||
minetest.register_node(":"..fencename, def)
|
minetest.register_node(":"..fencename, def)
|
||||||
minetest.register_node(":"..fencewithsignname, def_sign)
|
minetest.register_node(":"..fencewithsignname, def_sign)
|
||||||
table.insert(signs_lib.sign_node_list, fencewithsignname)
|
table.insert(signs_lib.sign_node_list, fencewithsignname)
|
||||||
minetest.log("debug", S("Registered %s and %s"):format(fencename, fencewithsignname))
|
minetest.log("verbose", S("Registered %s and %s"):format(fencename, fencewithsignname))
|
||||||
end
|
end
|
||||||
|
|
||||||
build_char_db()
|
build_char_db()
|
||||||
|
@ -14,9 +14,9 @@ minetest.register_tool( "markers:land_title_register",
|
|||||||
full_punch_interval = 1.0,
|
full_punch_interval = 1.0,
|
||||||
max_drop_level=0,
|
max_drop_level=0,
|
||||||
groupcaps={
|
groupcaps={
|
||||||
fleshy={times={[2]=0.80, [3]=0.40}, maxwear=0.05, maxlevel=1},
|
fleshy={times={[2]=0.80, [3]=0.40}, uses = 1/0.05, maxlevel=1},
|
||||||
snappy={times={[2]=0.80, [3]=0.40}, maxwear=0.05, maxlevel=1},
|
snappy={times={[2]=0.80, [3]=0.40}, uses = 1/0.05, maxlevel=1},
|
||||||
choppy={times={[3]=0.90}, maxwear=0.05, maxlevel=0}
|
choppy={times={[3]=0.90}, uses = 1/0.05, maxlevel=0}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
node_placement_prediction = nil,
|
node_placement_prediction = nil,
|
||||||
|
@ -401,7 +401,7 @@ local maze_closer = {} -- list of all closer stones
|
|||||||
minetest.register_node("maze:closer", {
|
minetest.register_node("maze:closer", {
|
||||||
tile_images = {"default_cobble.png"},
|
tile_images = {"default_cobble.png"},
|
||||||
inventory_image = minetest.inventorycube("default_cobble.png"),
|
inventory_image = minetest.inventorycube("default_cobble.png"),
|
||||||
dug_item = '',
|
drop = '',
|
||||||
material = { diggability = "not"},
|
material = { diggability = "not"},
|
||||||
description = "Closestone",
|
description = "Closestone",
|
||||||
})
|
})
|
||||||
|
@ -8,8 +8,8 @@ minetest.register_tool("vines:shears", {
|
|||||||
full_punch_interval = 1.0,
|
full_punch_interval = 1.0,
|
||||||
max_drop_level=0,
|
max_drop_level=0,
|
||||||
groupcaps={
|
groupcaps={
|
||||||
snappy={times={[3]=0.2}, maxwear=0.05, maxlevel=3},
|
snappy={times={[3]=0.2}, uses = 1/0.05, maxlevel=3},
|
||||||
wool={times={[3]=0.2}, maxwear=0.05, maxlevel=3}
|
wool={times={[3]=0.2}, uses = 1/0.05, maxlevel=3}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
@ -28,8 +28,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 6,
|
clust_num_ores = 6,
|
||||||
clust_size = 5,
|
clust_size = 5,
|
||||||
height_min = -31000,
|
y_min = -31000,
|
||||||
height_max = -5,
|
y_max = -5,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -39,8 +39,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 30*30*30,
|
clust_scarcity = 30*30*30,
|
||||||
clust_num_ores = 64,
|
clust_num_ores = 64,
|
||||||
clust_size = 5,
|
clust_size = 5,
|
||||||
height_min = -10240,
|
y_min = -10240,
|
||||||
height_max = -8192,
|
y_max = -8192,
|
||||||
})
|
})
|
||||||
|
|
||||||
--Quartz Block
|
--Quartz Block
|
||||||
|
@ -279,8 +279,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -4,
|
y_max = -4,
|
||||||
height_min = -8,
|
y_min = -8,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -290,8 +290,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -4,
|
y_max = -4,
|
||||||
height_min = -8,
|
y_min = -8,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -301,8 +301,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -4,
|
y_max = -4,
|
||||||
height_min = -8,
|
y_min = -8,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -312,8 +312,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -4,
|
y_max = -4,
|
||||||
height_min = -8,
|
y_min = -8,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -323,8 +323,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -4,
|
y_max = -4,
|
||||||
height_min = -8,
|
y_min = -8,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -334,8 +334,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -4,
|
y_max = -4,
|
||||||
height_min = -8,
|
y_min = -8,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -345,8 +345,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -4,
|
y_max = -4,
|
||||||
height_min = -8,
|
y_min = -8,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -356,8 +356,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -4,
|
y_max = -4,
|
||||||
height_min = -8,
|
y_min = -8,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -367,8 +367,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -4,
|
y_max = -4,
|
||||||
height_min = -8,
|
y_min = -8,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -378,8 +378,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -4,
|
y_max = -4,
|
||||||
height_min = -8,
|
y_min = -8,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -389,8 +389,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -4,
|
y_max = -4,
|
||||||
height_min = -8,
|
y_min = -8,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -400,8 +400,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -4,
|
y_max = -4,
|
||||||
height_min = -8,
|
y_min = -8,
|
||||||
})
|
})
|
||||||
|
|
||||||
local function generate_ore(name, wherein, minp, maxp, seed, chunks_per_volume, chunk_size, ore_per_chunk, height_min, height_max)
|
local function generate_ore(name, wherein, minp, maxp, seed, chunks_per_volume, chunk_size, ore_per_chunk, height_min, height_max)
|
||||||
|
@ -244,8 +244,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -14,
|
y_max = -14,
|
||||||
height_min = -31000,
|
y_min = -31000,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -255,8 +255,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -14,
|
y_max = -14,
|
||||||
height_min = -31000,
|
y_min = -31000,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -266,8 +266,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -14,
|
y_max = -14,
|
||||||
height_min = -31000,
|
y_min = -31000,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -277,8 +277,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -14,
|
y_max = -14,
|
||||||
height_min = -31000,
|
y_min = -31000,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -288,8 +288,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -14,
|
y_max = -14,
|
||||||
height_min = -31000,
|
y_min = -31000,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -299,8 +299,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -14,
|
y_max = -14,
|
||||||
height_min = -31000,
|
y_min = -31000,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -310,8 +310,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -14,
|
y_max = -14,
|
||||||
height_min = -31000,
|
y_min = -31000,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_ore({
|
minetest.register_ore({
|
||||||
@ -321,8 +321,8 @@ minetest.register_ore({
|
|||||||
clust_scarcity = 10*10*10,
|
clust_scarcity = 10*10*10,
|
||||||
clust_num_ores = 24,
|
clust_num_ores = 24,
|
||||||
clust_size = 4,
|
clust_size = 4,
|
||||||
height_max = -14,
|
y_max = -14,
|
||||||
height_min = -31000,
|
y_min = -31000,
|
||||||
})
|
})
|
||||||
|
|
||||||
local function generate_ore(name, wherein, minp, maxp, seed, chunks_per_volume, chunk_size, ore_per_chunk, height_min, height_max)
|
local function generate_ore(name, wherein, minp, maxp, seed, chunks_per_volume, chunk_size, ore_per_chunk, height_min, height_max)
|
||||||
|
@ -6,8 +6,8 @@ minetest.register_biome({
|
|||||||
node_filler = "default:dirt",
|
node_filler = "default:dirt",
|
||||||
depth_filler = 2,
|
depth_filler = 2,
|
||||||
|
|
||||||
height_min = snow.min_height,
|
y_min = snow.min_height,
|
||||||
height_max = snow.min_height+60,
|
y_max = snow.min_height+60,
|
||||||
heat_point = 10.0,
|
heat_point = 10.0,
|
||||||
humidity_point = 40.0,
|
humidity_point = 40.0,
|
||||||
})
|
})
|
||||||
@ -20,8 +20,8 @@ minetest.register_biome({
|
|||||||
node_filler = "default:dirt",
|
node_filler = "default:dirt",
|
||||||
depth_filler = 2,
|
depth_filler = 2,
|
||||||
|
|
||||||
height_min = snow.min_height,
|
y_min = snow.min_height,
|
||||||
height_max = snow.min_height+60,
|
y_max = snow.min_height+60,
|
||||||
heat_point = 10.0,
|
heat_point = 10.0,
|
||||||
humidity_point = 55.0,
|
humidity_point = 55.0,
|
||||||
})
|
})
|
||||||
@ -34,8 +34,8 @@ minetest.register_biome({
|
|||||||
node_filler = "default:dirt",
|
node_filler = "default:dirt",
|
||||||
depth_filler = 2,
|
depth_filler = 2,
|
||||||
|
|
||||||
height_min = snow.min_height,
|
y_min = snow.min_height,
|
||||||
height_max = snow.min_height+60,
|
y_max = snow.min_height+60,
|
||||||
heat_point = 10.0,
|
heat_point = 10.0,
|
||||||
humidity_point = 70.0,
|
humidity_point = 70.0,
|
||||||
})
|
})
|
||||||
@ -47,8 +47,8 @@ minetest.register_biome({
|
|||||||
depth_top = 1,
|
depth_top = 1,
|
||||||
node_filler = "default:stone",
|
node_filler = "default:stone",
|
||||||
|
|
||||||
height_min = snow.min_height+60,
|
y_min = snow.min_height+60,
|
||||||
height_max = 31000,
|
y_max = 31000,
|
||||||
heat_point = 10.0,
|
heat_point = 10.0,
|
||||||
humidity_point = 40.0,
|
humidity_point = 40.0,
|
||||||
})
|
})
|
||||||
@ -61,8 +61,8 @@ minetest.register_biome({
|
|||||||
node_filler = "default:stone",
|
node_filler = "default:stone",
|
||||||
depth_filler = 0,
|
depth_filler = 0,
|
||||||
|
|
||||||
height_min = -31000,
|
y_min = -31000,
|
||||||
height_max = 2,
|
y_max = 2,
|
||||||
heat_point = 10.0,
|
heat_point = 10.0,
|
||||||
humidity_point = 40.0,
|
humidity_point = 40.0,
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user