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_portals")
|
||||
|
||||
-- Parameters
|
||||
local SPAWN_MIN = mcl_vars.mg_end_min+70
|
||||
local SPAWN_MAX = mcl_vars.mg_end_min+98
|
||||
|
@ -6,9 +8,9 @@ local mg_name = minetest.get_mapgen_setting("mg_name")
|
|||
|
||||
-- End portal
|
||||
minetest.register_node("mcl_portals:portal_end", {
|
||||
description = "End Portal",
|
||||
_doc_items_longdesc = "An End portal teleports creatures and objects to the mysterious End dimension (and back!).",
|
||||
_doc_items_usagehelp = "Hop into the portal to teleport. Entering an End portal in the Overworld teleports you to a fixed position in the End dimension and creates a 5×5 obsidian platform at your destination. End portals in the End will lead back to your spawn point in the Overworld.",
|
||||
description = S("End Portal"),
|
||||
_doc_items_longdesc = S("An End portal teleports creatures and objects to the mysterious End dimension (and back!)."),
|
||||
_doc_items_usagehelp = S("Hop into the portal to teleport. Entering an End portal in the Overworld teleports you to a fixed position in the End dimension and creates a 5×5 obsidian platform at your destination. End portals in the End will lead back to your spawn point in the Overworld."),
|
||||
tiles = {
|
||||
{
|
||||
name = "mcl_portals_end_portal.png",
|
||||
|
@ -295,9 +297,9 @@ if minetest.get_modpath("screwdriver") then
|
|||
end
|
||||
|
||||
minetest.register_node("mcl_portals:end_portal_frame", {
|
||||
description = "End Portal Frame",
|
||||
_doc_items_longdesc = "End portal frames are used in the construction of End portals. Each block has a socket for an eye of ender." .. "\n" .. "NOTE: The End dimension is currently incomplete and boring.",
|
||||
_doc_items_usagehelp = "To create an End portal, you need 12 end portal frames and 12 eyes of ender. The end portal frames have to be arranged around a horizontal 3×3 area with each block facing inward. Any other arrangement will fail." .. "\n" .. "Place an eye of ender into each block. The end portal appears in the middle after placing the final eye." .. "\n" .. "Once placed, an eye of ender can not be taken back.",
|
||||
description = S("End Portal Frame"),
|
||||
_doc_items_longdesc = S("End portal frames are used in the construction of End portals. Each block has a socket for an eye of ender." .. "\n" .. "NOTE: The End dimension is currently incomplete and boring."),
|
||||
_doc_items_usagehelp = S("To create an End portal, you need 12 end portal frames and 12 eyes of ender. The end portal frames have to be arranged around a horizontal 3×3 area with each block facing inward. Any other arrangement will fail.") .. "\n" .. S("Place an eye of ender into each block. The end portal appears in the middle after placing the final eye." .. "\n" .. "Once placed, an eye of ender can not be taken back."),
|
||||
groups = { creative_breakable = 1, deco_block = 1 },
|
||||
tiles = { "mcl_portals_endframe_top.png", "mcl_portals_endframe_bottom.png", "mcl_portals_endframe_side.png" },
|
||||
paramtype2 = "facedir",
|
||||
|
@ -319,7 +321,7 @@ minetest.register_node("mcl_portals:end_portal_frame", {
|
|||
})
|
||||
|
||||
minetest.register_node("mcl_portals:end_portal_frame_eye", {
|
||||
description = "End Portal Frame with Eye of Ender",
|
||||
description = S("End Portal Frame with Eye of Ender"),
|
||||
_doc_items_create_entry = false,
|
||||
groups = { creative_breakable = 1, deco_block = 1, comparator_signal = 15 },
|
||||
tiles = { "mcl_portals_endframe_top.png^[lowpart:75:mcl_portals_endframe_eye.png", "mcl_portals_endframe_bottom.png", "mcl_portals_endframe_eye.png^mcl_portals_endframe_side.png" },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue