Compare commits
5 Commits
e13f4c7250
...
8f5a77a114
Author | SHA1 | Date |
---|---|---|
Bruno Borges | 8f5a77a114 | |
Bruno Borges | 0f64e23848 | |
BrunoMine | 4994b6fe6b | |
BrunoMine | 110297ccd7 | |
BrunoMine | eda450155e |
|
@ -14,92 +14,28 @@ local S = telepro.S
|
|||
-- Tabela de jogadores que estão em precesso de geração de balao (evitar geração dupla)
|
||||
local gerando = {}
|
||||
|
||||
-- Finaliza o procedimento de gerar balao
|
||||
local finalizar = function(name, spos)
|
||||
local player = minetest.get_player_by_name(name)
|
||||
|
||||
if not player then
|
||||
gerando[name] = nil
|
||||
return
|
||||
end
|
||||
|
||||
local pos = minetest.deserialize(spos)
|
||||
-- Verificar area
|
||||
-- Retorna a coordenada de terra superficial adequada ou 'nil' se não encontrar
|
||||
local check_area = function(name, center_pos)
|
||||
|
||||
-- Carregar mapa
|
||||
minetest.get_voxel_manip():read_from_map({x=pos.x-10,y=pos.y-10, z=pos.z-10}, {x=pos.x+10,y=pos.y+80, z=pos.z+10})
|
||||
minetest.get_voxel_manip():read_from_map(
|
||||
{x=center_pos.x-10,y=center_pos.y-10, z=center_pos.z-10},
|
||||
{x=center_pos.x+10,y=center_pos.y+80, z=center_pos.z+10})
|
||||
|
||||
-- Procura grama
|
||||
local nodes = minetest.find_nodes_in_area({x=pos.x-10,y=pos.y-10, z=pos.z-10}, {x=pos.x+10,y=pos.y+80, z=pos.z+10}, {"group:spreading_dirt_type"})
|
||||
local nodes = minetest.find_nodes_in_area(
|
||||
{x=center_pos.x-10,y=center_pos.y-10, z=center_pos.z-10},
|
||||
{x=center_pos.x+10,y=center_pos.y+80, z=center_pos.z+10},
|
||||
{"group:spreading_dirt_type"})
|
||||
|
||||
-- Verifica se encontrou uma terra superficial
|
||||
if table.maxn(nodes) == 0 then
|
||||
return telepro.gerar_balao_aleatorio(name)
|
||||
end
|
||||
|
||||
-- Pegar uma coordenada
|
||||
local p = nodes[1]
|
||||
|
||||
-- Cordenada do bau
|
||||
local pb = {x=p.x, y=p.y+1, z=p.z}
|
||||
|
||||
-- Colocar balao
|
||||
-- Desativa o bau anterior
|
||||
do
|
||||
-- Verificar se existe registro no banco de dados
|
||||
if telepro.bd.verif("jogador_"..name, "pos") == true then
|
||||
-- Pega a coordenada
|
||||
local pp = telepro.bd.pegar("jogador_"..name, "pos")
|
||||
-- Acessa os metadados
|
||||
local meta = minetest.get_meta(pp)
|
||||
-- Limpa o parametro dono
|
||||
meta:set_string("dono", "")
|
||||
end
|
||||
end
|
||||
|
||||
-- Colocar Bau
|
||||
minetest.set_node(pb, {name="telepro:bau"})
|
||||
-- Pega os metadados do bau
|
||||
local meta = minetest.get_meta(pb)
|
||||
-- Salvar o nome do dono
|
||||
meta:set_string("dono", name)
|
||||
meta:set_string("status", "ativo") -- Salvar status inicial
|
||||
|
||||
-- Salva a coordenada do novo bau no banco de dados
|
||||
telepro.bd.salvar("jogador_"..name, "pos", pb)
|
||||
|
||||
-- Montar balao
|
||||
telepro.montar_balao(pb, name)
|
||||
|
||||
-- Levar o jogador um pouco pra cima
|
||||
player:setpos({x=pb.x, y=pb.y+1.5, z=pb.z})
|
||||
|
||||
-- Travar por 24 horas para impedir ficar gerando em vaios locais
|
||||
if telepro.var.limite_diario == true then
|
||||
telepro.travados[name] = true
|
||||
minetest.after(3600, telepro.destravar, name)
|
||||
end
|
||||
|
||||
-- Finaliza
|
||||
minetest.chat_send_player(name, S("Novo local encontrado"))
|
||||
gerando[name] = nil
|
||||
end
|
||||
|
||||
-- Gerar um balao aleatorio (ignora verificações)
|
||||
telepro.gerar_balao_aleatorio = function(name)
|
||||
if gerando[name] then
|
||||
return
|
||||
end
|
||||
gerando[name] = true
|
||||
|
||||
local player = minetest.get_player_by_name(name)
|
||||
|
||||
if not player then
|
||||
gerando[name] = nil
|
||||
return
|
||||
end
|
||||
|
||||
-- Pegar uma coordenada aleatória
|
||||
local pos = {x=math.random(-25000, 25000), y = 10, z=math.random(-25000, 25000)}
|
||||
-- Pega uma coordenada de terra superficial
|
||||
local pos = nodes[1]
|
||||
|
||||
-- Verificar area protegida
|
||||
if minetest.is_protected({x=pos.x+5, y=pos.y, z=pos.z+5}, name)
|
||||
|
@ -122,13 +58,124 @@ telepro.gerar_balao_aleatorio = function(name)
|
|||
or minetest.is_protected({x=pos.x+20, y=pos.y+25, z=pos.z-20}, name)
|
||||
or minetest.is_protected({x=pos.x-20, y=pos.y+25, z=pos.z-20}, name)
|
||||
then
|
||||
return telepro.gerar_balao_aleatorio(name)
|
||||
return
|
||||
end
|
||||
|
||||
-- Retorna coordenada de uma terra superficial
|
||||
return pos
|
||||
end
|
||||
|
||||
|
||||
-- Inicia geração de uma coordenada aleatória
|
||||
local generate_random_pos = function(name)
|
||||
|
||||
-- Pegar uma coordenada aleatória
|
||||
local pos = {x=math.random(-25000, 25000), y = 10, z=math.random(-25000, 25000)}
|
||||
|
||||
-- Inicia geração de mapa
|
||||
minetest.emerge_area({x=pos.x-10,y=pos.y-10, z=pos.z-10}, {x=pos.x+10,y=pos.y+80, z=pos.z+10})
|
||||
|
||||
-- Espera um tempo para continuar
|
||||
minetest.after(8, finalizar, name, minetest.serialize(pos))
|
||||
|
||||
-- Retorna a coordenada que está sendo gerada
|
||||
return pos
|
||||
end
|
||||
|
||||
|
||||
-- Finaliza o procedimento de gerar balao
|
||||
telepro.finalizar_geracao_balao = function(name, spos)
|
||||
local player = minetest.get_player_by_name(name)
|
||||
|
||||
-- Se jogador não está online encerra a geração
|
||||
if not player then
|
||||
gerando[name] = nil
|
||||
return
|
||||
end
|
||||
|
||||
-- Restaura informação da coordenada gerada
|
||||
local pos = minetest.deserialize(spos)
|
||||
|
||||
-- Tenta pegar uma coordenada de terra superficial válida
|
||||
local soil_pos = check_area(name, pos)
|
||||
|
||||
-- Verifica se encontrou coordenda válida
|
||||
if not soil_pos then
|
||||
|
||||
-- Gera o mapa em uma coordenada aleatória
|
||||
local new_pos = generate_random_pos()
|
||||
|
||||
-- Tenta finalizar após 8 segundos
|
||||
minetest.after(8, telepro.finalizar_geracao_balao, name, minetest.serialize(new_pos))
|
||||
|
||||
-- Encerra tentativa de finalização
|
||||
return
|
||||
end
|
||||
|
||||
-- Cordenada do bau
|
||||
local chest_pos = {x=soil_pos.x, y=soil_pos.y+1, z=soil_pos.z}
|
||||
|
||||
-- Desativa o bau anterior
|
||||
-- Verificar se existe registro no banco de dados
|
||||
if telepro.bd.verif("jogador_"..name, "pos") == true then
|
||||
-- Pega a coordenada do bau antigo
|
||||
local old_chest_pos = telepro.bd.pegar("jogador_"..name, "pos")
|
||||
-- Acessa os metadados
|
||||
local meta = minetest.get_meta(old_chest_pos)
|
||||
-- Limpa o parametro dono
|
||||
meta:set_string("dono", "")
|
||||
end
|
||||
|
||||
-- Colocar Bau
|
||||
minetest.set_node(chest_pos, {name="telepro:bau"})
|
||||
-- Pega os metadados do bau
|
||||
local meta = minetest.get_meta(chest_pos)
|
||||
-- Salvar o nome do dono
|
||||
meta:set_string("dono", name)
|
||||
meta:set_string("status", "ativo") -- Salvar status inicial
|
||||
|
||||
-- Salva a coordenada do novo bau no banco de dados
|
||||
telepro.bd.salvar("jogador_"..name, "pos", chest_pos)
|
||||
|
||||
-- Montar balao
|
||||
telepro.montar_balao(chest_pos, name)
|
||||
|
||||
|
||||
-- Levar o jogador um pouco pra cima
|
||||
player:setpos({x=chest_pos.x, y=chest_pos.y+1.5, z=chest_pos.z})
|
||||
|
||||
-- Travar por 24 horas para impedir ficar gerando em vaios locais
|
||||
if telepro.var.limite_diario == true then
|
||||
telepro.travados[name] = true
|
||||
minetest.after(3600, telepro.destravar, name)
|
||||
end
|
||||
|
||||
-- Remove jogador da lista de jogadores em processo de geração de balão
|
||||
gerando[name] = nil
|
||||
|
||||
-- Informa jogador
|
||||
minetest.chat_send_player(name, S("Novo local encontrado"))
|
||||
end
|
||||
|
||||
-- Gerar um balao aleatorio (ignora verificações)
|
||||
telepro.gerar_balao_aleatorio = function(name)
|
||||
|
||||
-- Verifica se jogador já está em processo de geração de balão
|
||||
if gerando[name] then
|
||||
return
|
||||
end
|
||||
|
||||
local player = minetest.get_player_by_name(name)
|
||||
|
||||
-- Verifica se jogador está online
|
||||
if not player then
|
||||
gerando[name] = nil
|
||||
return
|
||||
end
|
||||
|
||||
-- Insere jogador na lista de jogadores em processo de geração de balão
|
||||
gerando[name] = true
|
||||
|
||||
-- Gera o mapa em uma coordenada aleatória
|
||||
local pos = generate_random_pos()
|
||||
|
||||
-- Tenta finalizar após 8 segundos
|
||||
minetest.after(8, telepro.finalizar_geracao_balao, name, minetest.serialize(pos))
|
||||
end
|
||||
|
|
|
@ -66,8 +66,8 @@ end)
|
|||
|
||||
-- Botão em menu compacto do inventario
|
||||
if sfinv_menu then
|
||||
sfinv_menu.registrar_botao("telepro:micro_menu", {
|
||||
titulo = S("Meu Balão"),
|
||||
sfinv_menu.register_button("telepro:micro_menu", {
|
||||
title = S("Meu Balão"),
|
||||
icon = "telepro_mapa.png",
|
||||
func = function(player)
|
||||
telepro.acessar(player)
|
||||
|
|
|
@ -253,48 +253,44 @@ end
|
|||
|
||||
-- Fim
|
||||
|
||||
-- Implementação em mod_storage
|
||||
|
||||
local mod_storage = minetest.get_mod_storage()
|
||||
|
||||
-- Fim
|
||||
|
||||
-- Montagem de banco de dados
|
||||
|
||||
bd = {}
|
||||
|
||||
-- Inserir dados comuns
|
||||
bd.salvar = function(tb, index, valor)
|
||||
return memor.inserir(tb, index, valor)
|
||||
return mod_storage:set_string("memor."..tb.."."..index, minetest.serialize(valor))
|
||||
end
|
||||
|
||||
-- Inserir textos complexos
|
||||
bd.salvar_texto = function(tb, index, valor)
|
||||
return memor.inserir(tb, index, valor, true)
|
||||
return mod_storage:set_string("memor."..tb.."."..index, valor)
|
||||
end
|
||||
|
||||
-- Consultar dados
|
||||
bd.pegar = function(tb, index)
|
||||
return memor.consultar(tb, index)
|
||||
return minetest.deserialize(mod_storage:get_string("memor."..tb.."."..index))
|
||||
end
|
||||
|
||||
-- Inserir dados
|
||||
bd.pegar_texto = function(tb, index, valor)
|
||||
return memor.consultar(tb, index, true)
|
||||
return mod_storage:get_string("memor."..tb.."."..index)
|
||||
end
|
||||
|
||||
-- Verificar dados
|
||||
bd.verif = function(tb, index)
|
||||
return memor.verificar(tb, index)
|
||||
return mod_storage:contains("memor."..tb.."."..index)
|
||||
end
|
||||
|
||||
-- Remover dados
|
||||
bd.remover = function(tb, index)
|
||||
return memor.deletar(tb, index)
|
||||
end
|
||||
|
||||
-- Remover tabela
|
||||
bd.drop_tb = function(tb)
|
||||
return memor.deletar_dir(tb)
|
||||
end
|
||||
|
||||
-- Listar dados
|
||||
bd.listar = function(tb)
|
||||
return memor.listar(tb)
|
||||
return mod_storage:set_string("memor."..tb.."."..index, "")
|
||||
end
|
||||
|
||||
return bd
|
||||
|
|
BIN
locale/en.mo
BIN
locale/en.mo
Binary file not shown.
14
locale/en.po
14
locale/en.po
|
@ -7,15 +7,15 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-07-13 17:51-0300\n"
|
||||
"PO-Revision-Date: 2018-07-13 17:55-0300\n"
|
||||
"POT-Creation-Date: 2018-12-29 12:29-0200\n"
|
||||
"PO-Revision-Date: 2018-12-29 12:30-0200\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: en\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.0.6\n"
|
||||
"X-Generator: Poedit 2.2\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: balao.lua balao_decor.lua
|
||||
|
@ -94,13 +94,17 @@ msgstr "Trip to the Center held"
|
|||
msgid "Balao ativo"
|
||||
msgstr "Balloon is active"
|
||||
|
||||
#: interface_jogador.lua
|
||||
msgid "Por Balao Aqui"
|
||||
msgstr "Place Balloon here"
|
||||
|
||||
#: interface_jogador.lua
|
||||
msgid "Gerar Balao"
|
||||
msgstr "Generate a Balloon"
|
||||
|
||||
#: interface_jogador.lua
|
||||
msgid "Por Balao Aqui"
|
||||
msgstr "Place Balloon here"
|
||||
msgid "Meu Balão"
|
||||
msgstr "My Balloon"
|
||||
|
||||
#: ir_balao.lua
|
||||
msgid "Sem nenhum balao ainda"
|
||||
|
|
|
@ -7,8 +7,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-07-13 00:49-0300\n"
|
||||
"PO-Revision-Date: 2018-07-13 00:59-0300\n"
|
||||
"POT-Creation-Date: 2018-07-13 17:51-0300\n"
|
||||
"PO-Revision-Date: 2018-07-13 17:55-0300\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: en\n"
|
||||
|
@ -46,6 +46,10 @@ msgstr "New spawn center defined"
|
|||
msgid "Precisa do privilegio 'server' para colocar esse bau"
|
||||
msgstr "Need the 'server' privilege to put this Balloon Box"
|
||||
|
||||
#: comandos.lua
|
||||
msgid "Painel de Balao"
|
||||
msgstr "Balloon Menu"
|
||||
|
||||
#: corda.lua
|
||||
msgid "Corda de Balao"
|
||||
msgstr "Balloon Rope"
|
||||
|
@ -84,7 +88,7 @@ msgstr "You need to have an active balloon"
|
|||
|
||||
#: interface_bau.lua mensagens.lua
|
||||
msgid "Viagem ao Centro realizada"
|
||||
msgstr "Journey to the Center held"
|
||||
msgstr "Trip to the Center held"
|
||||
|
||||
#: interface_bau.lua
|
||||
msgid "Balao ativo"
|
||||
|
@ -102,10 +106,6 @@ msgstr "Place Balloon here"
|
|||
msgid "Sem nenhum balao ainda"
|
||||
msgstr "No balloon yet"
|
||||
|
||||
#: ir_balao.lua
|
||||
msgid "Seu balao foi destruido"
|
||||
msgstr "Your balloon has been destroyed"
|
||||
|
||||
#: ir_balao.lua
|
||||
msgid "Viagem para o posto de seu balao realizada"
|
||||
msgstr "Trip to the post of your balloon was held"
|
||||
|
@ -193,7 +193,7 @@ msgstr "Your Balloon was inoperative"
|
|||
|
||||
#: mensagens.lua
|
||||
msgid "Muito distante do Bau de Balao do Centro"
|
||||
msgstr "Far away from the Balloon Box of Spawn Center."
|
||||
msgstr "Far away from the Balloon Box of Spawn Center"
|
||||
|
||||
#: mensagens.lua
|
||||
msgid "Muito distante do seu proprio Bau de Balao"
|
||||
|
@ -222,6 +222,9 @@ msgstr "You need to be in a cleaner and more open place"
|
|||
msgid "Objetos obstruem a parte de cima portanto libere o local ou suba"
|
||||
msgstr "Objects obstruct the top so remove the objects and try again"
|
||||
|
||||
#~ msgid "Seu balao foi destruido"
|
||||
#~ msgstr "Your balloon has been destroyed"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Objetos obstruem a parte de cima portanto remova os objetos e tente "
|
||||
#~ "novamente"
|
||||
|
|
BIN
locale/pt.mo
BIN
locale/pt.mo
Binary file not shown.
14
locale/pt.po
14
locale/pt.po
|
@ -7,15 +7,15 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-07-13 17:51-0300\n"
|
||||
"PO-Revision-Date: 2018-07-13 17:52-0300\n"
|
||||
"POT-Creation-Date: 2018-12-29 12:29-0200\n"
|
||||
"PO-Revision-Date: 2018-12-29 12:29-0200\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: pt\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.0.6\n"
|
||||
"X-Generator: Poedit 2.2\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: balao.lua balao_decor.lua
|
||||
|
@ -94,13 +94,17 @@ msgstr "Viagem ao Centro realizada"
|
|||
msgid "Balao ativo"
|
||||
msgstr "Balao ativo"
|
||||
|
||||
#: interface_jogador.lua
|
||||
msgid "Por Balao Aqui"
|
||||
msgstr "Por Balao Aqui"
|
||||
|
||||
#: interface_jogador.lua
|
||||
msgid "Gerar Balao"
|
||||
msgstr "Gerar Balao"
|
||||
|
||||
#: interface_jogador.lua
|
||||
msgid "Por Balao Aqui"
|
||||
msgstr "Por Balao Aqui"
|
||||
msgid "Meu Balão"
|
||||
msgstr "Meu Balão"
|
||||
|
||||
#: ir_balao.lua
|
||||
msgid "Sem nenhum balao ainda"
|
||||
|
|
|
@ -7,8 +7,8 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-07-13 00:49-0300\n"
|
||||
"PO-Revision-Date: 2018-07-13 00:45-0300\n"
|
||||
"POT-Creation-Date: 2018-07-13 17:51-0300\n"
|
||||
"PO-Revision-Date: 2018-07-13 17:52-0300\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: pt\n"
|
||||
|
@ -46,6 +46,10 @@ msgstr "Novo centro definido"
|
|||
msgid "Precisa do privilegio 'server' para colocar esse bau"
|
||||
msgstr "Precisa do privilegio 'server' para colocar esse bau"
|
||||
|
||||
#: comandos.lua
|
||||
msgid "Painel de Balao"
|
||||
msgstr "Painel de Balao"
|
||||
|
||||
#: corda.lua
|
||||
msgid "Corda de Balao"
|
||||
msgstr "Corda de Balao"
|
||||
|
@ -102,10 +106,6 @@ msgstr "Por Balao Aqui"
|
|||
msgid "Sem nenhum balao ainda"
|
||||
msgstr "Sem nenhum balao ainda"
|
||||
|
||||
#: ir_balao.lua
|
||||
msgid "Seu balao foi destruido"
|
||||
msgstr "Seu balao foi destruido"
|
||||
|
||||
#: ir_balao.lua
|
||||
msgid "Viagem para o posto de seu balao realizada"
|
||||
msgstr "Viagem para o posto de seu balao realizada"
|
||||
|
@ -220,6 +220,9 @@ msgstr "Precisa estar num lugar mais aberto"
|
|||
msgid "Objetos obstruem a parte de cima portanto libere o local ou suba"
|
||||
msgstr "Objetos obstruem a parte de cima portanto libere o local ou suba"
|
||||
|
||||
#~ msgid "Seu balao foi destruido"
|
||||
#~ msgstr "Seu balao foi destruido"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Objetos obstruem a parte de cima portanto remova os objetos e tente "
|
||||
#~ "novamente"
|
||||
|
|
|
@ -21,27 +21,28 @@ Trip to the post of your balloon was held=Trip to the post of your balloon was h
|
|||
You followed @1=You followed @1
|
||||
Trip to the Center held=Trip to the Center held
|
||||
This Balloon is not yours=This Balloon is not yours
|
||||
Top is obstructed (where the balloon is) so wipe the top or go to a highest location=Top is obstructed (where the balloon is) so wipe the top or go to a highest location
|
||||
Your request to follow @1 was accepted but you walked away from the balloon=Your request to follow @1 was accepted but you walked away from the balloon
|
||||
Request sent to @1 ... Now you need to advise him to accept your request=Request sent to @1 ... Now you need to advise him to accept your request
|
||||
Send request=Send request
|
||||
Top is obstructed (where the balloon is) so wipe the top or go to a highest location=Top is obstructed (where the balloon is) so wipe the top or go to a highest location
|
||||
Balloon Menu=Balloon Menu
|
||||
New place found=New place found
|
||||
Balloon Menu=Balloon Menu
|
||||
My Balloon=My Balloon
|
||||
Repair Balloon=Repair Balloon
|
||||
Keep the place clean and open to raise the balloon to be lifted automatically=Keep the place clean and open to raise the balloon to be lifted automatically
|
||||
@1 followed you=@1 followed you
|
||||
Need the 'server' privilege to put this Balloon Box=Need the 'server' privilege to put this Balloon Box
|
||||
Go to Center=Go to Center
|
||||
Balloon Box=Balloon Box
|
||||
Balloon Rope=Balloon Rope
|
||||
Far away from the your Balloon Box=Far away from the your Balloon Box
|
||||
@1 offline or nonexistent=@1 offline or nonexistent
|
||||
Return=Return
|
||||
Invalid request=Invalid request
|
||||
Far away from the your Balloon Box=Far away from the your Balloon Box
|
||||
Balloon Rope=Balloon Rope
|
||||
@1 followed you=@1 followed you
|
||||
@1 offline or nonexistent=@1 offline or nonexistent
|
||||
Go to your balloon=Go to your balloon
|
||||
The way up is obstructed (rope) so open the place further=The way up is obstructed (rope) so open the place further
|
||||
You need to have an active balloon=You need to have an active balloon
|
||||
Invalid request=Invalid request
|
||||
@1 offline=@1 offline
|
||||
Need the 'server' privilege to put this Balloon Box=Need the 'server' privilege to put this Balloon Box
|
||||
Place Balloon here=Place Balloon here
|
||||
It can not generate a new balloon yet (it is necessary 24 hours since the last time it generated)=It can not generate a new balloon yet (it is necessary 24 hours since the last time it generated)
|
||||
Your Balloon was inoperative=Your Balloon was inoperative
|
||||
|
|
|
@ -21,27 +21,28 @@ Trip to the post of your balloon was held=Trip to the post of your balloon was h
|
|||
You followed @1=You followed @1
|
||||
Trip to the Center held=Trip to the Center held
|
||||
This Balloon is not yours=This Balloon is not yours
|
||||
Top is obstructed (where the balloon is) so wipe the top or go to a highest location=Top is obstructed (where the balloon is) so wipe the top or go to a highest location
|
||||
Your request to follow @1 was accepted but you walked away from the balloon=Your request to follow @1 was accepted but you walked away from the balloon
|
||||
Request sent to @1 ... Now you need to advise him to accept your request=Request sent to @1 ... Now you need to advise him to accept your request
|
||||
Send request=Send request
|
||||
Top is obstructed (where the balloon is) so wipe the top or go to a highest location=Top is obstructed (where the balloon is) so wipe the top or go to a highest location
|
||||
Balloon Menu=Balloon Menu
|
||||
New place found=New place found
|
||||
Balloon Menu=Balloon Menu
|
||||
My Balloon=My Balloon
|
||||
Repair Balloon=Repair Balloon
|
||||
Keep the place clean and open to raise the balloon to be lifted automatically=Keep the place clean and open to raise the balloon to be lifted automatically
|
||||
@1 followed you=@1 followed you
|
||||
Need the 'server' privilege to put this Balloon Box=Need the 'server' privilege to put this Balloon Box
|
||||
Go to Center=Go to Center
|
||||
Balloon Box=Balloon Box
|
||||
Balloon Rope=Balloon Rope
|
||||
Far away from the your Balloon Box=Far away from the your Balloon Box
|
||||
@1 offline or nonexistent=@1 offline or nonexistent
|
||||
Return=Return
|
||||
Invalid request=Invalid request
|
||||
Far away from the your Balloon Box=Far away from the your Balloon Box
|
||||
Balloon Rope=Balloon Rope
|
||||
@1 followed you=@1 followed you
|
||||
@1 offline or nonexistent=@1 offline or nonexistent
|
||||
Go to your balloon=Go to your balloon
|
||||
The way up is obstructed (rope) so open the place further=The way up is obstructed (rope) so open the place further
|
||||
You need to have an active balloon=You need to have an active balloon
|
||||
Invalid request=Invalid request
|
||||
@1 offline=@1 offline
|
||||
Need the 'server' privilege to put this Balloon Box=Need the 'server' privilege to put this Balloon Box
|
||||
Place Balloon here=Place Balloon here
|
||||
It can not generate a new balloon yet (it is necessary 24 hours since the last time it generated)=It can not generate a new balloon yet (it is necessary 24 hours since the last time it generated)
|
||||
Your Balloon was inoperative=Your Balloon was inoperative
|
||||
|
|
|
@ -21,27 +21,28 @@ Trip to the post of your balloon was held=Viagem para o posto de seu balao reali
|
|||
You followed @1=Voce seguiu @1
|
||||
Trip to the Center held=Viagem ao Centro realizada
|
||||
This Balloon is not yours=Esse Balao nao lhe pertence
|
||||
Top is obstructed (where the balloon is) so wipe the top or go to a highest location=Parte de cima obstruida (onde fica o balao) portanto libere o local ou suba
|
||||
Your request to follow @1 was accepted but you walked away from the balloon=Seu pedido para seguir @1 foi aceito mas voce se afastou do balao
|
||||
Request sent to @1 ... Now you need to advise him to accept your request=Pedido enviado a @1 ... Agora precisa pedir para aceitar seu pedido
|
||||
Send request=Enviar pedido
|
||||
Top is obstructed (where the balloon is) so wipe the top or go to a highest location=Parte de cima obstruida (onde fica o balao) portanto libere o local ou suba
|
||||
Balloon Menu=Painel de Balao
|
||||
New place found=Novo local encontrado
|
||||
Balloon Menu=Painel de Balao
|
||||
My Balloon=Meu Balão
|
||||
Repair Balloon=Reparar Balao
|
||||
Keep the place clean and open to raise the balloon to be lifted automatically=Mantenha o local limpo e aberto para levantar que o balao seja levantado automaticamente
|
||||
@1 followed you=@1 te seguiu
|
||||
Need the 'server' privilege to put this Balloon Box=Precisa do privilegio 'server' para colocar esse bau
|
||||
Go to Center=Ir para Centro
|
||||
Balloon Box=Bau do Balao
|
||||
Balloon Rope=Corda de Balao
|
||||
Far away from the your Balloon Box=Muito distante do seu proprio Bau de Balao
|
||||
@1 offline or nonexistent=@1 offline ou inexistente
|
||||
Return=Voltar
|
||||
Invalid request=Pedido invalido
|
||||
Far away from the your Balloon Box=Muito distante do seu proprio Bau de Balao
|
||||
Balloon Rope=Corda de Balao
|
||||
@1 followed you=@1 te seguiu
|
||||
@1 offline or nonexistent=@1 offline ou inexistente
|
||||
Go to your balloon=Ir para seu Balao
|
||||
The way up is obstructed (rope) so open the place further=O caminho para cima esta obstruido (corda) portanto abra mais o local
|
||||
You need to have an active balloon=Precisas ter um balao ativo
|
||||
Invalid request=Pedido invalido
|
||||
@1 offline=@1 offline
|
||||
Need the 'server' privilege to put this Balloon Box=Precisa do privilegio 'server' para colocar esse bau
|
||||
Place Balloon here=Por Balao Aqui
|
||||
It can not generate a new balloon yet (it is necessary 24 hours since the last time it generated)=Nao pode gerar um novo balao ainda (sao necessarias 24 horas desde a ultima vez que gerou)
|
||||
Your Balloon was inoperative=O Seu Balao ficou inoperante
|
||||
|
|
|
@ -8,13 +8,13 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2018-07-13 17:51-0300\n"
|
||||
"POT-Creation-Date: 2018-12-29 12:29-0200\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: balao.lua balao_decor.lua
|
||||
|
@ -93,12 +93,16 @@ msgstr ""
|
|||
msgid "Balao ativo"
|
||||
msgstr ""
|
||||
|
||||
#: interface_jogador.lua
|
||||
msgid "Por Balao Aqui"
|
||||
msgstr ""
|
||||
|
||||
#: interface_jogador.lua
|
||||
msgid "Gerar Balao"
|
||||
msgstr ""
|
||||
|
||||
#: interface_jogador.lua
|
||||
msgid "Por Balao Aqui"
|
||||
msgid "Meu Balão"
|
||||
msgstr ""
|
||||
|
||||
#: ir_balao.lua
|
||||
|
|
|
@ -70,9 +70,9 @@ telepro.reivindicar = function(player)
|
|||
{"air"}
|
||||
)
|
||||
|
||||
-- Verifica se pegou nodes de ar
|
||||
-- Verifica se não pegou nodes de ar
|
||||
if table.maxn(nodes) < 25 then
|
||||
minetest.chat_send_player(name, S())
|
||||
minetest.chat_send_player(name, S(telepro.msg.objetos_obstruem_balao))
|
||||
return false
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue