diff options
author | toni <toni@toni-EP45-UD3L.(none)> | 2010-12-18 20:52:58 -0200 |
---|---|---|
committer | toni <toni@toni-EP45-UD3L.(none)> | 2010-12-18 20:52:58 -0200 |
commit | 982ed75118eef322f92627b3540f188248bccd63 (patch) | |
tree | 84248a78b81855f3339fb5b7192ba658ad68b772 | |
parent | a98312da918620151fd29eb0af73e9bc63b8b785 (diff) | |
download | serverdata-982ed75118eef322f92627b3540f188248bccd63.tar.gz serverdata-982ed75118eef322f92627b3540f188248bccd63.tar.bz2 serverdata-982ed75118eef322f92627b3540f188248bccd63.tar.xz serverdata-982ed75118eef322f92627b3540f188248bccd63.zip |
Add white box and minor changes.
-rw-r--r-- | db/item_db.txt | 1 | ||||
-rwxr-xr-x | npc/xmas/2010/golbanez.txt | 8 |
2 files changed, 6 insertions, 3 deletions
diff --git a/db/item_db.txt b/db/item_db.txt index 7dbe8d4d..a5cf4583 100644 --- a/db/item_db.txt +++ b/db/item_db.txt @@ -536,3 +536,4 @@ 4019, BluePowder, Blue Powder, 3, 3000, 5, 10, , , , , , 0, , , 0, , {}, {} 4020, CandleHelmet, Candle Helmet, 5, 20000, 2000, 450, , 16, , -25, 0, 2, 256, , 0, 0, {}, {bonus bInt, 1; bonus bAgi, -1;} 4021, YellowPresentBox, Yellow Present Box, 3, 20, 10, 10, , , , , , 2, , , 0, , {}, {} +4022, WhitePresentBox, White Present Box, 3, 20, 10, 10, , , , , , 2, , , 0, , {}, {} diff --git a/npc/xmas/2010/golbanez.txt b/npc/xmas/2010/golbanez.txt index 740a028b..f18c916e 100755 --- a/npc/xmas/2010/golbanez.txt +++ b/npc/xmas/2010/golbanez.txt @@ -12,6 +12,8 @@ //# //################################################################################# +// Please, remove the debug script bofore releasing the quest. + 031-3.gat,215,294,0 script Debug 204,{ mes "What you want to do?"; @@ -131,7 +133,7 @@ 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], "3194", "3195"; + setarray @menuitem[2], "4021", "4022"; setarray @menuvalue[2], 50000, 100000; mes "\"How many presents do you want to give?\""; @@ -139,8 +141,8 @@ L_Menu: input @count; if (countitem(@menuitem[@menu]) < @count ) goto Glb_noitems; - if (@menuitem[@menu] == 3194) goto L_Check_Yellow; - if (@menuitem[@menu] == 3195) goto L_Check_White; + if (@menuitem[@menu] == 4021) goto L_Check_Yellow; + if (@menuitem[@menu] == 4022) goto L_Check_White; L_Check_Yellow: if (Count_Yellow >= 40) goto L_Done_Yellow; |