summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/politics.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt
index d6ff43da6..22204f20c 100644
--- a/npc/functions/politics.txt
+++ b/npc/functions/politics.txt
@@ -393,8 +393,8 @@ function script POL_Manage {
rif(.@left, l("Lower city taxes")), 35,
rif(.@CR && .@RP, l("Tax crafters")), 40,
rif(!.@CR, l("Don't tax crafters")), 41,
- l("Exile a player"), 70,
- l("Revert a player exile"), 71,
+ rif(.@left >= 6, l("Exile a player")), 70,
+ rif(.@left >= 6, l("Revert a player exile")), 71,
rif(.@left, l("Raise server wide EXP")), 80,
l("Resign"), 99;
mes "";
@@ -495,6 +495,7 @@ function script POL_Manage {
mesc l("Exiled players will not be able to save to menhir."), 1;
mesc l("A global announcement will be made."), 1;
mesc l("Player must be online for the operation to finish."), 1;
+ mesc l("This will cost you all your action points."), 1;
next;
mesc l("Please insert player name to exile."), 1;
input .@ex$;
@@ -522,9 +523,12 @@ function script POL_Manage {
attachrid(.@you);
kamibroadcast(sprintf("%s has EXILED %s from %s.",
.@MAYOR$, .@ex$, getarg(0)));
+ TOWN_ACTIONS[.@TP]+=6;
break;
case 71:
mesc l("Please insert player name to cancel exile."), 1;
+ mesc l("Player must be online for the operation to finish."), 1;
+ mesc l("This will cost you all your action points."), 1;
input .@ex$;
if (.@ex$ == "")
break;
@@ -544,6 +548,7 @@ function script POL_Manage {
attachrid(.@you);
kamibroadcast(sprintf("%s has ANNULED THE EXILE %s from %s.",
.@MAYOR$, .@ex$, getarg(0)));
+ TOWN_ACTIONS[.@TP]+=6;
break;
// Mark 80: Town and Server Governance
case 80: