pixelscript 0.5.4

Multi language scripting runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
local pxs = require('pxs')

-- Create a table to hold your "exports"
local ft_object = {}

function ft_object.function_from_outside()
    pxs.print("Calling from function from outside!")
end

-- Return the table so 'require' can give it to your main script
return ft_object