summaryrefslogtreecommitdiff
path: root/npc/xmas
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/xmas
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/xmas')
-rwxr-xr-xnpc/xmas/2010/golbanez.txt6
-rwxr-xr-xnpc/xmas/2010/santa.txt2
2 files changed, 5 insertions, 3 deletions
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;