Don’t know who invented pants put they are a very bad idea. Kilts are so sensible given the First Law of Human Male Thermo-Dynamics. That being give your b**ls some air.
These (The Curse Of The Red-Headed Mummy) are the people who invented pants...they did so after they domesticated the horse and discovered that the inside of your legs (when straddling a horse) needed protection too.