fix two bugs in starting equipment function
attempt to write a starting equipment resolver