diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/029-0/_import.txt | 1 | ||||
-rw-r--r-- | npc/029-0/town.txt | 11 | ||||
-rw-r--r-- | npc/commands/warp.txt | 1 | ||||
-rw-r--r-- | npc/config/location.txt | 10 |
4 files changed, 18 insertions, 5 deletions
diff --git a/npc/029-0/_import.txt b/npc/029-0/_import.txt index a1ee90f8c..18816bb55 100644 --- a/npc/029-0/_import.txt +++ b/npc/029-0/_import.txt @@ -5,4 +5,5 @@ "npc/029-0/event.txt", "npc/029-0/mobs.txt", "npc/029-0/sakar.txt", +"npc/029-0/town.txt", "npc/029-0/warps.txt", diff --git a/npc/029-0/town.txt b/npc/029-0/town.txt new file mode 100644 index 000000000..c1e5eec51 --- /dev/null +++ b/npc/029-0/town.txt @@ -0,0 +1,11 @@ +// TMW-2 Script +// Author: +// Jesusalva +// Description: +// Reset LOCATION$ when entering a town + +029-0,203,85,0 script #LocArtis NPC_HIDDEN,3,3,{ +OnTouch: + EnterTown("Artis"); end; +} + diff --git a/npc/commands/warp.txt b/npc/commands/warp.txt index 00058c9ce..adca7ab9f 100644 --- a/npc/commands/warp.txt +++ b/npc/commands/warp.txt @@ -78,6 +78,7 @@ OnInit: "^FROST", "024-1 94 42", // Frostia "^FORT", "025-1 100 83", // Fortress Town "^MAGI|^ACADEMY", "027-1 89 83", // Magic Academy + "^ART", "029-0 203 85", // Artis // TBR - To Be Removed "^BOSS", "boss 45 45", // (TBR) Monster King's Throne Room diff --git a/npc/config/location.txt b/npc/config/location.txt index f33abbe76..19ce476fd 100644 --- a/npc/config/location.txt +++ b/npc/config/location.txt @@ -7,11 +7,11 @@ OnInit: // TP_FORT TP_BOSSR - setarray $@LOCMASTER_TP, TP_CANDOR,TP_TULIM,TP_HALIN,TP_HURNS, TP_LOF,TP_LILIT,TP_NIVAL, TP_FROST, TP_FORT; - setarray $@LOCMASTER_LOC$, "Candor", "Tulim", "Halin", "Hurns", "LoF", "Lilit", "Nival", "Frostia", "Fort"; - setarray $@LOCMASTER_MAP$, "005-1", "003-1", "009-1", "012-1", "017-1", "018-5", "020-1", "024-1", "025-2"; - setarray $@LOCMASTER_X, 43, 40, 26, 86, 119, 111, 56, 94, 108; - setarray $@LOCMASTER_Y, 99, 49, 30, 69, 87, 53, 62, 42, 32; + setarray $@LOCMASTER_TP, TP_CANDOR,TP_TULIM,TP_HALIN,TP_HURNS, TP_LOF,TP_LILIT,TP_NIVAL, TP_FROST, TP_FORT,TP_ARTIS; + setarray $@LOCMASTER_LOC$, "Candor", "Tulim", "Halin", "Hurns", "LoF", "Lilit", "Nival", "Frostia", "Fort", "Artis"; + setarray $@LOCMASTER_MAP$, "005-1", "003-1", "009-1", "012-1", "017-1", "018-5", "020-1", "024-1", "025-2", "029-0"; + setarray $@LOCMASTER_X, 43, 40, 26, 86, 119, 111, 56, 94, 108, 203; + setarray $@LOCMASTER_Y, 99, 49, 30, 69, 87, 53, 62, 42, 32 85; //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]; |