Changes

no edit summary
Line 428: Line 428:  
if type(g) == 'function' then
 
if type(g) == 'function' then
 
obj = g(obj)
 
obj = g(obj)
 +
if type(obj) == 'nil' then
 +
obj = '??'
 +
break
 +
end
 
elseif type(g) == 'table' then
 
elseif type(g) == 'table' then
 
obj = g
 
obj = g
Line 515: Line 519:  
mw.log(interpret({"!Saiun", "?icon"}))
 
mw.log(interpret({"!Saiun", "?icon"}))
 
mw.log(interpret({"!Ayanami", "?scrap_string", "?scrap.fuel", "?scrap_fuel", "?_scrap_fuel"}))
 
mw.log(interpret({"!Ayanami", "?scrap_string", "?scrap.fuel", "?scrap_fuel", "?_scrap_fuel"}))
 +
mw.log(interpret({'@all_names', '~class.name~Akizuki Class', '?api_id', '?banner', '?link', '?japanese_name', '?code_link', '?class_number', '?firepower_max', '?torpedo_max', '?night_battle_power', '?aa_max', '?asw_max', '?los_max', '?luck', '?hp', '?armor_max', '?evasion_max', '?slots', '?fuel', '?ammo', sort = 'class_number,rarity,api_id'}))
 
end
 
end
  
7,212

edits