Module:Damage display

From ALttP Speedrunning Wiki
Revision as of 12:58, 6 June 2019 by Kan (talk | contribs) (Created page with "local p = {} function p.main(frame) local args = frame:getParent().args local dmg = args[1] or 0 return p._main(dmg) end function p._main(d) return d end return p")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Documentation for this module may be created at display/doc&action=edit&redlink=1 Module:Damage display/doc

local p = {}

function p.main(frame)
	local args = frame:getParent().args

	local dmg = args[1] or 0

	return p._main(dmg)
end

function p._main(d)
	return d
end

return p