make aliasing of all to 3d_armor:<stuf> namespace
This commit is contained in:
parent
e1a680e7dd
commit
30427f9659
5
init.lua
5
init.lua
@ -34,8 +34,6 @@ armor:register_armor("3d_armor_gloves:gloves_admin", {
|
|||||||
groups = {armor_hands=1000, armor_heal=100, armor_use=0, not_in_creative_inventory=1},
|
groups = {armor_hands=1000, armor_heal=100, armor_use=0, not_in_creative_inventory=1},
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_alias("admingloves", "3d_armor_gloves:gloves_admin")
|
|
||||||
|
|
||||||
if armor.materials.wood then
|
if armor.materials.wood then
|
||||||
armor:register_armor("3d_armor_gloves:gloves_wood", {
|
armor:register_armor("3d_armor_gloves:gloves_wood", {
|
||||||
description = S("Wood Gauntlets"),
|
description = S("Wood Gauntlets"),
|
||||||
@ -140,4 +138,7 @@ for k, v in pairs(armor.materials) do
|
|||||||
{"farming:string", "", "farming:string"},
|
{"farming:string", "", "farming:string"},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
minetest.register_alias("3d_armor:gloves_"..k, "3d_armor_gloves:gloves_"..k)
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user