Skip to content
Permalink
Browse files
Implemented a flagged items database for item groups and Dead Branch …
…type item checks. Credits to @cydh!
  • Loading branch information
aleos89 committed Apr 22, 2014
1 parent f7c09d9 commit c95be2e8779b32d44c3e9925c719cebd215e9f9f
Showing with 468 additions and 21 deletions.
  1. +3 −1 conf/msg_conf/map_msg.conf
  2. +3 −1 conf/msg_conf/map_msg_idn.conf
  3. +6 −0 db/import-tmpl/item_flag.txt
  4. +53 −0 db/pre-re/item_flag.txt
  5. +368 −0 db/re/item_flag.txt
  6. +24 −0 src/map/itemdb.c
  7. +2 −5 src/map/itemdb.h
  8. +9 −14 src/map/pc.c
@@ -746,7 +746,9 @@
730: Character cannot be disguised while in monster form.
731: Transforming into monster is not allowed in Guild Wars.

//732-899 free
732: Item cannot be openned when your inventory is full.

//733-899 free

//------------------------------------
// More atcommands message
@@ -746,7 +746,9 @@
730: Karakter tidak dapat disguise ketika sedang berwujud monster.
731: Perubahan menjadi monster tidak diizinkan dalam Guild Wars.

//732-899 kosong
732: Item tidak dapat dibuka ketika inventory penuh.

//733-899 kosong

//------------------------------------
// Pesan dalam perintah atcommand
@@ -0,0 +1,6 @@
// Flagged Items
// <ItemID>,<Flag>
//
// <Flag>:
// 1 - As Dead Branch item (will be logged at `branchlog` table and cannot be used at 'nobranch' mapflag)
// 2 - As item group container, check player's inventory and weight before consumed
@@ -0,0 +1,53 @@
// Flagged Items
// <ItemID>,<Flag>
//
// <Flag>:
// 1 - As Dead Branch item (will be logged at `branchlog` table and cannot be used at 'nobranch' mapflag)
// 2 - As item group container, check player's inventory and weight before consumed

// Logged as Dead Branch item
604,1 //Branch_Of_Dead_Tree
12103,1 //Bloody_Dead_Branch
12109,1 //Poring_Box
12024,1 //Red_Pouch_Of_Surprise
12258,1 //Bombring_Box

// Item group container
603,2 //Old_Blue_Box
616,2 //Old_Card_Album
617,2 //Old_Violet_Box
618,2 //Worn_Out_Scroll
644,2 //Gift_Box
664,2 //Gift_Box_1
665,2 //Gift_Box_2
666,2 //Gift_Box_3
667,2 //Gift_Box_4
12023,2 //Giftbox_China
12025,2 //Egg_Boy
12026,2 //Egg_Girl
12038,2 //Lotto_Box04
12104,2 //Random_Quiver
12105,2 //Set_Of_Taiming_Item
12106,2 //Accessory_Box
12107,2 //Wrapped_Mask
12108,2 //Bundle_Of_Magic_Scroll
12110,2 //First_Aid_Kit
12111,2 //Food_Package
12130,2 //Cookie_Bag
12186,2 //Red_Box
12187,2 //Green_Box
12189,2 //Red_Box_
12194,2 //Hometown_Gift
12240,2 //Old_Yellow_Box
12244,2 //Old_Gift_Box
12246,2 //Magic_Card_Album
12248,2 //Masquerade_Ball_Box
12281,2 //Tresure_Box_WoE
12286,2 //Masquerade_Ball_Box2
12334,2 //Cherish_Box
12339,2 //Cherish_Box_Ori
12355,2 //Xmas_Gift
12356,2 //Louise_Costume_Box
12702,2 //Old_Bleu_Box
12714,2 //Easter_Scroll
14596,2 //Pierre_Treasurebox

2 comments on commit c95be2e

@cydh
Copy link
Contributor

@cydh cydh commented on c95be2e Apr 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aleos89 💯
time to resolve conflicts on my fork. haha

@aleos89
Copy link
Contributor Author

@aleos89 aleos89 commented on c95be2e Apr 23, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:) Thanks for the diff to begin with.

Please sign in to comment.