Closed Morilli closed 5 years ago
I made some proof of concept changes to the multi_substitution function. It should preserve the current functionality for lcu but make providing a custom list of paths and words possibly. Please review on whether this is what you asked for or whether I should be using a different approach altogether.
Customization of paths and words is good. What about the customization of "changes" (number of words to add for instance)?
If we're gonna do that, I feel like it would be possible to merge these two functions into substitute_basename_words
and add_basename_word
, just with different amounts of words of to replace to be specified. Does that sound fair to you?
Yep! all good!
I think I covered everything now, tell me if something is still wrong / unwanted.
Again, this is probably not perfect, but the general idea should be pretty clear. Also has support for the new
.luabin64
™ files.