From 33eaf0e5839dccaf5a2888255b38693730641c8e Mon Sep 17 00:00:00 2001 From: MagicBot Date: Tue, 5 Sep 2023 13:04:56 -0400 Subject: [PATCH] Outlaws added to aiinfo. --- src/engine/devcmd/cmds/aiInfoCmd.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/engine/devcmd/cmds/aiInfoCmd.java b/src/engine/devcmd/cmds/aiInfoCmd.java index 7a43dbe9..5f0deedf 100644 --- a/src/engine/devcmd/cmds/aiInfoCmd.java +++ b/src/engine/devcmd/cmds/aiInfoCmd.java @@ -138,6 +138,19 @@ public class aiInfoCmd extends AbstractDevCmd { for (RunePowerEntry runePowerEntry : powerEntries) output += PowersManager.getPowerByToken(runePowerEntry.token).getName() + newline; + // List outlaws defined for this player guard's city + + if (mob.isPlayerGuard()) { + + ArrayList outlaws = new ArrayList(mob.guardedCity.cityOutlaws); + + if (outlaws.isEmpty() == false) + output += "Outlaws: " + newline; + + for (Integer outlawUUID : outlaws) + output += outlawUUID + newline; + } + throwbackInfo(playerCharacter, output); }