Changes to the ascii map and minor tweaking
This commit is contained in:
@ -37,10 +37,9 @@ public class CmdFlag extends FCommand
|
||||
}
|
||||
if (faction == null) return;
|
||||
|
||||
msg(p.txt.titleize("Flag(s) for " + faction.describeTo(fme)));
|
||||
|
||||
if ( ! this.argIsSet(1))
|
||||
{
|
||||
msg(p.txt.titleize("Flags for " + faction.describeTo(fme)));
|
||||
for (FFlag flag : FFlag.values())
|
||||
{
|
||||
msg(flag.getStateInfo(faction.getFlag(flag), true));
|
||||
@ -52,6 +51,7 @@ public class CmdFlag extends FCommand
|
||||
if (flag == null) return;
|
||||
if ( ! this.argIsSet(2))
|
||||
{
|
||||
msg(p.txt.titleize("Flag for " + faction.describeTo(fme)));
|
||||
msg(flag.getStateInfo(faction.getFlag(flag), true));
|
||||
return;
|
||||
}
|
||||
@ -81,6 +81,7 @@ public class CmdFlag extends FCommand
|
||||
}
|
||||
|
||||
// Do the change
|
||||
msg(p.txt.titleize("Flag for " + faction.describeTo(fme)));
|
||||
faction.setFlag(flag, targetValue);
|
||||
msg(flag.getStateInfo(faction.getFlag(flag), true));
|
||||
}
|
||||
|
@ -42,10 +42,9 @@ public class CmdPerm extends FCommand
|
||||
}
|
||||
if (faction == null) return;
|
||||
|
||||
msg(p.txt.titleize("Perm(s) for " + faction.describeTo(fme)));
|
||||
|
||||
if ( ! this.argIsSet(1))
|
||||
{
|
||||
msg(p.txt.titleize("Perms for " + faction.describeTo(fme)));
|
||||
for (FPerm perm : FPerm.values())
|
||||
{
|
||||
msg(perm.getStateInfo(faction.getPermittedRelations(perm), true));
|
||||
@ -57,6 +56,7 @@ public class CmdPerm extends FCommand
|
||||
if (perm == null) return;
|
||||
if ( ! this.argIsSet(2))
|
||||
{
|
||||
msg(p.txt.titleize("Perm for " + faction.describeTo(fme)));
|
||||
msg(perm.getStateInfo(faction.getPermittedRelations(perm), true));
|
||||
return;
|
||||
}
|
||||
@ -81,6 +81,7 @@ public class CmdPerm extends FCommand
|
||||
|
||||
// Do the change
|
||||
faction.setPermittedRelations(perm, targetValue);
|
||||
msg(p.txt.titleize("Perm for " + faction.describeTo(fme)));
|
||||
msg(perm.getStateInfo(faction.getPermittedRelations(perm), true));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user