summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-04-17 14:35:46 -0700
committerJessica Tölke <jtoelke@mail.upb.de>2011-04-18 08:43:47 +0200
commite25c0cbeef68863c0cbca8af9e605651a1eda1ba (patch)
tree22b86d499067a9f719b67386838c4b8e7f535be7 /npc
parenta89672c74b22cde85e1f24261a4125a0c6eb3409 (diff)
downloadserverdata-e25c0cbeef68863c0cbca8af9e605651a1eda1ba.tar.gz
serverdata-e25c0cbeef68863c0cbca8af9e605651a1eda1ba.tar.bz2
serverdata-e25c0cbeef68863c0cbca8af9e605651a1eda1ba.tar.xz
serverdata-e25c0cbeef68863c0cbca8af9e605651a1eda1ba.zip
Remove deprecated setarray-with-index syntax
Diffstat (limited to 'npc')
-rw-r--r--npc/031-4_Cave/cindyCave.txt2
-rwxr-xr-xnpc/xmas/2010/golbanez.txt6
-rwxr-xr-xnpc/xmas/2010/santa.txt2
3 files changed, 6 insertions, 4 deletions
diff --git a/npc/031-4_Cave/cindyCave.txt b/npc/031-4_Cave/cindyCave.txt
index e6b8702d..223aa80b 100644
--- a/npc/031-4_Cave/cindyCave.txt
+++ b/npc/031-4_Cave/cindyCave.txt
@@ -94,7 +94,7 @@ L_Reward:
L_Wizard_Hat:
// get a wizard hat in one of the ten colors - no white
- setarray @wizardhats[0], 2200, 2201, 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209;
+ setarray @wizardhats, 2200, 2201, 2202, 2203, 2204, 2205, 2206, 2207, 2208, 2209;
getitem @wizardhats[@reward], 1;
set @rescue_Cindy, 3;
callsub S_Update_Mask;
diff --git a/npc/xmas/2010/golbanez.txt b/npc/xmas/2010/golbanez.txt
index 0b145ca9..f5a0e01b 100755
--- a/npc/xmas/2010/golbanez.txt
+++ b/npc/xmas/2010/golbanez.txt
@@ -133,8 +133,10 @@ L_Menu:
"Nevermind.", Glb_nvm;
// in this array the items should be filled in. Remember to change the ID when the boxes are added to item_db.
- setarray @menuitem[2], "4021", "4022";
- setarray @menuvalue[2], 50000, 100000;
+ set @menuitem[2], 4021;
+ set @menuitem[3], 4022;
+ set @menuvalue[2], 50000;
+ set @menuvalue[3], 100000;
mes "\"How many presents do you want to give?\"";
diff --git a/npc/xmas/2010/santa.txt b/npc/xmas/2010/santa.txt
index 3ef9257d..bd82a251 100755
--- a/npc/xmas/2010/santa.txt
+++ b/npc/xmas/2010/santa.txt
@@ -45,7 +45,7 @@ L_Skip_Dialogue:
L_Calculate_Prizes:
getinventorylist;
if (@inventorylist_count == 100) goto L_full;
- setarray @prizes[0], 1216, 629, 630, 634, 1214, 633, 628, 627, 621;
+ setarray @prizes, 1216, 629, 630, 634, 1214, 633, 628, 627, 621;
mes "\"You are so generous! I believe I can give you one of the hats from this bag. I know you like these silly hats. Yes, Santa knows this kind of thing... Ho-Ho-Ho! Put your hand here and pick one hat... No, you cant look, it MUST be a surprise...\"";
getitem @prizes[rand(8)], 1;
set Xmas2010, 2;