Skip to content

Instantly share code, notes, and snippets.

@MindScriptAct
Last active February 23, 2020 10:37
Show Gist options
  • Save MindScriptAct/1deb729a52f869e023d71b514a46a6b2 to your computer and use it in GitHub Desktop.
Save MindScriptAct/1deb729a52f869e023d71b514a46a6b2 to your computer and use it in GitHub Desktop.
TableTop simulator lua readonly table template
require("msa/Core")
local Constants = readonly {
MyNumber = 12.34,
MyString = "Some String",
MyObject = readonly {Data = "My Object data", Count = 123},
MyPosition = readonly {x = 1, y = 2, z = 3},
MyColor = readonly {r = 0.5, g = 0.5, b = 0.5, m = 1}
}
return Constants;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment