Terraria Wiki
Advertisement
Terraria Wiki
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[]

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

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