Formula Format

Avatar

By boredom101 3 Feb 2019 23:09

New member · 1 comments

I think there should be a formula format so that a specific equation isn't tied to the engine. This will be useful to damage calculations, gained experience, cost at shops, etc, It will maybe be expressed in JSON, or a python function. What do people think?

Avatar

By bitcraft 5 Feb 2019 13:37

Champion · 167 comments

I'll just comment the same as I did on the github issue.  I don't think JSON is the right format since the calculations already take more than a single line, and the supporting code to parse the text and pull values from the game could get complicated.

https://github.com/Tuxemon/Tuxemon/issues/506

I do support organizing them better and making them interchangeable though.