Faction truce claims now shown on map.
This commit is contained in:
parent
410e932826
commit
da32970389
@ -56,6 +56,7 @@ public class Conf {
|
||||
public static boolean showMapFactionKey = true;
|
||||
public static boolean showNeutralFactionsOnMap = true;
|
||||
public static boolean showEnemyFactionsOnMap = true;
|
||||
public static boolean showTrucesFactionsOnMap = true;
|
||||
// Disallow joining/leaving/kicking while power is negative
|
||||
public static boolean canLeaveWithNegativePower = true;
|
||||
// Configuration for faction-only chat
|
||||
|
@ -251,7 +251,8 @@ public abstract class MemoryBoard extends Board {
|
||||
row.then("+").color(Conf.colorWar).tooltip(oneLineToolTip(factionHere, fplayer));
|
||||
} else if (factionHere == faction || factionHere == factionLoc || relation.isAtLeast(Relation.ALLY) ||
|
||||
(Conf.showNeutralFactionsOnMap && relation.equals(Relation.NEUTRAL)) ||
|
||||
(Conf.showEnemyFactionsOnMap && relation.equals(Relation.ENEMY))) {
|
||||
(Conf.showEnemyFactionsOnMap && relation.equals(Relation.ENEMY)) ||
|
||||
(Conf.showTrucesFactionsOnMap && relation.equals(Relation.TRUCE))) {
|
||||
if (!fList.containsKey(factionHere.getTag())) {
|
||||
fList.put(factionHere.getTag(), Conf.mapKeyChrs[Math.min(chrIdx++, Conf.mapKeyChrs.length - 1)]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user