Differenze tra le versioni di "Modulo:Learnlist"

Update 8th gen *** sovrascritto il testo esistente ***
(Trying again with PokéMoves-data, but this time I'm more confident *** sovrascritto il testo esistente ***)
(Update 8th gen *** sovrascritto il testo esistente ***)
local hf = require('Modulo:Learnlist/hf')
local sup = mw.loadData('Modulo:Sup/data')
-- local pokemoves = lib.pokemoves -- mw.loadData('Modulo:PokéMoves/data')
local pokes = mw.loadData('Modulo:Poké/data')
local moves = mw.loadData('Modulo:Move/data')
 
local res = {}
local pmkind = lib.pokemoves[poke][kind]
if pmkind and pmkind[gen] then
res = funcDict.dataMap(pmkind[gen],
"Disponibile solo in Sole e Luna"
},
[8] = {
"",
}
}
 
-- Added by hand to handle the special case with all tms
l.tmLua = function(poke, gen)
if lib.pokemoves[poke].tm[gen].all then
return l.addhf(hf.alltm{args={poke, gen, "tm"}}, poke, gen, "tm")
end
79 548

contributi