summaryrefslogtreecommitdiff
path: root/tools/tmwcon/src/converter/Process.java
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2008-11-11 14:42:59 +0000
committerJared Adams <jaxad0127@gmail.com>2008-11-11 14:42:59 +0000
commit39b9de05511c50aac936228bf68f1de410baf13e (patch)
treee28c3e050d46df2ad0bd82d61a2866cdd6243d1c /tools/tmwcon/src/converter/Process.java
parent515f38e52100eac09275f0821e93e0eaf3e2cc3c (diff)
downloadserverdata-39b9de05511c50aac936228bf68f1de410baf13e.tar.gz
serverdata-39b9de05511c50aac936228bf68f1de410baf13e.tar.bz2
serverdata-39b9de05511c50aac936228bf68f1de410baf13e.tar.xz
serverdata-39b9de05511c50aac936228bf68f1de410baf13e.zip
Update some files in the converter tool
Still getting used to git.
Diffstat (limited to 'tools/tmwcon/src/converter/Process.java')
-rw-r--r--tools/tmwcon/src/converter/Process.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/tmwcon/src/converter/Process.java b/tools/tmwcon/src/converter/Process.java
index b7fafbf5..78bf1e2c 100644
--- a/tools/tmwcon/src/converter/Process.java
+++ b/tools/tmwcon/src/converter/Process.java
@@ -106,12 +106,17 @@ public class Process {
}
}
- public static void processMap(String name, Map map) {
+ public static void processMap(String name, Map map, PrintWriter summary) {
if (name == null) return;
if (map == null) return;
Properties props = map.getProperties();
String title = getProp(props, "name", "");
+ if (summary != null) {
+ summary.printf("\tName: '%s'\n", title);
+ summary.printf("\tMusic: '%s'\n", getProp(props, "music", ""));
+ summary.printf("\tMinimap: '%s'\n", getProp(props, "minimap", ""));
+ }
String folderName = "server-data/npc/" + name;
if (title.length() > 0) {
folderName += "_" + title.replaceAll("\\s", "_");