Heya, thank you for the quick response!
We're playing on 26.1.2 (Fabric)!
Ah, that's great! A lot of people are still on old versions like 1.21.1, so I had to ask.
I don't think it has the other mode where it treats all levels as having the same number of XP points.
This is actually not quite how the mod functions, because the cost per level is still the same (so reaching lvl 30 for a max enchanting table takes the same amount of XP as before).
Ah, I assumed it doesn't change how you earn XP, just how you spend it (so that at least for the anvil, it kind of looks like every level takes the same amount of points. I think I was just confused by the `set_level_cost` option.
Instead, enchanting/anvil-ing doesn't consume x amount of levels but rather x amount of XP.
So if a player is on a higher level, they no longer spend the same number of levels (and therefore more XP in total) than on a lower level. So it is kind of like tax free levels then, good to know. Although does look like the calculation is different based on the `use_minimal_exp_cost` value.
We're also using Flat EXP Costs' sister mod EXP Counter (https://modrinth.com/mod/exp-counter) so you can see your total amount of XP points > alongside the level counter, and I made a resource pack to change the 'experience cost: 3' text to 'XP Cost: 300 Points'; this way, anyone can see exactly how much things will cost and how much they have left to spend. Anyway, not super relevant but I felt like telling you :P
That's nice. Would be helpful for debugging too 🙃
Should I also check for whether Flat EXP costs is loaded and calculate the level cost accordingly if the `use_minimal_exp_cost` is set (like tax free levels)
If I understand correctly, this would mean the result of `cost_function` would always be multiplied by the value of `use_minimal_exp_cost`, right? That'd be perfect!
I think the way it's supposed to work is that it's multiplied by `set_level_cost` if `use_minimal_exp_cost` is `false`, and by the number of points of the minimum level you need to have otherwise. So I think the option to treat the results of cost functions as XP points instead might not actually be needed for this use case if I just add support for the mod, but I think I'll add that in anyway :)
That should definitely be possible.
Amazing! How soon do you think it could be available?
I should have some time to implement this tomorrow, so it should be done in the next few days? Can't promise anything, though.