I'd recommend asking them for this portion, since they know how they changed the base game way better then I do. The developers for Krastorio2 have some recommendations, or something makes more sense between both our mods to be incorporated in my code, I am OK with working with them to add a few conditional statements and some code. I've done that in the past, in one case the developer set one of my mods as an optional dependency, in another case, I set another mod up with optional dependency, and added a few lines of code fix the incompatibility issue.
A bit more clarification. The issue is when the base type entities are loaded and when they are defined. The big thing I was hoping would work, is setting Krastorio2 as a optional or mandatory dependency to see of it would work. That did not fix this issue. The changes that I plan in introducing to my mod will be invisible to the players, but internal to the mod only to facilitate future maintainability of this mod, and readability of the code.
Hiladdar