diff options
Diffstat (limited to 'world/map/npc/009-4')
-rw-r--r-- | world/map/npc/009-4/barriers.txt | 4 | ||||
-rw-r--r-- | world/map/npc/009-4/torches.txt | 18 |
2 files changed, 11 insertions, 11 deletions
diff --git a/world/map/npc/009-4/barriers.txt b/world/map/npc/009-4/barriers.txt index eedf2416..939f4ae2 100644 --- a/world/map/npc/009-4/barriers.txt +++ b/world/map/npc/009-4/barriers.txt @@ -1,5 +1,5 @@ //# see detailed description at orum.txt -function|script|GetBarrierColor| +function|script|GetBarrierColor|, { if (@Barrier < 0 || @Barrier > 2) goto L_Error; @@ -13,7 +13,7 @@ L_Error: close; } -function|script|SetBarrierColor| +function|script|SetBarrierColor|, { if (@Barrier < 0 || @Barrier > 2) goto L_Error; diff --git a/world/map/npc/009-4/torches.txt b/world/map/npc/009-4/torches.txt index 8675826b..03acc6b0 100644 --- a/world/map/npc/009-4/torches.txt +++ b/world/map/npc/009-4/torches.txt @@ -1,6 +1,6 @@ //# see detailed description at orum.txt //# see detailed description at orum.txt -function|script|GetTorchColor| +function|script|GetTorchColor|, { if (@Torch < 0 || @Torch > 2) goto L_Error; @@ -14,7 +14,7 @@ L_Error: close; } -function|script|SetTorchColor| +function|script|SetTorchColor|, { if (@Torch < 0 || @Torch > 2) goto L_Error; if (@TorchColor < 1 || @TorchColor > 12) goto L_Error2; @@ -32,7 +32,7 @@ L_Error2: close; } -function|script|GetTorchIntensity| +function|script|GetTorchIntensity|, { if (@Torch < 0 || @Torch > 2) goto L_Error; @@ -46,7 +46,7 @@ L_Error: close; } -function|script|SetTorchIntensity| +function|script|SetTorchIntensity|, { if (@Torch < 0 || @Torch > 2) goto L_Error; if (@TorchIntensity < 0 || @TorchIntensity > 2) goto L_Error2; @@ -64,7 +64,7 @@ L_Error2: close; } -function|script|DoneWithTorches| +function|script|DoneWithTorches|, { if (OrumQuest < 11 && OrumQuest >= 8) return; @@ -85,21 +85,21 @@ L_Different: } // To make sure in range of torches -function|script|InRangeTorch1| +function|script|InRangeTorch1|, { if (isin("009-4.gat",67,20,69,25)) return; mes "You're too far away to do anything with that torch."; close; } -function|script|InRangeTorch2| +function|script|InRangeTorch2|, { if (isin("009-4.gat",65,41,69,46)) return; mes "You're too far away to do anything with that torch."; close; } -function|script|InRangeTorch3| +function|script|InRangeTorch3|, { if (isin("009-4.gat",33,84,37,88)) return; @@ -107,7 +107,7 @@ function|script|InRangeTorch3| close; } -function|script|TorchLoop| +function|script|TorchLoop|, { // Variables used here: // @Torch - pass before calling |