Renommage d'items
This commit is contained in:
parent
08a724b52a
commit
7e71a6fb19
@ -1,5 +1,5 @@
|
||||
minetest.register_tool(
|
||||
"nalc_default:pick_gold",
|
||||
":nalc:pick_gold",
|
||||
{
|
||||
description = "Golden Pickaxe",
|
||||
inventory_image = "default_tool_goldpick.png",
|
||||
@ -15,7 +15,7 @@ minetest.register_tool(
|
||||
})
|
||||
|
||||
minetest.register_tool(
|
||||
"nalc_default:shovel_gold",
|
||||
":nalc:shovel_gold",
|
||||
{
|
||||
description = "Golden Shovel",
|
||||
inventory_image = "default_tool_goldshovel.png",
|
||||
@ -31,7 +31,7 @@ minetest.register_tool(
|
||||
})
|
||||
|
||||
minetest.register_tool(
|
||||
"nalc_default:axe_gold",
|
||||
":nalc:axe_gold",
|
||||
{
|
||||
description = "Golden Axe",
|
||||
inventory_image = "default_tool_goldaxe.png",
|
||||
@ -47,17 +47,17 @@ minetest.register_tool(
|
||||
})
|
||||
|
||||
minetest.register_tool(
|
||||
"nalc_default:sword_gold",
|
||||
":nalc:sword_gold",
|
||||
{
|
||||
description = "Golden Sword",
|
||||
inventory_image = "default_tool_goldsword.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.8,
|
||||
full_punch_interval = 1,
|
||||
max_drop_level = 1,
|
||||
groupcaps = {
|
||||
snappy = {times = {[1] = 1.9, [2] = 0.85, [3] = 0.125}, uses = 10, maxlevel = 3},
|
||||
snappy = {times = {[1] = 1.9, [2] = 0.85, [3] = 0.125}, uses = 20, maxlevel = 3},
|
||||
},
|
||||
damage_groups = {fleshy = 5},
|
||||
damage_groups = {fleshy = 7},
|
||||
}
|
||||
})
|
||||
|
||||
@ -65,21 +65,21 @@ minetest.register_tool(
|
||||
if minetest.get_modpath("toolranks") then
|
||||
|
||||
minetest.override_item(
|
||||
"nalc_default:pick_gold",
|
||||
"nalc:pick_gold",
|
||||
{
|
||||
original_description = "Golden Pickaxe",
|
||||
description = toolranks.create_description("Golden Pickaxe", 0, 1),
|
||||
after_use = toolranks.new_afteruse
|
||||
})
|
||||
minetest.override_item(
|
||||
"nalc_default:axe_gold",
|
||||
"nalc:axe_gold",
|
||||
{
|
||||
original_description = "Golden Axe",
|
||||
description = toolranks.create_description("Golden Axe", 0, 1),
|
||||
after_use = toolranks.new_afteruse
|
||||
})
|
||||
minetest.override_item(
|
||||
"nalc_default:shovel_gold",
|
||||
"nalc:shovel_gold",
|
||||
{
|
||||
original_description = "Golden Shovel",
|
||||
description = toolranks.create_description("Golden Shovel", 0, 1),
|
||||
@ -88,7 +88,7 @@ if minetest.get_modpath("toolranks") then
|
||||
end
|
||||
|
||||
-- Aliases
|
||||
minetest.register_alias("default:pick_gold", "nalc_default:pick_gold")
|
||||
minetest.register_alias("default:shovel_gold", "nalc_default:shovel_gold")
|
||||
minetest.register_alias("default:axe_gold", "nalc_default:axe_gold")
|
||||
minetest.register_alias("default:sword_gold", "nalc_default:sword_gold")
|
||||
minetest.register_alias("default:pick_gold", "nalc:pick_gold")
|
||||
minetest.register_alias("default:shovel_gold", "nalc:shovel_gold")
|
||||
minetest.register_alias("default:axe_gold", "nalc:axe_gold")
|
||||
minetest.register_alias("default:sword_gold", "nalc:sword_gold")
|
||||
|
@ -45,7 +45,7 @@ minetest.register_tool(
|
||||
|
||||
minetest.register_craft(
|
||||
{
|
||||
output = "mobs:dungeon_master_s_blood_sword",
|
||||
output = "mobs:dungeon_master_sword",
|
||||
recipe = {
|
||||
{"mobs_monster:dungeon_master_blood", "nether:white", "mobs_monster:dungeon_master_blood"},
|
||||
{"mobs_monster:dungeon_master_blood", "mobs_monster:dungeon_master_diamond", "mobs_monster:dungeon_master_blood"},
|
||||
|
@ -11,7 +11,7 @@ minetest.register_craft({
|
||||
})
|
||||
|
||||
minetest.register_craft(
|
||||
{ output = 'nalc_moognu:pick_nyan',
|
||||
{ output = 'nalc:pick_nyan',
|
||||
recipe = {
|
||||
{'nyancat:nyancat', 'nyancat:nyancat', 'nyancat:nyancat'},
|
||||
{'', 'group:stick', ''},
|
||||
@ -21,7 +21,7 @@ minetest.register_craft(
|
||||
|
||||
minetest.register_craft(
|
||||
{
|
||||
output = "nalc_moognu:shovel_nyan",
|
||||
output = "nalc:shovel_nyan",
|
||||
recipe = {
|
||||
{"nyancat:nyancat"},
|
||||
{"group:stick"},
|
||||
@ -31,7 +31,7 @@ minetest.register_craft(
|
||||
|
||||
minetest.register_craft(
|
||||
{
|
||||
output = "nalc_moognu:axe_nyan",
|
||||
output = "nalc:axe_nyan",
|
||||
recipe = {
|
||||
{"nyancat:nyancat", "nyancat:nyancat"},
|
||||
{"nyancat:nyancat", "group:stick"},
|
||||
@ -41,7 +41,7 @@ minetest.register_craft(
|
||||
|
||||
minetest.register_craft(
|
||||
{
|
||||
output = "nalc_moognu:sword_nyan",
|
||||
output = "nalc:sword_nyan",
|
||||
recipe = {
|
||||
{"nyancat:nyancat"},
|
||||
{"nyancat:nyancat"},
|
||||
@ -54,7 +54,7 @@ minetest.register_craft(
|
||||
--
|
||||
|
||||
minetest.register_tool(
|
||||
"nalc_moognu:pick_nyan",
|
||||
":nalc:pick_nyan",
|
||||
{
|
||||
description = "Nyan Pickaxe",
|
||||
inventory_image = "default_tool_nyanpick.png",
|
||||
@ -70,7 +70,7 @@ minetest.register_tool(
|
||||
})
|
||||
|
||||
minetest.register_tool(
|
||||
"nalc_moognu:shovel_nyan",
|
||||
":nalc:shovel_nyan",
|
||||
{
|
||||
description = "Nyan Shovel",
|
||||
inventory_image = "default_tool_nyanshovel.png",
|
||||
@ -86,7 +86,7 @@ minetest.register_tool(
|
||||
})
|
||||
|
||||
minetest.register_tool(
|
||||
"nalc_moognu:axe_nyan",
|
||||
":nalc:axe_nyan",
|
||||
{
|
||||
description = "Nyan Axe",
|
||||
inventory_image = "default_tool_nyanaxe.png",
|
||||
@ -102,43 +102,43 @@ minetest.register_tool(
|
||||
})
|
||||
|
||||
minetest.register_tool(
|
||||
"nalc_moognu:sword_nyan",
|
||||
":nalc:sword_nyan",
|
||||
{
|
||||
description = "Nyan Sword",
|
||||
inventory_image = "default_tool_nyansword.png",
|
||||
tool_capabilities = {
|
||||
full_punch_interval = 0.7,
|
||||
full_punch_interval = 0.65,
|
||||
max_drop_level = 1,
|
||||
groupcaps = {
|
||||
snappy = {times = {[1] = 1.9, [2] = 0.85, [3] = 0.125}, uses = 40, maxlevel = 3},
|
||||
},
|
||||
damage_groups = {fleshy = 6},
|
||||
damage_groups = {fleshy = 7},
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_alias("default:pick_nyan", "nalc_moognu:pick_nyan")
|
||||
minetest.register_alias("default:axe_nyan", "nalc_moognu:axe_nyan")
|
||||
minetest.register_alias("default:shovel_nyan", "nalc_moognu:shovel_nyan")
|
||||
minetest.register_alias("default:sword_nyan", "nalc_moognu:sword_nyan")
|
||||
minetest.register_alias("default:pick_nyan", "nalc:pick_nyan")
|
||||
minetest.register_alias("default:axe_nyan", "nalc:axe_nyan")
|
||||
minetest.register_alias("default:shovel_nyan", "nalc:shovel_nyan")
|
||||
minetest.register_alias("default:sword_nyan", "nalc:sword_nyan")
|
||||
|
||||
-- Toolranks
|
||||
if minetest.get_modpath("toolranks") then
|
||||
minetest.override_item(
|
||||
"nalc_moognu:pick_nyan",
|
||||
"nalc:pick_nyan",
|
||||
{
|
||||
original_description = "Nyan Pickaxe",
|
||||
description = toolranks.create_description("Nyan Pickaxe", 0, 1),
|
||||
after_use = toolranks.new_afteruse
|
||||
})
|
||||
minetest.override_item(
|
||||
"nalc_moognu:axe_nyan",
|
||||
"nalc:axe_nyan",
|
||||
{
|
||||
original_description = "Nyan Axe",
|
||||
description = toolranks.create_description("Nyan Axe", 0, 1),
|
||||
after_use = toolranks.new_afteruse
|
||||
})
|
||||
minetest.override_item(
|
||||
"nalc_moognu:shovel_nyan",
|
||||
"nalc:shovel_nyan",
|
||||
{
|
||||
original_description = "Nyan Shovel",
|
||||
description = toolranks.create_description("Nyan Shovel", 0, 1),
|
||||
|
Loading…
Reference in New Issue
Block a user