DevDave
This forum is for core osTicket and core osTicket plugins only. We cannot assist with modifications here. When modifying the codebase you are always on your own as you are deviating from core. You will proceed at your own risk. Good luck!
I will say the code is completely open source and is publicly available on GitHub. They have a good search feature and a cool (new-ish) feature code tree where you can click a method to see here it’s defined, where it is used, etc. I’d highly recommend you look into that.
Cheers.