backguard compatibility and reusage of i18n from 3d_armor
This commit is contained in:
parent
e408ce2510
commit
4723a16501
8
init.lua
8
init.lua
@ -1,6 +1,12 @@
|
||||
|
||||
-- Use 3d_armor translator to take advantage of existing translations for armor parts
|
||||
local S = minetest.get_translator("3d_armor")
|
||||
local S = armor_i18n.gettext
|
||||
local F = armor_i18n.fgettext
|
||||
|
||||
if not minetest.get_modpath("technic_worldgen") then
|
||||
minetest.log("warning", S("[technic_armor]: Mod loaded but unused."))
|
||||
return
|
||||
end
|
||||
|
||||
local materials = {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user