summaryrefslogtreecommitdiff
path: root/world/map/npc/005-1
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-07-05 12:25:49 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-07-05 12:30:10 -0700
commit89e2ac5687d698f0843ac46612ee33b6692bbc93 (patch)
tree8ea32e1691381e9d4db72b54c4ebed0ce809c3d2 /world/map/npc/005-1
parent27ad0933834fb488c6deac76d660cda338bb5da8 (diff)
downloadserverdata-89e2ac5687d698f0843ac46612ee33b6692bbc93.tar.gz
serverdata-89e2ac5687d698f0843ac46612ee33b6692bbc93.tar.bz2
serverdata-89e2ac5687d698f0843ac46612ee33b6692bbc93.tar.xz
serverdata-89e2ac5687d698f0843ac46612ee33b6692bbc93.zip
Move starting brace to new line
Diffstat (limited to 'world/map/npc/005-1')
-rw-r--r--world/map/npc/005-1/_mobs.txt3
-rw-r--r--world/map/npc/005-1/npcs.txt6
-rw-r--r--world/map/npc/005-1/spirit.txt9
-rw-r--r--world/map/npc/005-1/tree.txt12
4 files changed, 20 insertions, 10 deletions
diff --git a/world/map/npc/005-1/_mobs.txt b/world/map/npc/005-1/_mobs.txt
index 7e6d30f5..aea62c29 100644
--- a/world/map/npc/005-1/_mobs.txt
+++ b/world/map/npc/005-1/_mobs.txt
@@ -14,7 +14,8 @@
005-1.gat,96,49,103,48|monster|Maggot|1002,20,100000,30000,Mob005-1::On1002
-005-1.gat,0,0,0|script|Mob005-1|-1,{
+005-1.gat,0,0,0|script|Mob005-1|-1,
+{
On1002:
set @mobID, 1002;
callfunc "MobPoints";
diff --git a/world/map/npc/005-1/npcs.txt b/world/map/npc/005-1/npcs.txt
index 2c40697f..499b637e 100644
--- a/world/map/npc/005-1/npcs.txt
+++ b/world/map/npc/005-1/npcs.txt
@@ -2,14 +2,16 @@
005-1.gat,69,76,0|shop|George|115,ShortBow :-1,Arrow :1,IronArrow :-1,Beer :-1,ChickenLeg :-2
-005-1.gat,66,75,0|script|Kieron|132,{
+005-1.gat,66,75,0|script|Kieron|132,
+{
mes "[Kieron]";
mes "\"Be careful if you're going in that cave,";
mes "it's packed full of monsters.\"";
close;
}
-005-1.gat,91,23,0|script|William|131,{
+005-1.gat,91,23,0|script|William|131,
+{
mes "[William]";
mes "\"Going in the cave?";
mes "You better watch your step, last time I checked it was full of monsters!\"";
diff --git a/world/map/npc/005-1/spirit.txt b/world/map/npc/005-1/spirit.txt
index cd75d536..73123842 100644
--- a/world/map/npc/005-1/spirit.txt
+++ b/world/map/npc/005-1/spirit.txt
@@ -1,4 +1,5 @@
-function|script|EarthImpTouch|{
+function|script|EarthImpTouch|
+{
if (getskilllv(SKILL_MAGIC)) goto L_message;
mes "[Well]";
@@ -275,10 +276,12 @@ S_update_var:
return;
}
-005-1.gat,118,70,0|script|#EarthImp0#_M|400,{
+005-1.gat,118,70,0|script|#EarthImp0#_M|400,
+{
callfunc "EarthImpTouch";
}
-005-1.gat,119,70,0|script|#EarthImp1#_M|400,{
+005-1.gat,119,70,0|script|#EarthImp1#_M|400,
+{
callfunc "EarthImpTouch";
}
diff --git a/world/map/npc/005-1/tree.txt b/world/map/npc/005-1/tree.txt
index e42a050f..ed45d9a3 100644
--- a/world/map/npc/005-1/tree.txt
+++ b/world/map/npc/005-1/tree.txt
@@ -1,4 +1,5 @@
-function|script|QuestTreeTrigger|{
+function|script|QuestTreeTrigger|
+{
set @Q_MASK, NIBBLE_2_MASK;
set @Q_SHIFT, NIBBLE_2_SHIFT;
@@ -45,7 +46,8 @@ S_update_var:
return;
}
-function|script|QuestTreeTouch|{
+function|script|QuestTreeTouch|
+{
set @Q_MASK, NIBBLE_2_MASK;
set @Q_SHIFT, NIBBLE_2_SHIFT;
@@ -156,10 +158,12 @@ L_Close:
}
-005-1.gat,79,41,0|script|#DruidTree0#_M|400,{
+005-1.gat,79,41,0|script|#DruidTree0#_M|400,
+{
callfunc "QuestTreeTouch";
}
-005-1.gat,80,41,0|script|#DruidTree1#_M|400,{
+005-1.gat,80,41,0|script|#DruidTree1#_M|400,
+{
callfunc "QuestTreeTouch";
}