31 public void createTooltip(TooltipMakerAPI tooltip,
boolean expanded, Object tooltipParam) {
33 tooltip.addPara(
"Going to Kazeron and negotiating to join the League is likely to get "
34 +
"this harassment to stop. If "
35 +
"left unchecked, this low-grade conflict will eventually come to a head and is likely to "
36 +
"be resolved one way or another.", 0f, Misc.getHighlightColor(),
39 tooltip.addPara(
"Event progress value is based on the number and size of colonies "
40 +
"under your control. Requires one size %s colony, or at least %s colonies with one "
41 +
"being at least size %s.", opad, Misc.getHighlightColor(),
45 if (kazeron !=
null && kazeron.getStarSystem() !=
null) {
51 MapParams params =
new MapParams();
52 params.showSystem(kazeron.getStarSystem());
53 float w = tooltip.getWidthSoFar();
54 float h = Math.round(w / 1.6f);
55 params.positionToShowAllMarkersAndSystems(
true, Math.min(w, h));
56 UIPanelAPI map = tooltip.createSectorMap(w, h, params, kazeron.getName() +
" (" + kazeron.getStarSystem().getNameWithLowercaseTypeShort() +
")");
57 tooltip.addCustom(map, opad);