Compare commits

..

No commits in common. "2f881a219bdf89e3368b716cac979769bf4e0b15" and "f099d7658b058fa8cb226ed97e417c8cbaee149a" have entirely different histories.

4 changed files with 2 additions and 30 deletions

View File

@ -1,26 +1,6 @@
-- support for i18n
-- Intllib
local S
if minetest.get_translator ~= nil then
S = minetest.get_translator("ethereal") -- 5.x translation function
else
if minetest.get_modpath("intllib") then
dofile(minetest.get_modpath("intllib") .. "/init.lua")
if intllib.make_gettext_pair then
gettext, ngettext = intllib.make_gettext_pair() -- new gettext method
else
gettext = intllib.Getter() -- old text file method
end
S = gettext
else -- boilerplate function
S = function(str, ...)
local args = {...}
return str:gsub("@%d+", function(match)
return args[tonumber(match:sub(2))]
end)
end
end
end
local S = minetest.get_translator(minetest.get_current_modname())
if minetest.global_exists("armor") and armor.elements then
table.insert(armor.elements, "hands")
@ -28,14 +8,6 @@ end
-- Regisiter Gloves/Gauntlets
armor:register_armor("3d_armor_gloves:gloves_admin", {
description = S("Admin Gauntlets"),
inventory_image = "3d_armor_gloves_inv_gloves_admin.png",
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
armor:register_armor("3d_armor_gloves:gloves_wood", {
description = S("Wood Gauntlets"),

Binary file not shown.

Before

Width:  |  Height:  |  Size: 328 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 301 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 298 B