Difference between revisions of "Module:HASH/sandbox"

From Idlescape Wiki
Jump to navigation Jump to search
(for testing)
 
m
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
function p.Monsters_stats(frame)
 
function p.Monsters_stats(frame)
     return p._Monster_stats(frame:getParent().args)
+
     return p._Monsters_stats(frame:getParent().args)
 
end
 
end
  
function p._Monster_stats(_args)
+
function p._Monsters_stats(_args)
 
     return _args[1]
 
     return _args[1]
 
end
 
end
 +
 +
return p

Latest revision as of 08:36, 24 June 2024

Documentation for this module may be created at Module:HASH/sandbox/doc

local p ={}

function p.Monsters_stats(frame)
    return p._Monsters_stats(frame:getParent().args)
end

function p._Monsters_stats(_args)
    return _args[1]
end

return p