sbrl / Minetest-WorldEditAdditions

Extra tools and commands to extend WorldEdit for Minetest
https://worldeditadditions.mooncarrot.space/
Mozilla Public License 2.0
16 stars 3 forks source link

Implement new register_command function #47

Closed VorTechnix closed 3 years ago

VorTechnix commented 3 years ago

The current worldedit.register_command function does not pass the name parameter to the parse element of the commands it registers. Having looked at the worldedit implementation I think it should be fairly painless to implement a better version of it ourselves. I could be totally wrong and this might turn into a nightmare but I think it's worth trying. Worst case we learn something and revert.

sbrl commented 3 years ago

This is a good idea, but unfortunately it would make the implementation of //multi, //subdivide, and potentially //many more complicated. This one is a bit of a rabbit hole.

VorTechnix commented 3 years ago

How would make them more complicated? They register straight to minetest and wouldn't be effected.

VorTechnix commented 3 years ago

As per conversation on discord this is a nope.