add steel gates

This commit is contained in:
FaceDeer 2019-04-14 22:24:43 -06:00
parent 3ffdf10286
commit c07ac774ac
5 changed files with 252 additions and 176 deletions

201
gates.lua
View File

@ -2,21 +2,37 @@
local MP = minetest.get_modpath(minetest.get_current_modname()) local MP = minetest.get_modpath(minetest.get_current_modname())
local S, NS = dofile(MP.."/intllib.lua") local S, NS = dofile(MP.."/intllib.lua")
minetest.register_node("castle_gates:portcullis_bars", { minetest.register_alias("castle_gates:gate_edge", "castle_gates:wood_gate_edge")
minetest.register_alias("castle_gates:gate_edge_handle", "castle_gates:wood_gate_edge_handle")
minetest.register_alias("castle_gates:gate_hinge", "castle_gates:wood_gate_hinge")
minetest.register_alias("castle_gates:gate_panel", "castle_gates:wood_gate_panel")
minetest.register_alias("castle_gates:portcullis_bars", "castle_gates:wood_portcullis_bars")
minetest.register_alias("castle_gates:portcullis_bars_bottom", "castle_gates:wood_portcullis_bars_bottom")
local register_gates = function(node_prefix, material_description, material_texture, gate_groups, gate_sounds, portcullis_recipe, panel_recipe)
local portcullis_groups = {castle_gate = 1, flow_through = 1}
local panel_groups = {castle_gate = 1}
for group, val in pairs(gate_groups) do
portcullis_groups[group] = val
panel_groups[group] = val
end
minetest.register_node("castle_gates:"..node_prefix.."_portcullis_bars", {
drawtype = "nodebox", drawtype = "nodebox",
description = S("Portcullis Bars"), description = S("@1 Portcullis Bars", material_description),
_doc_items_longdesc = castle_gates.doc.portcullis_bars_longdesc, _doc_items_longdesc = castle_gates.doc.portcullis_bars_longdesc,
_doc_items_usagehelp = castle_gates.doc.portcullis_bars_usagehelp, _doc_items_usagehelp = castle_gates.doc.portcullis_bars_usagehelp,
groups = {castle_gate = 1, choppy = 1, flow_through = 1}, groups = portcullis_groups,
tiles = { tiles = {
"castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)",
"castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)",
"default_wood.png^[transformR90", material_texture.."^[transformR90",
"default_wood.png^[transformR90", material_texture.."^[transformR90",
"castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)",
"castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)",
}, },
sounds = default.node_sound_wood_defaults(), sounds = gate_sounds,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
node_box = { node_box = {
@ -32,21 +48,21 @@ minetest.register_node("castle_gates:portcullis_bars", {
on_rightclick = castle_gates.trigger_gate, on_rightclick = castle_gates.trigger_gate,
}) })
minetest.register_node("castle_gates:portcullis_bars_bottom", { minetest.register_node("castle_gates:"..node_prefix.."_portcullis_bars_bottom", {
drawtype = "nodebox", drawtype = "nodebox",
description = S("Portcullis Bottom"), description = S("@1 Portcullis Bottom", material_description),
_doc_items_longdesc = castle_gates.doc.portcullis_bars_bottom_longdesc, _doc_items_longdesc = castle_gates.doc.portcullis_bars_bottom_longdesc,
_doc_items_usagehelp = castle_gates.doc.portcullis_bars_bottom_usagehelp, _doc_items_usagehelp = castle_gates.doc.portcullis_bars_bottom_usagehelp,
groups = {castle_gate = 1, choppy = 1, flow_through = 1}, groups = portcullis_groups,
tiles = { tiles = {
"castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)",
"castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)",
"default_wood.png^[transformR90", material_texture.."^[transformR90",
"default_wood.png^[transformR90", material_texture.."^[transformR90",
"castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)",
"castle_steel.png^(default_wood.png^[transformR90^[mask:castle_portcullis_mask.png)", "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_portcullis_mask.png)",
}, },
sounds = default.node_sound_wood_defaults(), sounds = gate_sounds,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
node_box = { node_box = {
@ -67,53 +83,46 @@ minetest.register_node("castle_gates:portcullis_bars_bottom", {
}) })
minetest.register_craft({ minetest.register_craft({
output = "castle_gates:portcullis_bars 3", output = "castle_gates:"..node_prefix.."_portcullis_bars 3",
recipe = portcullis_recipe,
})
minetest.register_craft({
output = "castle_gates:"..node_prefix.."_portcullis_bars",
recipe = { recipe = {
{"group:wood","default:steel_ingot","group:wood" }, {"castle_gates:"..node_prefix.."_portcullis_bars_bottom"}
{"group:wood","default:steel_ingot","group:wood" },
{"group:wood","default:steel_ingot","group:wood" },
}, },
}) })
minetest.register_craft({ minetest.register_craft({
output = "castle_gates:portcullis_bars", output = "castle_gates:"..node_prefix.."_portcullis_bars_bottom",
recipe = { recipe = {
{"castle_gates:portcullis_bars_bottom"} {"castle_gates:"..node_prefix.."_portcullis_bars"}
},
})
minetest.register_craft({
output = "castle_gates:portcullis_bars_bottom",
recipe = {
{"castle_gates:portcullis_bars"}
}, },
}) })
-------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------
minetest.register_craft({ minetest.register_craft({
output = "castle_gates:gate_panel 8", output = "castle_gates:"..node_prefix.."_gate_panel 8",
recipe = { recipe = panel_recipe,
{"stairs:slab_wood","stairs:slab_wood", ""},
{"stairs:slab_wood","stairs:slab_wood", ""},
},
}) })
minetest.register_node("castle_gates:gate_panel", { minetest.register_node("castle_gates:"..node_prefix.."_gate_panel", {
drawtype = "nodebox", drawtype = "nodebox",
description = S("Gate Door"), description = S("@1 Gate Door", material_description),
_doc_items_longdesc = castle_gates.doc.gate_panel_longdesc, _doc_items_longdesc = castle_gates.doc.gate_panel_longdesc,
_doc_items_usagehelp = castle_gates.doc.gate_panel_usagehelp, _doc_items_usagehelp = castle_gates.doc.gate_panel_usagehelp,
groups = {choppy = 1, castle_gate = 1}, groups = panel_groups,
tiles = { tiles = {
"default_wood.png^[transformR90", material_texture.."^[transformR90",
"default_wood.png^[transformR90", material_texture.."^[transformR90",
"default_wood.png^[transformR90", material_texture.."^[transformR90",
"default_wood.png^[transformR90", material_texture.."^[transformR90",
"default_wood.png^[transformR90", material_texture.."^[transformR90",
"default_wood.png^[transformR90", material_texture.."^[transformR90",
}, },
sounds = default.node_sound_wood_defaults(), sounds = gate_sounds,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
node_box = { node_box = {
@ -126,26 +135,26 @@ minetest.register_node("castle_gates:gate_panel", {
}) })
minetest.register_craft({ minetest.register_craft({
output = "castle_gates:gate_edge", output = "castle_gates:"..node_prefix.."_gate_edge",
type = "shapeless", type = "shapeless",
recipe = {"castle_gates:gate_panel"}, recipe = {"castle_gates:"..node_prefix.."_gate_panel"},
}) })
minetest.register_node("castle_gates:gate_edge", { minetest.register_node("castle_gates:"..node_prefix.."_gate_edge", {
drawtype = "nodebox", drawtype = "nodebox",
description = S("Gate Door Edge"), description = S("@1 Gate Door Edge", material_description),
_doc_items_longdesc = castle_gates.doc.gate_edge_longdesc, _doc_items_longdesc = castle_gates.doc.gate_edge_longdesc,
_doc_items_usagehelp = castle_gates.doc.gate_edge_usagehelp, _doc_items_usagehelp = castle_gates.doc.gate_edge_usagehelp,
groups = {choppy = 1, castle_gate = 1}, groups = panel_groups,
tiles = { tiles = {
"default_wood.png^[transformR90", material_texture.."^[transformR90",
"default_wood.png^[transformR90", material_texture.."^[transformR90",
"default_wood.png^[transformR90", material_texture.."^[transformR90",
"default_wood.png^[transformR90", material_texture.."^[transformR90",
"default_wood.png^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png^[transformFX)", material_texture.."^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png^[transformFX)",
"default_wood.png^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png)", material_texture.."^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png)",
}, },
sounds = default.node_sound_wood_defaults(), sounds = gate_sounds,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
node_box = { node_box = {
@ -159,32 +168,32 @@ minetest.register_node("castle_gates:gate_edge", {
}) })
minetest.register_craft({ minetest.register_craft({
output = "castle_gates:gate_edge_handle", output = "castle_gates:"..node_prefix.."_gate_edge_handle",
type = "shapeless", type = "shapeless",
recipe = {"castle_gates:gate_edge"}, recipe = {"castle_gates:"..node_prefix.."_gate_edge"},
}) })
minetest.register_craft({ minetest.register_craft({
output = "castle_gates:gate_panel", output = "castle_gates:"..node_prefix.."_gate_panel",
type = "shapeless", type = "shapeless",
recipe = {"castle_gates:gate_edge_handle"}, recipe = {"castle_gates:"..node_prefix.."_gate_edge_handle"},
}) })
minetest.register_node("castle_gates:gate_edge_handle", { minetest.register_node("castle_gates:"..node_prefix.."_gate_edge_handle", {
drawtype = "nodebox", drawtype = "nodebox",
description = S("Gate Door With Handle"), description = S("@1 Gate Door With Handle", material_description),
_doc_items_longdesc = castle_gates.doc.gate_edge_handle_longdesc, _doc_items_longdesc = castle_gates.doc.gate_edge_handle_longdesc,
_doc_items_usagehelp = castle_gates.doc.gate_edge_handle_usagehelp, _doc_items_usagehelp = castle_gates.doc.gate_edge_handle_usagehelp,
groups = {choppy = 1, castle_gate = 1}, groups = panel_groups,
tiles = { tiles = {
"castle_steel.png^(default_wood.png^[mask:castle_door_side_mask.png^[transformR90)", "castle_steel.png^("..material_texture.."^[mask:castle_door_side_mask.png^[transformR90)",
"castle_steel.png^(default_wood.png^[mask:castle_door_side_mask.png^[transformR270)", "castle_steel.png^("..material_texture.."^[mask:castle_door_side_mask.png^[transformR270)",
"castle_steel.png^(default_wood.png^[transformR90^[mask:castle_door_side_mask.png)", "castle_steel.png^("..material_texture.."^[transformR90^[mask:castle_door_side_mask.png)",
"castle_steel.png^(default_wood.png^[transformR90^[mask:(castle_door_side_mask.png^[transformFX))", "castle_steel.png^("..material_texture.."^[transformR90^[mask:(castle_door_side_mask.png^[transformFX))",
"default_wood.png^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png^[transformFX)^(castle_steel.png^[mask:castle_door_handle_mask.png^[transformFX)", material_texture.."^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png^[transformFX)^(castle_steel.png^[mask:castle_door_handle_mask.png^[transformFX)",
"default_wood.png^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png)^(castle_steel.png^[mask:castle_door_handle_mask.png)", material_texture.."^[transformR90^(default_coal_block.png^[mask:castle_door_edge_mask.png)^(castle_steel.png^[mask:castle_door_handle_mask.png)",
}, },
sounds = default.node_sound_wood_defaults(), sounds = gate_sounds,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
node_box = { node_box = {
@ -205,24 +214,24 @@ minetest.register_node("castle_gates:gate_edge_handle", {
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
minetest.register_craft({ minetest.register_craft({
output = "castle_gates:gate_hinge 3", output = "castle_gates:"..node_prefix.."_gate_hinge 3",
recipe = { recipe = {
{"", "castle_gates:gate_panel", ""}, {"", "castle_gates:"..node_prefix.."_gate_panel", ""},
{"default:steel_ingot", "castle_gates:gate_panel", ""}, {"default:steel_ingot", "castle_gates:"..node_prefix.."_gate_panel", ""},
{"", "castle_gates:gate_panel", ""} {"", "castle_gates:"..node_prefix.."_gate_panel", ""}
}, },
}) })
minetest.register_node("castle_gates:gate_hinge", { minetest.register_node("castle_gates:"..node_prefix.."_gate_hinge", {
drawtype = "nodebox", drawtype = "nodebox",
description = S("Gate Door With Hinge"), description = S("@1 Gate Door With Hinge", material_description),
_doc_items_longdesc = castle_gates.doc.gate_hinge_longdesc, _doc_items_longdesc = castle_gates.doc.gate_hinge_longdesc,
_doc_items_usagehelp = castle_gates.doc.gate_hinge_usagehelp, _doc_items_usagehelp = castle_gates.doc.gate_hinge_usagehelp,
groups = {choppy = 1, castle_gate = 1}, groups = panel_groups,
tiles = { tiles = {
"default_wood.png^[transformR90", material_texture.."^[transformR90",
}, },
sounds = default.node_sound_wood_defaults(), sounds = gate_sounds,
paramtype = "light", paramtype = "light",
paramtype2 = "facedir", paramtype2 = "facedir",
@ -241,3 +250,29 @@ minetest.register_node("castle_gates:gate_hinge", {
_gate_hinge = {axis="top", offset={"front","left"}}, _gate_hinge = {axis="top", offset={"front","left"}},
on_rightclick = castle_gates.trigger_gate, on_rightclick = castle_gates.trigger_gate,
}) })
end
register_gates("wood", S("Wooden"), "default_wood.png", {choppy = 1}, default.node_sound_wood_defaults(),
{
{"group:wood","default:steel_ingot","group:wood" },
{"group:wood","default:steel_ingot","group:wood" },
{"group:wood","default:steel_ingot","group:wood" },
},
{
{"stairs:slab_wood","stairs:slab_wood", ""},
{"stairs:slab_wood","stairs:slab_wood", ""},
}
)
register_gates("steel", S("Steel"), "default_steel_block.png", {cracky = 1, level = 2}, default.node_sound_metal_defaults(),
{
{"","default:steel_ingot","" },
{"default:steel_ingot","default:steel_ingot","default:steel_ingot" },
{"","default:steel_ingot","" },
},
{
{"stairs:slab_steelblock","stairs:slab_steelblock", ""},
{"stairs:slab_steelblock","stairs:slab_steelblock", ""},
}
)

View File

@ -3,7 +3,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-01 23:41-0700\n" "POT-Creation-Date: 2019-04-14 22:15-0600\n"
"PO-Revision-Date: 2017-04-28 11:56-0400\n" "PO-Revision-Date: 2017-04-28 11:56-0400\n"
"Last-Translator: Carlos Barraza\n" "Last-Translator: Carlos Barraza\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -31,8 +31,8 @@ msgid ""
"The bottom edge of a portcullis gate, with knobs to lock securely into the " "The bottom edge of a portcullis gate, with knobs to lock securely into the "
"floor." "floor."
msgstr "" msgstr ""
"Es el borde inferior de una puerta rastrillo, con perillas para bloquearla con " "Es el borde inferior de una puerta rastrillo, con perillas para bloquearla "
"seguridad en el piso" "con seguridad en el piso"
#: doc.lua:15 #: doc.lua:15
msgid "" msgid ""
@ -41,8 +41,8 @@ msgid ""
"just decorative." "just decorative."
msgstr "" msgstr ""
"Este bloque puede ser usado para definir el borde de una puerta rastrillo " "Este bloque puede ser usado para definir el borde de una puerta rastrillo "
"que esta cerca de otra puerta, si tiene varias puertas independientes, " "que esta cerca de otra puerta, si tiene varias puertas independientes, de "
"de lo contrario es simplemente decorativo" "lo contrario es simplemente decorativo"
#: doc.lua:17 #: doc.lua:17
msgid "A basic gate panel." msgid "A basic gate panel."
@ -67,10 +67,10 @@ msgid ""
"separately, for example. Note that edges aren't strictly necessary for gates " "separately, for example. Note that edges aren't strictly necessary for gates "
"that stand alone." "that stand alone."
msgstr "" msgstr ""
"El borde oscurecido de este panel marca el limite de la puerta." "El borde oscurecido de este panel marca el limite de la puerta. Usted puede "
"Usted puede utilizar estos bloques para construir puertas dobles para asegurar " "utilizar estos bloques para construir puertas dobles para asegurar que las "
"que las dos puertas funcionen por separado, por ejemplo. Tenga en cuenta que " "dos puertas funcionen por separado, por ejemplo. Tenga en cuenta que los "
"los bordes no son estrictamente necesarios para las puertas individuales" "bordes no son estrictamente necesarios para las puertas individuales"
#: doc.lua:23 #: doc.lua:23
msgid "A gate edge with a handle." msgid "A gate edge with a handle."
@ -106,7 +106,7 @@ msgstr ""
msgid "A block with a slot to allow an adjacent sliding gate through." msgid "A block with a slot to allow an adjacent sliding gate through."
msgstr "" msgstr ""
"Un bloque con una ranura en el medio para que una puerta deslizante pueda " "Un bloque con una ranura en el medio para que una puerta deslizante pueda "
"pasar a través de ella." "pasar a travs de ella."
#: doc.lua:30 #: doc.lua:30
msgid "" msgid ""
@ -146,8 +146,8 @@ msgid ""
"Gates are large multi-node constructions that swing on hinges or slide out " "Gates are large multi-node constructions that swing on hinges or slide out "
"of the way when triggered." "of the way when triggered."
msgstr "" msgstr ""
"Las puertas grandes son construcciones multi nodo que se abren usando bisagras " "Las puertas grandes son construcciones multi nodo que se abren usando "
"o se deslizan hacia arriba cuando se activan" "bisagras o se deslizan hacia arriba cuando se activan"
#: doc.lua:43 #: doc.lua:43
msgid "Gate construction" msgid "Gate construction"
@ -211,19 +211,56 @@ msgstr ""
"puerta todavía busca obstrucciones en la región que está moviéndose y no " "puerta todavía busca obstrucciones en la región que está moviéndose y no "
"girara si hay algo en el camino." "girara si hay algo en el camino."
#: doors.lua:8 #: doors.lua:8
msgid "Oak Door" msgid "Oak Door"
msgstr "Puerta de Roble" msgstr "Puerta de Roble"
#: doors.lua:22 #: doors.lua:37
msgid "Jail Door" msgid "Jail Door"
msgstr "Puerta de Cárcel" msgstr "Puerta de Cárcel"
#: doors.lua:43 #: doors.lua:54
msgid "Jail Bars" msgid "Jail Bars"
msgstr "" msgstr ""
#: gates.lua:23
#, fuzzy
msgid "@1 Portcullis Bars"
msgstr "Barras de la Puerta Rastrillo"
#: gates.lua:53
#, fuzzy
msgid "@1 Portcullis Bottom"
msgstr "Terminación de la Puerta Rastrillo"
#: gates.lua:113
#, fuzzy
msgid "@1 Gate Door"
msgstr "Porción de la Puerta"
#: gates.lua:145
#, fuzzy
msgid "@1 Gate Door Edge"
msgstr "Borde de la Puerta"
#: gates.lua:184
#, fuzzy
msgid "@1 Gate Door With Handle"
msgstr "Pestillo de la Puerta"
#: gates.lua:227
#, fuzzy
msgid "@1 Gate Door With Hinge"
msgstr "Bisagra de la Puerta"
#: gates.lua:256
msgid "Wooden"
msgstr ""
#: gates.lua:268
msgid "Steel"
msgstr ""
#: gate_slots.lua:36 #: gate_slots.lua:36
msgid "Stonebrick" msgid "Stonebrick"
msgstr "Ladrillo de Piedra" msgstr "Ladrillo de Piedra"
@ -235,27 +272,3 @@ msgstr "Espacio para Puerta de @1"
#: gate_slots.lua:70 #: gate_slots.lua:70
msgid "@1 Gate Slot Reverse" msgid "@1 Gate Slot Reverse"
msgstr "Espacio para Puerta Invertido de @1" msgstr "Espacio para Puerta Invertido de @1"
#: gates.lua:7
msgid "Portcullis Bars"
msgstr "Barras de la Puerta Rastrillo"
#: gates.lua:37
msgid "Portcullis Bottom"
msgstr "Terminación de la Puerta Rastrillo"
#: gates.lua:104
msgid "Gate Door"
msgstr "Porción de la Puerta"
#: gates.lua:136
msgid "Gate Door Edge"
msgstr "Borde de la Puerta"
#: gates.lua:175
msgid "Gate Door With Handle"
msgstr "Pestillo de la Puerta"
#: gates.lua:218
msgid "Gate Door With Hinge"
msgstr "Bisagra de la Puerta"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Castle Gates\n" "Project-Id-Version: Castle Gates\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-01 23:41-0700\n" "POT-Creation-Date: 2019-04-14 22:15-0600\n"
"PO-Revision-Date: 2017-09-26 23:51+0100\n" "PO-Revision-Date: 2017-09-26 23:51+0100\n"
"Last-Translator: Hamlet <h4mlet@riseup.net>\n" "Last-Translator: Hamlet <h4mlet@riseup.net>\n"
"Language-Team: \n" "Language-Team: \n"
@ -228,14 +228,52 @@ msgstr ""
msgid "Oak Door" msgid "Oak Door"
msgstr "Porta di quercia" msgstr "Porta di quercia"
#: doors.lua:22 #: doors.lua:37
msgid "Jail Door" msgid "Jail Door"
msgstr "Porta della prigione" msgstr "Porta della prigione"
#: doors.lua:43 #: doors.lua:54
msgid "Jail Bars" msgid "Jail Bars"
msgstr "Sbarre della prigione" msgstr "Sbarre della prigione"
#: gates.lua:23
#, fuzzy
msgid "@1 Portcullis Bars"
msgstr "Sbarre della saracinesca"
#: gates.lua:53
#, fuzzy
msgid "@1 Portcullis Bottom"
msgstr "Estremità inferiore della saracinesca"
#: gates.lua:113
#, fuzzy
msgid "@1 Gate Door"
msgstr "Segmento di cancello, porta o portone"
#: gates.lua:145
#, fuzzy
msgid "@1 Gate Door Edge"
msgstr "Estremità di cancello, porta o portone"
#: gates.lua:184
#, fuzzy
msgid "@1 Gate Door With Handle"
msgstr "Cancello, porta o portone con maniglia"
#: gates.lua:227
#, fuzzy
msgid "@1 Gate Door With Hinge"
msgstr "Cancello, porta o portone con cardine"
#: gates.lua:256
msgid "Wooden"
msgstr ""
#: gates.lua:268
msgid "Steel"
msgstr ""
#: gate_slots.lua:36 #: gate_slots.lua:36
msgid "Stonebrick" msgid "Stonebrick"
msgstr "Mattoni di pietra" msgstr "Mattoni di pietra"
@ -248,27 +286,3 @@ msgstr "Alloggio di @1 per cancelli, porte, portoni e saracinesche"
msgid "@1 Gate Slot Reverse" msgid "@1 Gate Slot Reverse"
msgstr "" msgstr ""
"Rovescio dell'alloggio di @1 per cancelli, porte, portoni e saracinesche." "Rovescio dell'alloggio di @1 per cancelli, porte, portoni e saracinesche."
#: gates.lua:7
msgid "Portcullis Bars"
msgstr "Sbarre della saracinesca"
#: gates.lua:37
msgid "Portcullis Bottom"
msgstr "Estremità inferiore della saracinesca"
#: gates.lua:104
msgid "Gate Door"
msgstr "Segmento di cancello, porta o portone"
#: gates.lua:136
msgid "Gate Door Edge"
msgstr "Estremità di cancello, porta o portone"
#: gates.lua:175
msgid "Gate Door With Handle"
msgstr "Cancello, porta o portone con maniglia"
#: gates.lua:218
msgid "Gate Door With Hinge"
msgstr "Cancello, porta o portone con cardine"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2017-03-01 23:41-0700\n" "POT-Creation-Date: 2019-04-14 22:15-0600\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -157,14 +157,46 @@ msgstr ""
msgid "Oak Door" msgid "Oak Door"
msgstr "" msgstr ""
#: doors.lua:22 #: doors.lua:37
msgid "Jail Door" msgid "Jail Door"
msgstr "" msgstr ""
#: doors.lua:43 #: doors.lua:54
msgid "Jail Bars" msgid "Jail Bars"
msgstr "" msgstr ""
#: gates.lua:23
msgid "@1 Portcullis Bars"
msgstr ""
#: gates.lua:53
msgid "@1 Portcullis Bottom"
msgstr ""
#: gates.lua:113
msgid "@1 Gate Door"
msgstr ""
#: gates.lua:145
msgid "@1 Gate Door Edge"
msgstr ""
#: gates.lua:184
msgid "@1 Gate Door With Handle"
msgstr ""
#: gates.lua:227
msgid "@1 Gate Door With Hinge"
msgstr ""
#: gates.lua:256
msgid "Wooden"
msgstr ""
#: gates.lua:268
msgid "Steel"
msgstr ""
#: gate_slots.lua:36 #: gate_slots.lua:36
msgid "Stonebrick" msgid "Stonebrick"
msgstr "" msgstr ""
@ -176,27 +208,3 @@ msgstr ""
#: gate_slots.lua:70 #: gate_slots.lua:70
msgid "@1 Gate Slot Reverse" msgid "@1 Gate Slot Reverse"
msgstr "" msgstr ""
#: gates.lua:7
msgid "Portcullis Bars"
msgstr ""
#: gates.lua:37
msgid "Portcullis Bottom"
msgstr ""
#: gates.lua:104
msgid "Gate Door"
msgstr ""
#: gates.lua:136
msgid "Gate Door Edge"
msgstr ""
#: gates.lua:175
msgid "Gate Door With Handle"
msgstr ""
#: gates.lua:218
msgid "Gate Door With Hinge"
msgstr ""

6
locale/update.bat Normal file
View File

@ -0,0 +1,6 @@
@echo off
setlocal ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
cd ..
set LIST=
for /r %%X in (*.lua) do set LIST=!LIST! %%X
..\intllib\tools\xgettext.bat %LIST%