Module:Bananas

From Terraria Wiki
Jump to: navigation, search
Lua logo.svg Documentation The documentation below is transcluded from Module:Bananas/doc. (edit | history)

This is an example Lua module that contains a single function, for testing purposes.

hello[edit source]

  • {{#invoke:bananas|hello}} → Hello, world!

local p = {}
 
function p.hello()
	return "Hello, world!"
end
 
return p