Changed permission view. Bank withdraw permission in the works
This commit is contained in:
@ -39,7 +39,7 @@ public class CmdFlag extends FCommand
|
||||
|
||||
if ( ! this.argIsSet(1))
|
||||
{
|
||||
msg(p.txt.titleize("Flags for " + faction.describeTo(fme)));
|
||||
msg(p.txt.titleize("Flags for " + faction.describeTo(fme, true)));
|
||||
for (FFlag flag : FFlag.values())
|
||||
{
|
||||
msg(flag.getStateInfo(faction.getFlag(flag), true));
|
||||
@ -51,7 +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(p.txt.titleize("Flag for " + faction.describeTo(fme, true)));
|
||||
msg(flag.getStateInfo(faction.getFlag(flag), true));
|
||||
return;
|
||||
}
|
||||
@ -81,7 +81,7 @@ public class CmdFlag extends FCommand
|
||||
}
|
||||
|
||||
// Do the change
|
||||
msg(p.txt.titleize("Flag for " + faction.describeTo(fme)));
|
||||
msg(p.txt.titleize("Flag for " + faction.describeTo(fme, true)));
|
||||
faction.setFlag(flag, targetValue);
|
||||
msg(flag.getStateInfo(faction.getFlag(flag), true));
|
||||
}
|
||||
|
@ -44,7 +44,8 @@ public class CmdPerm extends FCommand
|
||||
|
||||
if ( ! this.argIsSet(1))
|
||||
{
|
||||
msg(p.txt.titleize("Perms for " + faction.describeTo(fme)));
|
||||
msg(p.txt.titleize("Perms for " + faction.describeTo(fme, true)));
|
||||
msg(FPerm.getStateHeaders());
|
||||
for (FPerm perm : FPerm.values())
|
||||
{
|
||||
msg(perm.getStateInfo(faction.getPermittedRelations(perm), true));
|
||||
@ -56,7 +57,8 @@ public class CmdPerm extends FCommand
|
||||
if (perm == null) return;
|
||||
if ( ! this.argIsSet(2))
|
||||
{
|
||||
msg(p.txt.titleize("Perm for " + faction.describeTo(fme)));
|
||||
msg(p.txt.titleize("Perm for " + faction.describeTo(fme, true)));
|
||||
msg(FPerm.getStateHeaders());
|
||||
msg(perm.getStateInfo(faction.getPermittedRelations(perm), true));
|
||||
return;
|
||||
}
|
||||
@ -81,7 +83,8 @@ public class CmdPerm extends FCommand
|
||||
|
||||
// Do the change
|
||||
faction.setPermittedRelations(perm, targetValue);
|
||||
msg(p.txt.titleize("Perm for " + faction.describeTo(fme)));
|
||||
msg(p.txt.titleize("Perm for " + faction.describeTo(fme, true)));
|
||||
msg(FPerm.getStateHeaders());
|
||||
msg(perm.getStateInfo(faction.getPermittedRelations(perm), true));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user