New translation system, part 8: Items, part 4
This commit is contained in:
parent
a29626881f
commit
47c817d75a
22 changed files with 248 additions and 262 deletions
|
@ -1,3 +1,5 @@
|
|||
local S = minetest.get_translator("mcl_sponges")
|
||||
|
||||
local absorb = function(pos)
|
||||
local change = false
|
||||
-- Count number of absorbed river water vs other nodes
|
||||
|
@ -34,8 +36,8 @@ local absorb = function(pos)
|
|||
end
|
||||
|
||||
minetest.register_node("mcl_sponges:sponge", {
|
||||
description = "Sponge",
|
||||
_doc_items_longdesc = "Sponges are blocks which remove water around them when they are placed or come in contact with water, turning it into a wet sponge.",
|
||||
description = S("Sponge"),
|
||||
_doc_items_longdesc = S("Sponges are blocks which remove water around them when they are placed or come in contact with water, turning it into a wet sponge."),
|
||||
drawtype = "normal",
|
||||
is_ground_content = false,
|
||||
tiles = {"mcl_sponges_sponge.png"},
|
||||
|
@ -92,8 +94,8 @@ minetest.register_node("mcl_sponges:sponge", {
|
|||
})
|
||||
|
||||
minetest.register_node("mcl_sponges:sponge_wet", {
|
||||
description = "Waterlogged Sponge",
|
||||
_doc_items_longdesc = "A waterlogged sponge can be dried in the furnace to turn it into (dry) sponge. When there's an empty bucket in the fuel slot of a furnace, the water will pour into the bucket.",
|
||||
description = S("Waterlogged Sponge"),
|
||||
_doc_items_longdesc = S("A waterlogged sponge can be dried in the furnace to turn it into (dry) sponge. When there's an empty bucket in the fuel slot of a furnace, the water will pour into the bucket."),
|
||||
drawtype = "normal",
|
||||
is_ground_content = false,
|
||||
tiles = {"mcl_sponges_sponge_wet.png"},
|
||||
|
@ -110,8 +112,8 @@ minetest.register_node("mcl_sponges:sponge_wet", {
|
|||
|
||||
if minetest.get_modpath("mclx_core") then
|
||||
minetest.register_node("mcl_sponges:sponge_wet_river_water", {
|
||||
description = "Riverwaterlogged Sponge",
|
||||
_doc_items_longdesc = "This is a sponge soaking wet with river water. It can be dried in the furnace to turn it into (dry) sponge. When there's an empty bucket in the fuel slot of the furnace, the river water will pour into the bucket." .. "\n" .. "A sponge becomes riverwaterlogged (instead of waterlogged) if it sucks up more river water than (normal) water.",
|
||||
description = S("Riverwaterlogged Sponge"),
|
||||
_doc_items_longdesc = S("This is a sponge soaking wet with river water. It can be dried in the furnace to turn it into (dry) sponge. When there's an empty bucket in the fuel slot of the furnace, the river water will pour into the bucket.") .. "\n" .. S("A sponge becomes riverwaterlogged (instead of waterlogged) if it sucks up more river water than (normal) water."),
|
||||
drawtype = "normal",
|
||||
is_ground_content = false,
|
||||
tiles = {"mcl_sponges_sponge_wet_river_water.png"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue