Browse Source

[nalc_hell] Corrige support toolranks

master
sys4 1 year ago
parent
commit
73408c74b5
  1. 97
      nalc_hell/init.lua
  2. 3
      nalc_hell/mod.conf
  3. 2
      nalc_nether/depends.txt
  4. 96
      nalc_nether/init.lua

97
nalc_hell/init.lua

@ -0,0 +1,97 @@
-- Aliases
minetest.register_alias("hell:sword_sywtonic", "nether:sword_white")
minetest.register_alias("hell:sword_sywtonic", "nether:sword_sywtonic")
-- Hell Toolranks
-- Hell Pickaxes
minetest.override_item(
"hell:pick_mushroom",
{
original_description = "Hell Mushroom Pickaxe",
description = toolranks.create_description("Hell Mushroom Pickaxe", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"hell:pick_wood",
{
original_description = "Hell Wood Pickaxe",
description = toolranks.create_description("Hell Wood Pickaxe", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"hell:pick_hellrack",
{
original_description = "Hellrack Pickaxe",
description = toolranks.create_description("Hellrack Pickaxe", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"hell:pick_hellrack_blue",
{
original_description = "Blue Hellrack Pickaxe",
description = toolranks.create_description("Blue Hellrack Pickaxe", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"hell:pick_white",
{
original_description = "Siwtonic Pickaxe",
description = toolranks.create_description("Siwtonic Pickaxe", 0, 1),
after_use = toolranks.new_afteruse
})
-- Hell Axes
minetest.override_item(
"hell:axe_hellrack",
{
original_description = "Hellrack Axe",
description = toolranks.create_description("Hellrack Axe", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"hell:axe_hellrack_blue",
{
original_description = "Blue Hellrack Axe",
description = toolranks.create_description("Blue Hellrack Axe", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"hell:axe_white",
{
original_description = "Siwtonic Axe",
description = toolranks.create_description("Siwtonic Axe", 0, 1),
after_use = toolranks.new_afteruse
})
-- Hell Shovels
minetest.override_item(
"hell:shovel_hellrack",
{
original_description = "Hellrack Shovel",
description = toolranks.create_description("Hellrack Shovel", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"hell:shovel_hellrack_blue",
{
original_description = "Blue Hellrack Shovel",
description = toolranks.create_description("Blue Hellrack Shovel", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"hell:shovel_white",
{
original_description = "Siwtonic Shovel",
description = toolranks.create_description("Siwtonic Shovel", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.log("action", "[nalc_hell] loaded.")

3
nalc_hell/mod.conf

@ -0,0 +1,3 @@
name = nalc_hell
description = Add toolranks support to hell mod
depends = hell,toolranks

2
nalc_nether/depends.txt

@ -1,2 +0,0 @@
nether
toolranks

96
nalc_nether/init.lua

@ -1,96 +0,0 @@
-- Aliases
minetest.register_alias("nether:sword_sywtonic", "nether:sword_white")
-- Nether Toolranks
-- Nether Pickaxes
minetest.override_item(
"nether:pick_mushroom",
{
original_description = "Nether Mushroom Pickaxe",
description = toolranks.create_description("Nether Mushroom Pickaxe", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"nether:pick_wood",
{
original_description = "Nether Wood Pickaxe",
description = toolranks.create_description("Nether Wood Pickaxe", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"nether:pick_netherrack",
{
original_description = "Netherrack Pickaxe",
description = toolranks.create_description("Netherrack Pickaxe", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"nether:pick_netherrack_blue",
{
original_description = "Blue Netherrack Pickaxe",
description = toolranks.create_description("Blue Netherrack Pickaxe", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"nether:pick_white",
{
original_description = "Siwtonic Pickaxe",
description = toolranks.create_description("Siwtonic Pickaxe", 0, 1),
after_use = toolranks.new_afteruse
})
-- Nether Axes
minetest.override_item(
"nether:axe_netherrack",
{
original_description = "Netherrack Axe",
description = toolranks.create_description("Netherrack Axe", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"nether:axe_netherrack_blue",
{
original_description = "Blue Netherrack Axe",
description = toolranks.create_description("Blue Netherrack Axe", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"nether:axe_white",
{
original_description = "Siwtonic Axe",
description = toolranks.create_description("Siwtonic Axe", 0, 1),
after_use = toolranks.new_afteruse
})
-- Nether Shovels
minetest.override_item(
"nether:shovel_netherrack",
{
original_description = "Netherrack Shovel",
description = toolranks.create_description("Netherrack Shovel", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"nether:shovel_netherrack_blue",
{
original_description = "Blue Netherrack Shovel",
description = toolranks.create_description("Blue Netherrack Shovel", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.override_item(
"nether:shovel_white",
{
original_description = "Siwtonic Shovel",
description = toolranks.create_description("Siwtonic Shovel", 0, 1),
after_use = toolranks.new_afteruse
})
minetest.log("action", "[nalc_nether] loaded.")
Loading…
Cancel
Save