Outlaws added to aiinfo.

This commit is contained in:
2023-09-05 13:04:56 -04:00
parent 16acd1c08c
commit 33eaf0e583
+13
View File
@@ -138,6 +138,19 @@ public class aiInfoCmd extends AbstractDevCmd {
for (RunePowerEntry runePowerEntry : powerEntries) for (RunePowerEntry runePowerEntry : powerEntries)
output += PowersManager.getPowerByToken(runePowerEntry.token).getName() + newline; output += PowersManager.getPowerByToken(runePowerEntry.token).getName() + newline;
// List outlaws defined for this player guard's city
if (mob.isPlayerGuard()) {
ArrayList<Integer> outlaws = new ArrayList(mob.guardedCity.cityOutlaws);
if (outlaws.isEmpty() == false)
output += "Outlaws: " + newline;
for (Integer outlawUUID : outlaws)
output += outlawUUID + newline;
}
throwbackInfo(playerCharacter, output); throwbackInfo(playerCharacter, output);
} }