summaryrefslogtreecommitdiff
path: root/npc/functions/politics.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-10-20 10:24:10 -0300
committerJesusaves <cpntb1@ymail.com>2020-10-20 10:24:10 -0300
commit35890e15d4cc5cd064c072cc6f39911b995f3775 (patch)
treeb8547020149a7f901b495254f0a1527b506387a4 /npc/functions/politics.txt
parentc7ee549da2619aa1b5c95a6270f4062319eb111b (diff)
downloadserverdata-35890e15d4cc5cd064c072cc6f39911b995f3775.tar.gz
serverdata-35890e15d4cc5cd064c072cc6f39911b995f3775.tar.bz2
serverdata-35890e15d4cc5cd064c072cc6f39911b995f3775.tar.xz
serverdata-35890e15d4cc5cd064c072cc6f39911b995f3775.zip
Exile will now take all your action points.
Diffstat (limited to 'npc/functions/politics.txt')
-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: