1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-25 18:20:36 +01:00

encore des petits ajustements...

This commit is contained in:
Ombridride 2015-01-29 00:20:09 +01:00
parent fa8b4297e1
commit a149bc8c08
3 changed files with 39 additions and 40 deletions

View File

@ -28,9 +28,9 @@ minetest.register_tool("default:pick_wood", {
full_punch_interval = 1.2, full_punch_interval = 1.2,
max_drop_level = 0, max_drop_level = 0,
groupcaps = { groupcaps = {
cracky = {times = {[3] = 1.2}, uses = 20, maxlevel = 1}, cracky = {times = {[3] = 1.20}, uses = 15, maxlevel = 1},
}, },
damage_groups = {fleshy = 1}, damage_groups = {fleshy = 2},
}, },
}) })
minetest.register_tool("default:pick_stone", { minetest.register_tool("default:pick_stone", {
@ -40,7 +40,7 @@ minetest.register_tool("default:pick_stone", {
full_punch_interval = 1.2, full_punch_interval = 1.2,
max_drop_level = 0, max_drop_level = 0,
groupcaps = { groupcaps = {
cracky = {times = {[2] = 1.6, [3] = 1}, uses = 20, maxlevel = 1}, cracky = {times = {[2] = 1.60, [3] = 1.00}, uses = 20, maxlevel = 1},
crumbly = {times = {[1] = 2.6, [2] = 1.4, [3] = 0.44}, uses = 20, maxlevel = 1}, crumbly = {times = {[1] = 2.6, [2] = 1.4, [3] = 0.44}, uses = 20, maxlevel = 1},
}, },
damage_groups = {fleshy = 2}, damage_groups = {fleshy = 2},
@ -53,7 +53,7 @@ minetest.register_tool("default:pick_steel", {
full_punch_interval = 1.2, full_punch_interval = 1.2,
max_drop_level = 1, max_drop_level = 1,
groupcaps = { groupcaps = {
cracky = {times = {[1] = 4.0, [2] = 1.4, [3] = 0.8}, uses = 25, maxlevel = 2}, cracky = {times = {[1] = 4.00, [2] = 1.40, [3] = 0.80}, uses = 25, maxlevel = 2},
crumbly = {times = {[1] = 2.4, [2] = 1.2, [3] = 0.39}, uses = 20, maxlevel = 1}, crumbly = {times = {[1] = 2.4, [2] = 1.2, [3] = 0.39}, uses = 20, maxlevel = 1},
}, },
damage_groups = {fleshy = 3}, damage_groups = {fleshy = 3},
@ -66,7 +66,7 @@ minetest.register_tool("default:pick_bronze", {
full_punch_interval = 1.2, full_punch_interval = 1.2,
max_drop_level = 1, max_drop_level = 1,
groupcaps = { groupcaps = {
cracky = {times = {[1] = 4.0, [2] = 1.4, [3] = 0.8}, uses = 30, maxlevel = 2}, cracky = {times = {[1] = 4.00, [2] = 1.40, [3] = 0.80}, uses = 30, maxlevel = 2},
crumbly = {times = {[1] = 2.4, [2] = 1.2, [3] = 0.39}, uses = 30, maxlevel = 1}, crumbly = {times = {[1] = 2.4, [2] = 1.2, [3] = 0.39}, uses = 30, maxlevel = 1},
}, },
damage_groups = {fleshy = 3}, damage_groups = {fleshy = 3},
@ -79,38 +79,12 @@ minetest.register_tool("default:pick_gold", {
full_punch_interval = 1.2, full_punch_interval = 1.2,
max_drop_level = 3, max_drop_level = 3,
groupcaps = { groupcaps = {
cracky = {times = {[1] = 2.8, [2] = 1.15, [3] = 0.65}, uses = 15, maxlevel = 3}, cracky = {times = {[1] = 2.80, [2] = 1.15, [3] = 0.65}, uses = 15, maxlevel = 3},
crumbly = {times = {[1] = 2.0, [2] = 0.9, [3] = 0.36}, uses = 5, maxlevel = 2}, crumbly = {times = {[1] = 2.0, [2] = 0.9, [3] = 0.36}, uses = 5, maxlevel = 2},
}, },
damage_groups = {fleshy = 4}, damage_groups = {fleshy = 4},
}, },
}) })
minetest.register_tool("default:pick_diamond", {
description = "Diamond Pickaxe",
inventory_image = "default_tool_diamondpick.png",
tool_capabilities = {
full_punch_interval = 0.8,
max_drop_level = 3,
groupcaps = {
cracky = {times = {[1] = 2.0, [2] = 1.0, [3] = 0.5}, uses = 30, maxlevel = 3},
crumbly = {times = {[1] = 2.0, [2] = 0.9, [3] = 0.36}, uses = 25, maxlevel = 2},
},
damage_groups = {fleshy = 4},
},
})
minetest.register_tool("default:pick_nyan", {
description = "Nyan Pickaxe",
inventory_image = "default_tool_nyanpick.png",
tool_capabilities = {
full_punch_interval = 0.9,
max_drop_level = 3,
groupcaps = {
cracky = {times = {[1] = 2.6, [2] = 1.1, [3] = 0.6}, uses = 60, maxlevel = 3},
crumbly = {times = {[1] = 2.0, [2] = 0.9, [3] = 0.36}, uses = 75, maxlevel = 2},
},
damage_groups = {fleshy = 4},
},
})
minetest.register_tool("default:pick_mese", { minetest.register_tool("default:pick_mese", {
description = "Mese Pickaxe", description = "Mese Pickaxe",
inventory_image = "default_tool_mesepick.png", inventory_image = "default_tool_mesepick.png",
@ -118,13 +92,38 @@ minetest.register_tool("default:pick_mese", {
full_punch_interval = 0.9, full_punch_interval = 0.9,
max_drop_level = 3, max_drop_level = 3,
groupcaps = { groupcaps = {
cracky = {times = {[1] = 2.6, [2] = 1.1, [3] = 0.6}, uses = 20, maxlevel = 3}, cracky = {times = {[1] = 2.60, [2] = 1.10, [3] = 0.6}, uses = 20, maxlevel = 3},
crumbly = {times = {[1] = 1.65, [2] = 0.6, [3] = 0.32}, uses = 20, maxlevel = 3}, crumbly = {times = {[1] = 1.65, [2] = 0.6, [3] = 0.32}, uses = 20, maxlevel = 3},
}, },
damage_groups = {fleshy = 4}, damage_groups = {fleshy = 4},
}, },
}) })
minetest.register_tool("default:pick_nyan", {
description = "Nyan Pickaxe",
inventory_image = "default_tool_nyanpick.png",
tool_capabilities = {
full_punch_interval = 0.9,
max_drop_level = 3,
groupcaps = {
cracky = {times = {[1] = 2.60, [2] = 1.10, [3] = 0.60}, uses = 60, maxlevel = 3},
crumbly = {times = {[1] = 2.0, [2] = 0.9, [3] = 0.36}, uses = 75, maxlevel = 2},
},
damage_groups = {fleshy = 4},
},
})
minetest.register_tool("default:pick_diamond", {
description = "Diamond Pickaxe",
inventory_image = "default_tool_diamondpick.png",
tool_capabilities = {
full_punch_interval = 0.8,
max_drop_level = 3,
groupcaps = {
cracky = {times = {[1] = 2.00, [2] = 1.00, [3] = 0.50}, uses = 30, maxlevel = 3},
crumbly = {times = {[1] = 2.0, [2] = 0.9, [3] = 0.36}, uses = 25, maxlevel = 2},
},
damage_groups = {fleshy = 4},
},
})
-- --
-- Shovels -- Shovels
-- --

View File

@ -290,7 +290,7 @@ local oredefs = {
}, },
tools = { tools = {
pick = { pick = {
cracky = {times = {[1] = 1.5, [2] = 0.8, [3] = 0.35}, uses = 200, maxlevel= 3}, cracky = {times = {[1] = 1.50, [2] = 0.80, [3] = 0.35}, uses = 200, maxlevel= 3},
damage_groups = {fleshy = 5}, damage_groups = {fleshy = 5},
}, },
hoe = { hoe = {

View File

@ -803,7 +803,7 @@ minetest.register_tool("nether:pick_mushroom", {
tool_capabilities = { tool_capabilities = {
max_drop_level=0, max_drop_level=0,
groupcaps={ groupcaps={
cracky = {times={[3]=3}, uses=5, maxlevel=1}, cracky = {times={[3]=3.0}, uses=5, maxlevel=1},
nether = {times={[3]=3}, uses=5, maxlevel=1}, nether = {times={[3]=3}, uses=5, maxlevel=1},
}, },
}, },
@ -816,8 +816,8 @@ minetest.register_tool("nether:pick_wood", {
full_punch_interval = 1.2, full_punch_interval = 1.2,
max_drop_level=0, max_drop_level=0,
groupcaps={ groupcaps={
cracky = {times={[3]=1.6}, uses=10, maxlevel=1}, cracky = {times={[3]=1.60}, uses=10, maxlevel=1},
nether = {times={[3]=1.6}, uses=10, maxlevel=1}, nether = {times={[3]=1.60}, uses=10, maxlevel=1},
}, },
damage_groups = {fleshy=2}, damage_groups = {fleshy=2},
}, },
@ -830,8 +830,8 @@ minetest.register_tool("nether:pick_netherrack", {
full_punch_interval = 1.2, full_punch_interval = 1.2,
max_drop_level=0, max_drop_level=0,
groupcaps={ groupcaps={
cracky = {times={[2]=2.0, [3]=1.20}, uses=20, maxlevel=1}, cracky = {times={[2]=2.00, [3]=1.20}, uses=20, maxlevel=1},
nether = {times={[2]=2.0, [3]=1.20}, uses=20, maxlevel=1}, nether = {times={[2]=2.00, [3]=1.20}, uses=20, maxlevel=1},
}, },
damage_groups = {fleshy=3}, damage_groups = {fleshy=3},
}, },