In regular scripts, we are able to specify properties:
go.property("myProperty", "myValue")
and then we are able to change these properties from outside the script, either in a create function:
local props = { myProperty=myValue }
factory.create(myFactory, myPos, null, props)
or through the UI:
But lua modules aren’t called through a create function, nor do they have a UI presence in any object in the project. They do accept the go.property initializer form, though; is there any way to actually initialize these with anything other than the default values, other than writing a function in the module to initialize them (which kind of defeats their point)?