summaryrefslogtreecommitdiff
path: root/npc/functions/politics.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-11 14:06:47 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-11 14:06:47 -0300
commit646726a0a53dadc16b6eace7d70f6973f76c8437 (patch)
treef8216b1cc3716296b5e1e8450c14d45a780316b1 /npc/functions/politics.txt
parent27d9a029fdcb3c2402c5a8c72be7e6a7bf1c5dfe (diff)
downloadserverdata-646726a0a53dadc16b6eace7d70f6973f76c8437.tar.gz
serverdata-646726a0a53dadc16b6eace7d70f6973f76c8437.tar.bz2
serverdata-646726a0a53dadc16b6eace7d70f6973f76c8437.tar.xz
serverdata-646726a0a53dadc16b6eace7d70f6973f76c8437.zip
Report town data to GMs
Diffstat (limited to 'npc/functions/politics.txt')
-rw-r--r--npc/functions/politics.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/politics.txt b/npc/functions/politics.txt
index a3721cf7c..19fdcda81 100644
--- a/npc/functions/politics.txt
+++ b/npc/functions/politics.txt
@@ -272,7 +272,7 @@ function script POL_TownInfo {
.@TX=getd("$"+getarg(0)+"_TAX");
.@EX=getd("$"+getarg(0)+"_EXPORT");
.@RP=getd("$"+getarg(0)+"_REPUTATION");
- if (strcharinfo(0) == .@MAYOR$) {
+ if (strcharinfo(0) == .@MAYOR$ || is_gm()) {
mesc l("Town Money: @@", .@GP), 2;
mesc l("Town Reputation: @@ | @@.@@ %% Tax", .@RP, .@TX/100, .@TX%100), 2;
mesc l("Town Weekly Exports: @@", .@EX), 2;