summaryrefslogtreecommitdiff
path: root/npc/024-11/politics.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/024-11/politics.txt')
-rw-r--r--npc/024-11/politics.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/npc/024-11/politics.txt b/npc/024-11/politics.txt
index efb7fcb80..d33c90c64 100644
--- a/npc/024-11/politics.txt
+++ b/npc/024-11/politics.txt
@@ -16,14 +16,17 @@ do
mesc l("Only elves may run to Town Admin Office in Frostia!"), 1;
else
mesc l("Hey, you're an elf, cool! But you still cannot run for office here!"), 1;
- close;
+ if (!is_staff())
+ close;
POL_TownInfo("FROSTIA");
mesc l("Application fee: @@ GP", .applytax);
+ if (is_staff())
+ mesc l("Average user count = %d", GETUSERSAVG());
next;
select
l("Information"),
rif(strcharinfo(0) == $FROSTIA_MAYOR$, l("Manage Town")),
- rif(#POL_APPLYWEEK != gettimeparam(GETTIME_WEEKDAY), l("Apply for the office!")),
+ rif(#POL_APPLYWEEK != gettimeparam(GETTIME_WEEKDAY) && GETUSERSAVG() >= 10, l("Apply for the office!")),
l("View Candidate List and cast a vote"),
l("[Quit]");