▁steady ▁decl ine . ▁A ▁survey ▁from ▁ 1 3 4 0 ▁estimated ▁that ▁rep airs ▁would ▁cost ▁around ▁£ 6 0 0 ; ▁another ▁conducted ▁ 2 3   year s ▁later ▁stated ▁that ▁it ▁would ▁cost ▁£ 3 , 3 3 3 ▁ 6 s ▁ 8 d . ▁Natural ▁weather ing ▁w ors ened ▁the ▁condition ▁of ▁the ▁castle , ▁and ▁in ▁ 1 3 6 2 ▁a ▁" gre at ▁wind " ▁dam aged ▁the ▁structure . ▁By ▁ 1 3 6 9 ▁few ▁of ▁the ▁castle ' s ▁buildings ▁still ▁stood : ▁the ▁keep , ▁gate h ouses , ▁a ▁hall , ▁kitchen , ▁and ▁stable ▁were ▁all ▁that ▁surv ived , ▁and ▁even ▁then ▁in ▁a ▁state ▁of ▁ru in . ▁The ▁keep ▁was ▁in ▁des perate ▁need ▁of ▁repair , ▁but ▁it ▁was ▁still ▁in ▁use ▁and ▁was ▁the ▁centre ▁of ▁the ▁domestic ▁life ▁at ▁the ▁castle . ▁ ▁Elizabeth ▁de ▁Burg h ▁Queen ▁of ▁Sc ots , ▁captured ▁by ▁English ▁in ▁ 1 3 0 6 , ▁was ▁conf ined ▁in ▁the ▁castle ▁in ▁ 1 3 1 4 ▁from ▁March ▁to ▁June . ▁ ▁Between ▁May ▁ 1 3 6 7 ▁and ▁September ▁ 1 3 7 0 ▁rep airs ▁cost ing ▁£ 2 , 2 6 2 ▁were ▁carried ▁out . ▁Records ▁show ▁that ▁sections ▁of ▁the ▁cur tain ▁wall ▁were ▁rep a ired ▁and ▁two ▁m ural ▁to wers ▁built , ▁one ▁of ▁them ▁replacing ▁a ▁tower ▁on ▁the ▁same ▁site .