Return true if resizing the equipment will have any "noticable" effect checks for cost modification, armor bonus, weight, capacity @param typeList @return TRUE or FALSE
(List<String> typeList)
| 499 | * @return TRUE or FALSE |
| 500 | */ |
| 501 | public static boolean canResizeHaveEffect(List<String> typeList) |
| 502 | { |
| 503 | final List<String> resizeTypeList = SettingsHandler.getGameAsProperty().get().getResizableTypeList().stream() |
| 504 | .map(Type::toString).map(String::toUpperCase).collect(Collectors.toList()); |
| 505 | return typeList.stream().map(String::toUpperCase).anyMatch(resizeTypeList::contains); |
| 506 | } |
| 507 | |
| 508 | /** |
| 509 | * Find out the state of a PRERULE check |
no test coverage detected