summaryrefslogtreecommitdiff
path: root/world/map/npc/029-2/barrels.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/029-2/barrels.txt')
-rw-r--r--world/map/npc/029-2/barrels.txt63
1 files changed, 63 insertions, 0 deletions
diff --git a/world/map/npc/029-2/barrels.txt b/world/map/npc/029-2/barrels.txt
new file mode 100644
index 00000000..aba6ed58
--- /dev/null
+++ b/world/map/npc/029-2/barrels.txt
@@ -0,0 +1,63 @@
+// Barrels
+// Author: Wushin
+029-2.gat,23,86,0|script|Barrel#0|400
+{
+ setarray @npc_loc, 23, 86, 2;
+ set @barrel, 0;
+ callfunc "CheckBarrel";
+ end;
+
+OnMaggotDeath:
+ set @mobID, 1050;
+ callfunc "MobPoints";
+ end;
+}
+029-2.gat,28,86,0|script|Barrel#1|400
+{
+ setarray @npc_loc, 28, 86, 2;
+ set @barrel, 1;
+ callfunc "CheckBarrel";
+ end;
+}
+029-2.gat,31,91,0|script|Barrel#2|400
+{
+ setarray @npc_loc, 31, 91, 2;
+ set @barrel, 2;
+ callfunc "CheckBarrel";
+ end;
+}
+029-2.gat,36,85,0|script|Barrel#3|400
+{
+ setarray @npc_loc, 36, 85, 2;
+ set @barrel, 3;
+ callfunc "CheckBarrel";
+ end;
+}
+029-2.gat,40,89,0|script|Barrel#4|400
+{
+ setarray @npc_loc, 40, 89, 2;
+ set @barrel, 4;
+ callfunc "CheckBarrel";
+ end;
+}
+029-2.gat,38,91,0|script|Barrel#5|400
+{
+ setarray @npc_loc, 38, 91, 2;
+ set @barrel, 5;
+ callfunc "CheckBarrel";
+ end;
+}
+029-2.gat,29,92,0|script|Barrel#6|400
+{
+ setarray @npc_loc, 29, 92, 2;
+ set @barrel, 6;
+ callfunc "CheckBarrel";
+ end;
+}
+029-2.gat,24,91,0|script|Barrel#7|400
+{
+ setarray @npc_loc, 24, 91, 2;
+ set @barrel, 7;
+ callfunc "CheckBarrel";
+ end;
+}