add onShip() check and ship override statements
Merge pull request #190 from dudymas/issue-179---solar-panel-in-space

fix issue #179 with check for onShip()