summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/024-11/politics.txt12
1 files changed, 7 insertions, 5 deletions
diff --git a/npc/024-11/politics.txt b/npc/024-11/politics.txt
index e4ca2c1e9..e21f3094a 100644
--- a/npc/024-11/politics.txt
+++ b/npc/024-11/politics.txt
@@ -15,12 +15,14 @@ do
// FIXME: Some hack code to disable the town
// Frostia Townhall is only available if player activity reaches a threshold
- if (Class != Elven)
- 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;
- if (!is_staff() || GETUSERSAVG() < 10)
+ if (GETUSERSAVG() < 10) {
+ if (Class != Elven)
+ 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;
+ mesc l("%d more active users are required to unlock Frostia Townhall.", 10-GETUSERSAVG());
close;
+ }
POL_TownInfo("FROSTIA");
// Frostia is special: Only citizens can apply for office