Open main menu
Home
Random
Log in
Settings
About Melvor Idle
Disclaimers
Search
Module:FunList: Difference between revisions
Module
Discussion
← Older edit
Newer edit →
Module:FunList
(view source)
Revision as of 22:47, 15 July 2024
257 bytes removed
,
15 July
Undo revision 77687 by
Ricewind
(
talk
)
Revision as of 21:40, 15 July 2024
(
view source
)
Ricewind
(
talk
|
contribs
)
No edit summary
← Older edit
Revision as of 22:47, 15 July 2024
(
view source
)
Ricewind
(
talk
|
contribs
)
(Undo revision 77687 by
Ricewind
(
talk
))
Tag
:
Undo
Newer edit →
Line 231:
Line 231:
end
end
table.insert(self.delayedFuncs, delayedFunc)
table.insert(self.delayedFuncs, delayedFunc)
return self
end
function funlist:execute()
local result = {}
for k, v in pairs(self.mytable) do
local mutation = v
for _, func in pairs(self.delayedFuncs) do
mutation = func(k, mutation)
end
table.insert(result, mutation)
end
return result
end
end
Ricewind
2,875
edits