added repair abilities, fixed the start with 0 gold thing