42 super.createTooltipAfterDescription(tooltip, expanded);
45 if (test instanceof ConditionGenDataSpec) {
46 ConditionGenDataSpec spec = (ConditionGenDataSpec) test;
47 float hazard = spec.getHazard();
50 String pct =
"" + (int)(hazard * 100f) +
"%";
51 if (hazard > 0) pct =
"+" + pct;
52 tooltip.addPara(
"%s hazard rating", 10f, Misc.getHighlightColor(), pct);