The basic version of this mod is now pretty much working. I just need to set up some triggers in EB.