summaryrefslogtreecommitdiff
path: root/world/map/npc/annuals/xmas/reagents.txt
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-04-02 11:06:32 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-04-02 22:21:29 -0700
commitc0ba38cd4b68491e28e467889804ebc09c9c002e (patch)
treeaf2890e6fe20990d2a9b7c94b991be58f25a5d52 /world/map/npc/annuals/xmas/reagents.txt
parent514a2f05cb335c1e9210fea58bc9a9a58478283f (diff)
downloadserverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.gz
serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.bz2
serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.tar.xz
serverdata-c0ba38cd4b68491e28e467889804ebc09c9c002e.zip
Clean up main scripts
Diffstat (limited to 'world/map/npc/annuals/xmas/reagents.txt')
-rw-r--r--world/map/npc/annuals/xmas/reagents.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/world/map/npc/annuals/xmas/reagents.txt b/world/map/npc/annuals/xmas/reagents.txt
index a1dd8d6f..0b4eaa8b 100644
--- a/world/map/npc/annuals/xmas/reagents.txt
+++ b/world/map/npc/annuals/xmas/reagents.txt
@@ -51,6 +51,7 @@ function|script|DeleteReagents|,
L_ZeroLoop:
delitem $@xmas_zero_reagents$[@xmas_reagent_loop], $@xmas_zero_reagents_amounts[@xmas_reagent_loop];
+ goto L_ZeroLoopAgain;
L_ZeroLoopAgain:
if((@xmas_reagent_loop + 1) == getarraysize($@xmas_zero_reagents$))
@@ -60,6 +61,7 @@ L_ZeroLoopAgain:
L_OneLoop:
delitem $@xmas_one_reagents$[@xmas_reagent_loop], $@xmas_one_reagents_amounts[@xmas_reagent_loop];
+ goto L_OneLoopAgain;
L_OneLoopAgain:
if((@xmas_reagent_loop + 1) == getarraysize($@xmas_one_reagents$))
@@ -84,6 +86,7 @@ function|script|ListReagents|,
L_ZeroLoop:
mes "\"" + $@xmas_zero_reagents_amounts[@xmas_reagent_loop] + " " + $@xmas_zero_reagents_names$[@xmas_reagent_loop] + "\"";
next;
+ goto L_ZeroLoopAgain;
L_ZeroLoopAgain:
if((@xmas_reagent_loop + 1) == getarraysize($@xmas_zero_reagents$))
@@ -94,6 +97,7 @@ L_ZeroLoopAgain:
L_OneLoop:
mes "\"" + $@xmas_one_reagents_amounts[@xmas_reagent_loop] + " " + $@xmas_one_reagents_names$[@xmas_reagent_loop] + "\"";
next;
+ goto L_OneLoopAgain;
L_OneLoopAgain:
if((@xmas_reagent_loop + 1) == getarraysize($@xmas_one_reagents$))