From 7c057bc19b36c71171a2c4155df5422f93b2c455 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 4 Jul 2020 13:34:30 -0300 Subject: Move location configuration to npc/config --- npc/config/location.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 npc/config/location.txt (limited to 'npc/config/location.txt') diff --git a/npc/config/location.txt b/npc/config/location.txt new file mode 100644 index 000000000..5a069545b --- /dev/null +++ b/npc/config/location.txt @@ -0,0 +1,20 @@ +// TMW2 Script +// Author: Jesusalva +// Location Config + +- script loc_config 32767,{ + end; + +OnInit: + // TP_FORT TP_BOSSR + setarray $@LOCMASTER_TP, TP_CANDOR,TP_TULIM,TP_HALIN,TP_HURNS, TP_LOF,TP_LILIT,TP_NIVAL, TP_FROST; + setarray $@LOCMASTER_LOC$, "Candor", "Tulim", "Halin", "Hurns", "LoF", "Lilit", "Nival", "Frostia"; + setarray $@LOCMASTER_MAP$, "005-1", "003-1", "009-1", "012-1", "017-1", "018-5", "020-1", "024-1"; + setarray $@LOCMASTER_X, 43, 40, 26, 86, 119, 111, 56, 94; + setarray $@LOCMASTER_Y, 99, 49, 30, 69, 87, 53, 62, 42; + + //debugmes "Locmaster: Index 0: %s [%s.gat (%d, %d)]", $@LOCMASTER_LOC$[0], $@LOCMASTER_MAP$[0], $@LOCMASTER_X[0], $@LOCMASTER_Y[0]; + //debugmes "Locmaster: Index 2: %s [%s.gat (%d, %d)]", $@LOCMASTER_LOC$[2], $@LOCMASTER_MAP$[2], $@LOCMASTER_X[2], $@LOCMASTER_Y[2]; + //debugmes "Locmaster: Index 5: %s [%s.gat (%d, %d)]", $@LOCMASTER_LOC$[5], $@LOCMASTER_MAP$[5], $@LOCMASTER_X[5], $@LOCMASTER_Y[5]; + end; +} -- cgit v1.2.3-60-g2f50