Added in energyCost so that non-player weapons can be equipped by players.