diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2013-07-05 12:25:49 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-07-05 12:30:10 -0700 |
commit | 89e2ac5687d698f0843ac46612ee33b6692bbc93 (patch) | |
tree | 8ea32e1691381e9d4db72b54c4ebed0ce809c3d2 /world/map/npc/051-3 | |
parent | 27ad0933834fb488c6deac76d660cda338bb5da8 (diff) | |
download | serverdata-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/051-3')
-rw-r--r-- | world/map/npc/051-3/_mobs.txt | 3 | ||||
-rw-r--r-- | world/map/npc/051-3/ambush.txt | 18 | ||||
-rw-r--r-- | world/map/npc/051-3/jailslimes.txt | 4 | ||||
-rw-r--r-- | world/map/npc/051-3/janitor.txt | 3 | ||||
-rw-r--r-- | world/map/npc/051-3/locks.txt | 16 | ||||
-rw-r--r-- | world/map/npc/051-3/reinforcements.txt | 8 |
6 files changed, 30 insertions, 22 deletions
diff --git a/world/map/npc/051-3/_mobs.txt b/world/map/npc/051-3/_mobs.txt index 867b98f4..bf214d2f 100644 --- a/world/map/npc/051-3/_mobs.txt +++ b/world/map/npc/051-3/_mobs.txt @@ -19,7 +19,8 @@ 051-3.gat,60,94,18,5|monster|CopperSlime|1098,7,100000,60000,Mob051-3::On1098 -051-3.gat,0,0,0|script|Mob051-3|-1,{ +051-3.gat,0,0,0|script|Mob051-3|-1, +{ On1008: set @mobID, 1008; callfunc "MobPoints"; diff --git a/world/map/npc/051-3/ambush.txt b/world/map/npc/051-3/ambush.txt index 74e1ced7..5d31eff5 100644 --- a/world/map/npc/051-3/ambush.txt +++ b/world/map/npc/051-3/ambush.txt @@ -10,12 +10,14 @@ // 4: Key of the door found, to leave the cave //----------------------------------------------------------------------------- -051-3.gat,40,52,0|script|#WayBlockedTrigger|32767,2,2,{ +051-3.gat,40,52,0|script|#WayBlockedTrigger|32767,2,2, +{ message strcharinfo(0), "There is no way I can pass here. Let's find another way."; end; } -051-3.gat,31,70,0|script|#AmbushReadyTrigger|32767,2,2,{ +051-3.gat,31,70,0|script|#AmbushReadyTrigger|32767,2,2, +{ set @step, 2; if ($@illia_progress < @step) goto L_ShouldNotBeHere; if (strcharinfo(0) == $@ILLIA_HERO$ && $@illia_level_2_progress == 0) goto L_PrepareAmbush; @@ -32,7 +34,8 @@ L_ShouldNotBeHere: } -051-3.gat,31,93,0|script|#BanditAmbushTrigger|32767,3,3,{ +051-3.gat,31,93,0|script|#BanditAmbushTrigger|32767,3,3, +{ set @step, 2; if ($@illia_progress < @step) goto L_ShouldNotBeHere; if ($@illia_level_2_progress == 0 && strcharinfo(0) == $@ILLIA_HERO$) goto L_MakeAmbush; @@ -49,7 +52,8 @@ L_ShouldNotBeHere: end; } -051-3.gat,1,1,0|script|#BndtTl|127,{ +051-3.gat,1,1,0|script|#BndtTl|127, +{ end; OnCommandAmbush: @@ -137,7 +141,8 @@ L_CaptureHelper3: } -051-3.gat,29,94,0|script|Sneaky Bandit|127,{ +051-3.gat,29,94,0|script|Sneaky Bandit|127, +{ end; OnCommandTalk: @@ -156,7 +161,8 @@ OnTimer3600: } -051-3.gat,33,95,0|script|Another Sneaky Bandit|127,{ +051-3.gat,33,95,0|script|Another Sneaky Bandit|127, +{ end; OnCommandTalk: diff --git a/world/map/npc/051-3/jailslimes.txt b/world/map/npc/051-3/jailslimes.txt index a008a8fd..453704ad 100644 --- a/world/map/npc/051-3/jailslimes.txt +++ b/world/map/npc/051-3/jailslimes.txt @@ -4,8 +4,8 @@ 051-3.gat,63,104,1,1|monster|Copper Slime|1098,1,60000,30000,IlliaCMobs051-3::On1098 051-3.gat,70,111,1,1|monster|Copper Slime|1098,1,60000,30000,IlliaCMobs051-3::On1098 -051-3.gat,0,0,0|script|IlliaCMobs051-3|-1,{ - +051-3.gat,0,0,0|script|IlliaCMobs051-3|-1, +{ On1098: if (rand(100) < 80 && $@illia_progress == 2 && ($@illia_level_2_progress == 1 || $@illia_level_2_progress == 2)) goto L_LockPicks; diff --git a/world/map/npc/051-3/janitor.txt b/world/map/npc/051-3/janitor.txt index 5dfb1c30..32a9f22c 100644 --- a/world/map/npc/051-3/janitor.txt +++ b/world/map/npc/051-3/janitor.txt @@ -1,5 +1,6 @@ // Bandit cave janitor -051-3.gat,1,1,0|script|#IlliaJanitor2|127,{ +051-3.gat,1,1,0|script|#IlliaJanitor2|127, +{ end; OnCommandClean: diff --git a/world/map/npc/051-3/locks.txt b/world/map/npc/051-3/locks.txt index 1d89bbf8..e04740af 100644 --- a/world/map/npc/051-3/locks.txt +++ b/world/map/npc/051-3/locks.txt @@ -1,5 +1,5 @@ -051-3.gat,69,107,0|script|Jail Lock 1|400,{ - +051-3.gat,69,107,0|script|Jail Lock 1|400, +{ if (isin("051-3.gat", 69, 108, 73, 111)) goto L_Do_Lock_Picking; end; @@ -17,8 +17,8 @@ L_OpenDoor: close; } -051-3.gat,64,100,0|script|Jail Lock 2|400,{ - +051-3.gat,64,100,0|script|Jail Lock 2|400, +{ if (isin("051-3.gat", 64, 101, 66, 104)) goto L_Do_Lock_Picking; end; @@ -34,8 +34,8 @@ L_OpenDoor: close; } -051-3.gat,62,100,0|script|Jail Lock 3|400,{ - +051-3.gat,62,100,0|script|Jail Lock 3|400, +{ if (isin("051-3.gat", 61, 101, 62, 104)) goto L_Do_Lock_Picking; end; @@ -51,8 +51,8 @@ L_OpenDoor: close; } -051-3.gat,58,100,0|script|Jail Lock 4|400,{ - +051-3.gat,58,100,0|script|Jail Lock 4|400, +{ if (isin("051-3.gat", 57, 101, 58, 104)) goto L_Do_Lock_Picking; end; diff --git a/world/map/npc/051-3/reinforcements.txt b/world/map/npc/051-3/reinforcements.txt index b29a072d..62e78bf6 100644 --- a/world/map/npc/051-3/reinforcements.txt +++ b/world/map/npc/051-3/reinforcements.txt @@ -1,5 +1,5 @@ -051-3.gat,47,30,0|script|#BndtRnfrcmtsTrigger|32767,2,3,{ - +051-3.gat,47,30,0|script|#BndtRnfrcmtsTrigger|32767,2,3, +{ set @step, 2; if ($@illia_progress < @step) goto L_ShouldNotBeHere; if ($@illia_level_2_progress == 2) goto L_CallReinforcements; @@ -14,8 +14,8 @@ L_ShouldNotBeHere: end; } -051-3.gat,37,24,0|script|Door|400,{ - +051-3.gat,37,24,0|script|Door|400, +{ set @step, 2; if ($@illia_progress < @step) goto L_ShouldNotBeHere; mes "Try open the door?"; |