diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/util.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 4f0761b41..ffe472dd1 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -1012,16 +1012,19 @@ function script POL_LocToTP { if (.@tw$ == "NIVAL") return TP_NIVAL; - if (.@tw$ == "FROSTIA") - return TP_FROST; + if (.@tw$ == "ARTIS") + return TP_ARTIS; if (.@tw$ == "CANDOR") return TP_CANDOR; - // TODO: Change this to use npc/config/location.txt instead if (.@tw$ == "LILIT") return TP_LILIT; + // TODO: Change this to use npc/config/location.txt instead + if (.@tw$ == "FROSTIA") + return TP_FROST; + return Exception("Invalid town requested / POL_LocToTP", RB_DEFAULT|RB_SPEECH, -1); } |