mt-mods / mooncontroller

enhanced luacontroller (experimental)
Other
3 stars 0 forks source link

adding help and examples #1

Open SwissalpS opened 1 year ago

SwissalpS commented 1 year ago

adding examples looks pretty straightforward, dev only needs to check if the name is already occupied and if so add a number. This could be done by a register function though.

When it comes to adding help, this becomes even more complicated. So instead of every library developer coming up with their own way to add their help, why not add a registration function?

e.g. register_help(name, location) or if mods can't read from othre mod's directories: register_help(name, contents)

also register_example() with same argument signature.