public static void applyGear(Background v, Actor actor) {
    int BQ = v.standing ;
    for (Service gear : v.gear) {
      if (gear instanceof DeviceType) {
        actor.gear.equipDevice(Item.withQuality(gear, BQ + Rand.index(3))) ;
      }
      else if (gear instanceof OutfitType) {
        actor.gear.equipOutfit(Item.withQuality(gear, BQ + Rand.index(3))) ;
      }
      else actor.gear.addItem(Item.withAmount(gear, 1 + Rand.index(3))) ;
    }
    if (actor.gear.credits() == 0) {
      actor.gear.incCredits((50 + Rand.index(100)) * BQ / 2f) ;
    }
    actor.gear.boostShields(actor.gear.maxShields() / 2f, true) ;
  }