Module:LangVars: Difference between revisions

From Vintage Story Wiki
m
no edit summary
mNo edit summary
mNo edit summary
Line 9: Line 9:
function p.link(str)
function p.link(str)
local out = str
local out = str
if string.lower(str):find(string.lower(langVars.itemPickaxeHead)) then out = langVars.itemPickaxeHead end
local img = str .. '.png'
return out
if string.lower(str):find(string.lower(langVars.itemPickaxeHead)) then out = langVars.itemPickaxeHead img = 'Iron pickaxe head.png' end
return out, img
end
end


return p
return p
Confirmedusers, Interface administrators
1,131

edits