Aedif / TokenVariants

GNU General Public License v3.0
18 stars 12 forks source link

Split the Module #108

Open brunocalado opened 1 year ago

brunocalado commented 1 year ago

Hi.

This is one of the best fvtt modules!

I wonder, would be possible to split its functions across multiple modules?

Sometimes, I want 2 or 3 functions of the module in one world, other time just one.

Wouldn't be also easy to maintain the module?

Aedif commented 1 year ago

It wouldn't really help with maintenance. Some functions are interconnected with each other even if they don't seem to be at a glance, and if the module was split I'd now need to keep everything up to date across multiple modules.

That said, splitting functionality up would be the more 'proper' way of going about this. I haven't done it because it would take quite a bit of time and effort to do.

It's easier to simply have users disable functions they don't need.