Hopefully someone can help me with this rather eclectic question 
Basically in OTL Edinburgh remained the capital of the Kingdom of Scotland despite being burned by the English a couple of times, this is for very good reasons such as defensibility and good location for trade. However in the scenario Im proposing England is distracted with wars in France and after burning Edinburgh badly once wont attack Scotland again for a while, additionally Scotland has gained holdings in Ireland during the early 1300s when this decision is being made and the whole capital thing isn't formal yet.
Now my question is would a location about where Irvine is today be a good capital once fortified for a medieval realm including Scotland and Ireland, would it be defendable and viable ? If not where would - many thanks
Basically in OTL Edinburgh remained the capital of the Kingdom of Scotland despite being burned by the English a couple of times, this is for very good reasons such as defensibility and good location for trade. However in the scenario Im proposing England is distracted with wars in France and after burning Edinburgh badly once wont attack Scotland again for a while, additionally Scotland has gained holdings in Ireland during the early 1300s when this decision is being made and the whole capital thing isn't formal yet.
Now my question is would a location about where Irvine is today be a good capital once fortified for a medieval realm including Scotland and Ireland, would it be defendable and viable ? If not where would - many thanks