Repository navigation
Geode 0.6.1
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'sopsanswer uses the names instead ofarg1,arg2and adds the description, so development tools can show a readable form.namesneedsargsand may name fewer arguments than it declares