as someone in IT sometimes an insane amount of ifs is what it takes to make the code work without going insane yourself ^^
literally my code is hanging on by a thread. but if it works it works!!
i mean as long as you don’t plan to change anything in ifs themselves as well as things they affect all should be well xd