Pokedex zeigt nun den Typ an

This commit is contained in:
Akamaru 2016-02-07 14:11:53 +01:00
parent 686337d9df
commit 08bce50775
1 changed files with 10 additions and 6 deletions

View File

@ -24,12 +24,16 @@ local function send_pokemon(query, receiver)
return 'Kein Pokémon gefunden.'
end
local text = 'Pokédex ID: ' .. pokemon.pkdx_id
..'\nName: ' .. pokemon.name
..'\nGewicht: ' .. pokemon.weight
..'\nGröße: ' .. pokemon.height
..'\nGeschwindigkeit: ' .. pokemon.speed
..'\nSpezies: ' .. pokemon.species
local text = 'Pokédex ID: '..pokemon.pkdx_id
..'\nName: '..pokemon.name
..'\nTyp: '..pokemon.types[1].name
..'\nGewicht: '..pokemon.height..' kg'
..'\nGröße: '..pokemon.weight..' cm'
..'\nGeschwindigkeit: '..pokemon.speed
..'\nSpezies: '..pokemon.species
--[[if pokemon.evolutions then
text = text..'\nEntwickelt sich zu '..pokemon.evolutions[1].to
end]]
local image = nil