summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-07 09:45:52 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-07 09:45:52 -0300
commit2bd1916b5e19244d7b8045a4fe0ecc7e9727732a (patch)
tree6457809d7a961e9ceca7880ea67b51a1605cc75a
parentb8aee43873c856a28ffa4c9d91b5815778391d36 (diff)
downloadserverdata-2bd1916b5e19244d7b8045a4fe0ecc7e9727732a.tar.gz
serverdata-2bd1916b5e19244d7b8045a4fe0ecc7e9727732a.tar.bz2
serverdata-2bd1916b5e19244d7b8045a4fe0ecc7e9727732a.tar.xz
serverdata-2bd1916b5e19244d7b8045a4fe0ecc7e9727732a.zip
Alternative A: No minus sign allowed on NPC names
-rw-r--r--npc/functions/treasure.txt13
1 files changed, 6 insertions, 7 deletions
diff --git a/npc/functions/treasure.txt b/npc/functions/treasure.txt
index 9b04ef7b..ccbc827b 100644
--- a/npc/functions/treasure.txt
+++ b/npc/functions/treasure.txt
@@ -56,7 +56,7 @@ function script TreasureBox {
// (Random) Treasure Chest
// Authored by Jesusalva
// Regenerates every 6 hours
-001-3-0,0,0,0 script #chest_001-3-0 NPC_CHEST,{
+001-3-0,0,0,0 script #chest_001_3_0 NPC_CHEST,{
/*
// Extract the map name - Seems unused
explode(.@ni$, .name$, "_");
@@ -111,16 +111,15 @@ OnClock1956:
++.@e;
}
.busy=false;
- .empty=false;
movenpc .name$, .@x, .@y, 0;
end;
}
// Lets bring some treasure to The Mana World
-008-3-4,0,0,0 duplicate(#chest_001-3-0) #chest_008-3-4 NPC_TREASURE
-008-3-5,0,0,0 duplicate(#chest_001-3-0) #chest_008-3-5 NPC_TREASURE
-008-3-6,0,0,0 duplicate(#chest_001-3-0) #chest_008-3-6 NPC_TREASURE
+008-3-4,0,0,0 duplicate(#chest_001_3_0) #chest_008_3_4 NPC_TREASURE
+008-3-5,0,0,0 duplicate(#chest_001_3_0) #chest_008_3_5 NPC_TREASURE
+008-3-6,0,0,0 duplicate(#chest_001_3_0) #chest_008_3_6 NPC_TREASURE
-012-3-1,0,0,0 duplicate(#chest_001-3-0) #chest_012-3-1 NPC_TREASURE
-012-3-3,0,0,0 duplicate(#chest_001-3-0) #chest_012-3-3 NPC_TREASURE
+012-3-1,0,0,0 duplicate(#chest_001_3_0) #chest_012_3_1 NPC_TREASURE
+012-3-3,0,0,0 duplicate(#chest_001_3_0) #chest_012_3_3 NPC_TREASURE