MCPcopy Create free account
hub / github.com/PCGen/pcgen / getBaseRegionPCCText

Method getBaseRegionPCCText

code/src/java/pcgen/core/BioSet.java:99–107  ·  view source on GitHub ↗

Builds a string describing the bio settings for the specified race (for no Region) This string is formatted so that it can be read in by BioSetLoader @param race The name of the race to be output @return String A lst string describing the region's biosets.

(String race)

Source from the content-addressed store, hash-verified

97 * @return String A lst string describing the region's biosets.
98 */
99 public String getBaseRegionPCCText(String race)
100 {
101 final StringBuilder sb = new StringBuilder(1000);
102 sb.append("REGION:").append(Constants.NONE).append("\n\n");
103
104 final SortedMap<Integer, SortedMap<String, SortedMap<String, String>>> ageSets = getRaceTagsByAge(race);
105
106 return appendAgesetInfo(Optional.empty(), ageSets, sb);
107 }
108
109 /**
110 * Add the supplied line to the user map. The user map contains an array with

Callers 3

writeCustomBioSetMethod · 0.80

Calls 3

getRaceTagsByAgeMethod · 0.95
appendAgesetInfoMethod · 0.95
appendMethod · 0.45

Tested by 2