You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}*///Commented out due to seeming to be a bad mechanic with the current implementation of the bounty board. Given pre-existing use of it in some mods (such as Seeker), enabling this on an update may cause issues for some users.
600
581
601
-
ShowDistance.Distance-> {
602
-
params.filterData.names =false
582
+
/*ShowDistance.Vague -> {
583
+
params.filterData.names = false
603
584
604
-
val distanceLY =Misc.getDistanceLY(Global.getSector().playerFleet, bounty.fleetSpawnLocation).roundToInt()
605
-
targetInfoTooltip.addPara(
606
-
MagicTxt.getString("mb_distance"),
607
-
10f,
608
-
Misc.getTextColor(),
609
-
Misc.getHighlightColor(),
610
-
distanceLY.toString()
611
-
)
612
-
}
585
+
val distance = bounty.fleetSpawnLocation.containingLocation.location.length()
586
+
var vague = MagicTxt.getString("mb_distance_core")
587
+
if (distance > MagicVariables.getSectorSize() * 0.6f) {
588
+
vague = MagicTxt.getString("mb_distance_far")
589
+
} else if (distance > MagicVariables.getSectorSize() * 0.33f) {
590
+
vague = MagicTxt.getString("mb_distance_close")
591
+
}
592
+
targetInfoTooltip.addPara(
593
+
MagicTxt.getString("mb_distance_vague"),
594
+
10f,
595
+
Misc.getTextColor(),
596
+
Misc.getHighlightColor(),
597
+
vague
598
+
)
599
+
}*///Commented out due to seeming to be a bad mechanic with the current implementation of the bounty board. Given pre-existing use of it in some mods (such as Seeker), enabling this on an update may cause issues for some users.
613
600
614
-
else-> {
615
-
val constellation = location.constellation
616
-
if(constellation !=null) {
617
-
//Show constellation
618
-
params.filterData.constellations =true
601
+
ShowDistance.Distance-> {
619
602
params.filterData.names =false
620
-
params.showConsellations =setOf(constellation)
621
-
params.smallConstellations =true
622
-
623
-
//Point towards center of constellation
624
-
val token = createConstellationCenterToken(constellation)
0 commit comments