New translation system, part 6: Items, part 2

This commit is contained in:
Wuzzy 2019-03-07 23:40:43 +01:00
parent 1df3d0e42b
commit e4fbbeddb2
15 changed files with 306 additions and 280 deletions

View file

@ -1,8 +1,9 @@
-- Climbable nodes
local S = minetest.get_translator("mcl_core")
minetest.register_node("mcl_core:ladder", {
description = "Ladder",
_doc_items_longdesc = "A piece of ladder which allows you to climb vertically. Ladders can only be placed on the side of solid blocks and not on glass, leaves, ice, slabs, glowstone, nor sea lanterns.",
description = S("Ladder"),
_doc_items_longdesc = S("A piece of ladder which allows you to climb vertically. Ladders can only be placed on the side of solid blocks and not on glass, leaves, ice, slabs, glowstone, nor sea lanterns."),
drawtype = "signlike",
is_ground_content = false,
tiles = {"default_ladder.png"},
@ -77,8 +78,8 @@ minetest.register_node("mcl_core:ladder", {
minetest.register_node("mcl_core:vine", {
description = "Vines",
_doc_items_longdesc = "Vines are climbable blocks which can be placed on the sides solid full-cube blocks. Vines slowly grow and spread.",
description = S("Vines"),
_doc_items_longdesc = S("Vines are climbable blocks which can be placed on the sides solid full-cube blocks. Vines slowly grow and spread."),
drawtype = "signlike",
tiles = {"mcl_core_vine.png"},
inventory_image = "mcl_core_vine.png",