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,6 +1,8 @@
|
|||
local S = minetest.get_translator("mcl_nether")
|
||||
|
||||
minetest.register_node("mcl_nether:glowstone", {
|
||||
description = "Glowstone",
|
||||
_doc_items_longdesc = "Glowstone is a naturally-glowing block which is home to the Nether.",
|
||||
description = S("Glowstone"),
|
||||
_doc_items_longdesc = S("Glowstone is a naturally-glowing block which is home to the Nether."),
|
||||
tiles = {"mcl_nether_glowstone.png"},
|
||||
is_ground_content = true,
|
||||
stack_max = 64,
|
||||
|
@ -22,8 +24,8 @@ minetest.register_node("mcl_nether:glowstone", {
|
|||
})
|
||||
|
||||
minetest.register_node("mcl_nether:quartz_ore", {
|
||||
description = "Nether Quartz Ore",
|
||||
_doc_items_longdesc = "Nether quartz ore is an ore containing nether quartz. It is commonly found around netherrack in the Nether.",
|
||||
description = S("Nether Quartz Ore"),
|
||||
_doc_items_longdesc = S("Nether quartz ore is an ore containing nether quartz. It is commonly found around netherrack in the Nether."),
|
||||
stack_max = 64,
|
||||
tiles = {"mcl_nether_quartz_ore.png"},
|
||||
is_ground_content = true,
|
||||
|
@ -60,8 +62,8 @@ local eternal_on_ignite = function(player, pointed_thing)
|
|||
end
|
||||
|
||||
minetest.register_node("mcl_nether:netherrack", {
|
||||
description = "Netherrack",
|
||||
_doc_items_longdesc = "Netherrack is a stone-like block home to the Nether. Starting a fire on this block will create an eternal fire.",
|
||||
description = S("Netherrack"),
|
||||
_doc_items_longdesc = S("Netherrack is a stone-like block home to the Nether. Starting a fire on this block will create an eternal fire."),
|
||||
stack_max = 64,
|
||||
tiles = {"mcl_nether_netherrack.png"},
|
||||
is_ground_content = true,
|
||||
|
@ -76,8 +78,8 @@ minetest.register_node("mcl_nether:netherrack", {
|
|||
})
|
||||
|
||||
minetest.register_node("mcl_nether:magma", {
|
||||
description = "Magma Block",
|
||||
_doc_items_longdesc = "Magma blocks are hot solid blocks which hurt anyone standing on it, unless they have fire resistance. Starting a fire on this block will create an eternal fire.",
|
||||
description = S("Magma Block"),
|
||||
_doc_items_longdesc = S("Magma blocks are hot solid blocks which hurt anyone standing on it, unless they have fire resistance. Starting a fire on this block will create an eternal fire."),
|
||||
stack_max = 64,
|
||||
tiles = {{name="mcl_nether_magma.png", animation={type="vertical_frames", aspect_w=32, aspect_h=32, length=1.5}}},
|
||||
is_ground_content = true,
|
||||
|
@ -102,8 +104,8 @@ minetest.register_node("mcl_nether:magma", {
|
|||
})
|
||||
|
||||
minetest.register_node("mcl_nether:soul_sand", {
|
||||
description = "Soul Sand",
|
||||
_doc_items_longdesc = "Soul sand is a block from the Nether. One can only slowly walk on soul sand. The slowing effect is amplified when the soul sand is on top of ice, packed ice or a slime block.",
|
||||
description = S("Soul Sand"),
|
||||
_doc_items_longdesc = S("Soul sand is a block from the Nether. One can only slowly walk on soul sand. The slowing effect is amplified when the soul sand is on top of ice, packed ice or a slime block."),
|
||||
stack_max = 64,
|
||||
tiles = {"mcl_nether_soul_sand.png"},
|
||||
is_ground_content = true,
|
||||
|
@ -120,7 +122,7 @@ minetest.register_node("mcl_nether:soul_sand", {
|
|||
|
||||
minetest.register_node("mcl_nether:nether_brick", {
|
||||
-- Original name: Nether Brick
|
||||
description = "Nether Brick Block",
|
||||
description = S("Nether Brick Block"),
|
||||
_doc_items_longdesc = doc.sub.items.temp.build,
|
||||
stack_max = 64,
|
||||
tiles = {"mcl_nether_nether_brick.png"},
|
||||
|
@ -133,7 +135,7 @@ minetest.register_node("mcl_nether:nether_brick", {
|
|||
|
||||
minetest.register_node("mcl_nether:red_nether_brick", {
|
||||
-- Original name: Red Nether Brick
|
||||
description = "Red Nether Brick Block",
|
||||
description = S("Red Nether Brick Block"),
|
||||
_doc_items_longdesc = doc.sub.items.temp.build,
|
||||
stack_max = 64,
|
||||
tiles = {"mcl_nether_red_nether_brick.png"},
|
||||
|
@ -146,8 +148,8 @@ minetest.register_node("mcl_nether:red_nether_brick", {
|
|||
|
||||
|
||||
minetest.register_node("mcl_nether:nether_wart_block", {
|
||||
description = "Nether Wart Block",
|
||||
_doc_items_longdesc = "A nether wart block is a purely decorational block made from nether wart.",
|
||||
description = S("Nether Wart Block"),
|
||||
_doc_items_longdesc = S("A nether wart block is a purely decorational block made from nether wart."),
|
||||
stack_max = 64,
|
||||
tiles = {"mcl_nether_nether_wart_block.png"},
|
||||
is_ground_content = false,
|
||||
|
@ -163,7 +165,7 @@ minetest.register_node("mcl_nether:nether_wart_block", {
|
|||
})
|
||||
|
||||
minetest.register_node("mcl_nether:quartz_block", {
|
||||
description = "Block of Quartz",
|
||||
description = S("Block of Quartz"),
|
||||
_doc_items_longdesc = doc.sub.items.temp.build,
|
||||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
|
@ -175,7 +177,7 @@ minetest.register_node("mcl_nether:quartz_block", {
|
|||
})
|
||||
|
||||
minetest.register_node("mcl_nether:quartz_chiseled", {
|
||||
description = "Chiseled Quartz Block",
|
||||
description = S("Chiseled Quartz Block"),
|
||||
_doc_items_longdesc = doc.sub.items.temp.build,
|
||||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
|
@ -187,7 +189,7 @@ minetest.register_node("mcl_nether:quartz_chiseled", {
|
|||
})
|
||||
|
||||
minetest.register_node("mcl_nether:quartz_pillar", {
|
||||
description = "Pillar Quartz Block",
|
||||
description = S("Pillar Quartz Block"),
|
||||
_doc_items_longdesc = doc.sub.items.temp.build,
|
||||
stack_max = 64,
|
||||
paramtype2 = "facedir",
|
||||
|
@ -200,7 +202,7 @@ minetest.register_node("mcl_nether:quartz_pillar", {
|
|||
_mcl_hardness = 0.8,
|
||||
})
|
||||
minetest.register_node("mcl_nether:quartz_smooth", {
|
||||
description = "Smooth Quartz",
|
||||
description = S("Smooth Quartz"),
|
||||
_doc_items_longdesc = doc.sub.items.temp.build,
|
||||
stack_max = 64,
|
||||
is_ground_content = false,
|
||||
|
@ -212,24 +214,24 @@ minetest.register_node("mcl_nether:quartz_smooth", {
|
|||
})
|
||||
|
||||
minetest.register_craftitem("mcl_nether:glowstone_dust", {
|
||||
description = "Glowstone Dust",
|
||||
_doc_items_longdesc = "Glowstone dust is the dust which comes out of broken glowstones. It is mainly used in crafting.",
|
||||
description = S("Glowstone Dust"),
|
||||
_doc_items_longdesc = S("Glowstone dust is the dust which comes out of broken glowstones. It is mainly used in crafting."),
|
||||
inventory_image = "mcl_nether_glowstone_dust.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem=1 },
|
||||
})
|
||||
|
||||
minetest.register_craftitem("mcl_nether:quartz", {
|
||||
description = "Nether Quartz",
|
||||
_doc_items_longdesc = "Nether quartz is a versatile crafting ingredient.",
|
||||
description = S("Nether Quartz"),
|
||||
_doc_items_longdesc = S("Nether quartz is a versatile crafting ingredient."),
|
||||
inventory_image = "mcl_nether_quartz.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem = 1 },
|
||||
})
|
||||
|
||||
minetest.register_craftitem("mcl_nether:netherbrick", {
|
||||
description = "Nether Brick",
|
||||
_doc_items_longdesc = "Nether bricks are the main crafting ingredient for crafting nether brick blocks and nether fences.",
|
||||
description = S("Nether Brick"),
|
||||
_doc_items_longdesc = S("Nether bricks are the main crafting ingredient for crafting nether brick blocks and nether fences."),
|
||||
inventory_image = "mcl_nether_netherbrick.png",
|
||||
stack_max = 64,
|
||||
groups = { craftitem = 1 },
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
-- Lava in the Nether
|
||||
|
||||
local S = minetest.get_translator("mcl_nether")
|
||||
|
||||
-- TODO: Increase flow speed. This could be done by reducing viscosity,
|
||||
-- but this would also allow players to swim faster in lava.
|
||||
|
||||
local lava_src_def = table.copy(minetest.registered_nodes["mcl_core:lava_source"])
|
||||
lava_src_def.description = "Nether Lava Source"
|
||||
lava_src_def.description = S("Nether Lava Source")
|
||||
lava_src_def._doc_items_create_entry = false
|
||||
lava_src_def._doc_items_entry_name = nil
|
||||
lava_src_def._doc_items_longdesc = nil
|
||||
|
@ -16,7 +17,7 @@ lava_src_def.liquid_alternative_flowing = "mcl_nether:nether_lava_flowing"
|
|||
minetest.register_node("mcl_nether:nether_lava_source", lava_src_def)
|
||||
|
||||
local lava_flow_def = table.copy(minetest.registered_nodes["mcl_core:lava_flowing"])
|
||||
lava_flow_def.description = "Flowing Nether Lava"
|
||||
lava_flow_def.description = S("Flowing Nether Lava")
|
||||
lava_flow_def._doc_items_create_entry = false
|
||||
lava_flow_def.liquid_range = 7
|
||||
lava_flow_def.liquid_alternative_flowing = "mcl_nether:nether_lava_flowing"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue