This section will have stuff about the code and how I mostly butchered Javascript with my C background. I'm not really sure what to put here, so I'll just add onto it as more people need it. One thing that I would recommend is that anyone modifying the software edit the VERSION_INFO variable in the BondageModuleConstants.js file. This will make fixing any issues resulting from changes to the code easier to track down.
There are global arrays for allies, enemies, and turn order that are used throughout multiple .js files to run the combat engine. If you are interested in modifying combat, let me know and I'll give you a more in depth explanation. I will update this as more questions come in.
The engine that makes this crazy train run. This will iterate through old modules and update the stored data to work with newer versions of the software. This is important if you are planning to modify Bondage Modules, as you will need to update this section to ensure that modules from other versions will work with your modified version.