Make a string that can be saved that will represent this Ability object @return a string representation that can be parsed to rebuild the Ability
()
| 76 | * Ability |
| 77 | */ |
| 78 | @Override |
| 79 | public String getPCCText() |
| 80 | { |
| 81 | StringJoiner txt = new StringJoiner("\t"); |
| 82 | txt.add(getDisplayName()); |
| 83 | txt.add("CATEGORY:" + getCategory()); |
| 84 | Globals.getContext().unparse(this).forEach(txt::add); |
| 85 | txt.add(PrerequisiteWriter.prereqsToString(this)); |
| 86 | return txt.toString(); |
| 87 | } |
| 88 | |
| 89 | /** |
| 90 | * Compare an ability (category) to another one |
nothing calls this directly
no test coverage detected