forked from minetest/minetest_game
Add support for MT 5 game translation (rebasing ) (#2466)
rebased #2368
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user