Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
This commit is contained in:
parent
d99a176b69
commit
bb9279ccb8
43 changed files with 632 additions and 433 deletions
|
@ -1,10 +1,15 @@
|
|||
-- wool/init.lua
|
||||
|
||||
-- Load support for MT game translation.
|
||||
local S = minetest.get_translator("wool")
|
||||
|
||||
local dyes = dye.dyes
|
||||
|
||||
for i = 1, #dyes do
|
||||
local name, desc = unpack(dyes[i])
|
||||
|
||||
minetest.register_node("wool:" .. name, {
|
||||
description = desc .. " Wool",
|
||||
description = S("@1 Wool", desc),
|
||||
tiles = {"wool_" .. name .. ".png"},
|
||||
is_ground_content = false,
|
||||
groups = {snappy = 2, choppy = 2, oddly_breakable_by_hand = 3,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue