Browse Source

Outlaws added to aiinfo.

feature-workorder
MagicBot 1 year ago
parent
commit
33eaf0e583
  1. 13
      src/engine/devcmd/cmds/aiInfoCmd.java

13
src/engine/devcmd/cmds/aiInfoCmd.java

@ -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);
} }

Loading…
Cancel
Save