Skip to content

Geode 0.6.1

Choose a tag to compare

@qvyra qvyra released this 31 Oct 12:55
· 101 commits to main since this release

Custom ops can say what their arguments are called and what they do, so development tools can show a readable form for them. Nothing else changes.

Added

  • Custom ops can name their arguments and say what they do: Geode.op(name, handler, { args = { ... }, names = { "item", "coins" }, description = "Give the player an item and some coins" }). Neither changes how the op runs. The bridge's ops answer uses the names instead of arg1, arg2 and adds the description, so development tools can show a readable form. names needs args and may name fewer arguments than it declares