(KitGear gear)
| 141 | } |
| 142 | |
| 143 | private void overlayGear(KitGear gear) |
| 144 | { |
| 145 | if (gear.quantity != null) |
| 146 | { |
| 147 | actingQuantity = gear.quantity; |
| 148 | } |
| 149 | if (gear.maxCost != null) |
| 150 | { |
| 151 | actingCost = gear.maxCost; |
| 152 | } |
| 153 | if (gear.mods != null) |
| 154 | { |
| 155 | actingMods.addAll(gear.mods); |
| 156 | } |
| 157 | if (gear.theLocationStr != null) |
| 158 | { |
| 159 | actingLocation = gear.theLocationStr; |
| 160 | } |
| 161 | if (gear.size != null) |
| 162 | { |
| 163 | actingSize = gear.size.get(); |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | @Override |
| 168 | public boolean testApply(Kit aKit, PlayerCharacter aPC, List<String> warnings) |
no test coverage detected