Skip to content
Permalink
Browse files
DB Import2
Add db/import-tmpl/ and add all file that could currently be
overwritten, (please add note if a db is missing)

db/import folder is created by "make import" just like conf/import and
msg_conff/import, (didn't found the visual equivalent)
  • Loading branch information
lighta committed Jan 2, 2014
1 parent dd24149 commit ff29c234ccf945ff7f078f2be176a12e9a1a0656
Showing with 2,459 additions and 97 deletions.
  1. +3 −0 .gitignore
  2. +5 −2 Makefile.in
  3. +14 −0 db/import-tmpl/abra_db.txt
  4. +6 −0 db/import-tmpl/attr_fix.txt
  5. +11 −0 db/import-tmpl/castle_db.txt
  6. +12 −0 db/import-tmpl/create_arrow_db.txt
  7. +9 −0 db/import-tmpl/elemental_db.txt
  8. +7 −0 db/import-tmpl/elemental_skill_db.txt
  9. +2 −0 db/import-tmpl/exp_guild.txt
  10. +1 −0 db/import-tmpl/exp_homun.txt
  11. +13 −0 db/import-tmpl/guild_skill_tree.txt
  12. +15 −0 db/import-tmpl/homun_skill_tree.txt
  13. +20 −0 db/import-tmpl/homunculus_db.txt
  14. +5 −0 db/import-tmpl/instance_db.txt
  15. +11 −0 db/import-tmpl/item_avail.txt
  16. +10 −0 db/import-tmpl/item_buyingstore.txt
  17. +18 −0 db/import-tmpl/item_cash_db.txt
  18. +5 −0 db/import-tmpl/item_combo_db.txt
  19. +63 −0 db/import-tmpl/item_db.txt
  20. +8 −0 db/import-tmpl/item_delay.txt
  21. +2 −0 db/import-tmpl/item_group_db.txt
  22. +27 −0 db/import-tmpl/item_noequip.txt
  23. +137 −0 db/import-tmpl/item_nouse.txt
  24. +18 −0 db/import-tmpl/item_stack.txt
  25. +22 −0 db/import-tmpl/item_trade.txt
  26. +14 −0 db/import-tmpl/job_basehpsp_db.txt
  27. +5 −0 db/import-tmpl/job_db1.txt
  28. +14 −0 db/import-tmpl/job_db2.txt
  29. +9 −0 db/import-tmpl/job_exp.txt
  30. +15 −0 db/import-tmpl/job_param_db.txt
  31. +13 −0 db/import-tmpl/level_penalty.txt
  32. +29 −0 db/import-tmpl/magicmushroom_db.txt
  33. +987 −0 db/import-tmpl/map_index.txt
  34. +5 −0 db/import-tmpl/mercenary_db.txt
  35. +4 −0 db/import-tmpl/mercenary_skill_db.txt
  36. +16 −0 db/import-tmpl/mob_avail.txt
  37. +5 −0 db/import-tmpl/mob_boss.txt
  38. +5 −0 db/import-tmpl/mob_branch.txt
  39. +46 −0 db/import-tmpl/mob_chat_db.txt
  40. +5 −0 db/import-tmpl/mob_classchange.txt
  41. +47 −0 db/import-tmpl/mob_db.txt
  42. +30 −0 db/import-tmpl/mob_item_ratio.txt
  43. +5 −0 db/import-tmpl/mob_poring.txt
  44. +4 −0 db/import-tmpl/mob_pouch.txt
  45. +6 −0 db/import-tmpl/mob_race2_db.txt
  46. +137 −0 db/import-tmpl/mob_skill_db.txt
  47. +35 −0 db/import-tmpl/packet_db.txt
  48. +60 −0 db/import-tmpl/pet_db.txt
  49. +9 −0 db/import-tmpl/produce_db.txt
  50. +5 −0 db/import-tmpl/quest_db.txt
  51. +32 −0 db/import-tmpl/refine_db.txt
  52. +7 −0 db/import-tmpl/size_fix.txt
  53. +17 −0 db/import-tmpl/skill_cast_db.txt
  54. +16 −0 db/import-tmpl/skill_castnodex_db.txt
  55. +8 −0 db/import-tmpl/skill_changematerial_db.txt
  56. +51 −0 db/import-tmpl/skill_copyable_db.txt
  57. +36 −0 db/import-tmpl/skill_damage_db.txt
  58. +66 −0 db/import-tmpl/skill_db.txt
  59. +5 −0 db/import-tmpl/skill_improvise_db.txt
  60. +24 −0 db/import-tmpl/skill_nocast_db.txt
  61. +28 −0 db/import-tmpl/skill_nonearnpc_db.txt
  62. +33 −0 db/import-tmpl/skill_require_db.txt
  63. +1 −0 db/import-tmpl/skill_tree.txt
  64. +29 −0 db/import-tmpl/skill_unit_db.txt
  65. +7 −0 db/import-tmpl/spellbook_db.txt
  66. +1 −0 db/import-tmpl/statpoint.txt
  67. +5 −0 db/import/item_combo_db.txt
  68. +5 −0 db/import/mob_boss.txt
  69. +5 −0 db/import/mob_branch.txt
  70. +5 −0 db/import/mob_classchange.txt
  71. +5 −0 db/import/mob_poring.txt
  72. +4 −0 db/import/mob_pouch.txt
  73. +1 −1 db/packet_db.txt
  74. +5 −1 src/char/int_guild.c
  75. +18 −4 src/map/guild.c
  76. +13 −24 src/map/homunculus.c
  77. +10 −10 src/map/itemdb.c
  78. +10 −2 src/map/mercenary.c
  79. +1 −1 src/map/mob.c
  80. +1 −1 src/map/pc.c
  81. +3 −5 src/map/pet.c
  82. +53 −46 src/map/quest.c
@@ -40,6 +40,9 @@
/3rdparty/mt19937ar/Makefile
/3rdparty/mt19937ar/*.o

# /db/
/db/import

# /conf/
/conf/import
/conf/msg_conf/import
@@ -64,13 +64,16 @@ import:
# 1) create conf/import folder
# 2) add missing files
# 3) remove remaining .svn folder
@echo "building conf/import and conf/msg_conf/import folder..."
@echo "building conf/import, conf/msg_conf/import and db/import folder..."
@if test ! -d conf/import ; then mkdir conf/import ; fi
@for f in $$(ls conf/import-tmpl) ; do if test ! -e conf/import/$$f ; then cp conf/import-tmpl/$$f conf/import ; fi ; done
@rm -rf conf/import/.svn
@if test ! -d conf/msg_conf/import ; then mkdir conf/msg_conf/import ; fi
@for f in $$(ls conf/msg_conf/import-tmpl) ; do if test ! -e conf/msg_conf/import/$$f ; then cp conf/msg_conf/import-tmpl/$$f conf/msg_conf/import ; fi ; done
@rm -rf conf/msg_conf/import/.svn
@if test ! -d db/import ; then mkdir db/import ; fi
@for f in $$(ls db/import-tmpl) ; do if test ! -e db/import/$$f ; then cp db/import-tmpl/$$f db/import ; fi ; done
@rm -rf db/import/.svn

clean:
@$(MAKE) -C src/common $@
@@ -92,7 +95,7 @@ help:
@echo "'char' - builds char server"
@echo "'map' - builds map server"
@echo "'tools' - builds all the tools in src/tools"
@echo "'import' - builds conf/import folder from the template conf/import-tmpl"
@echo "'import' - builds conf/import, conf/msg_conf/import and db/import folders from their template folders (x-tmpl)"
@echo "'all' - builds all the above targets"
@echo "'sql' - builds servers (targets 'common_sql' 'login' 'char' 'map' and 'import')"
@echo "'test' - builds tests"
@@ -0,0 +1,14 @@
// Hocus-Pocus (Abracadabra) Castable Skills Database
//
// Structure of Database:
// SkillID,DummyName,RatePerLvl
//
// 01. SkillID Skill ID to be casted by hocus pocus.
// 02. DummyName Name of the skill (informative, not used by server).
// 03. RatePerLvl Chance at which the skill is selected (1 = 0.01%, 10000 = 100%).
//
// NOTE: The skill is picked at random from the entire database and then tested for rate. If it
// does not succeed at that rate, another skill is picked and tested. This continues
// until a skill succeeds. Abracadabra-specific skills have a different chance to occur
// depending on skill level used. All other skills have an equal chance and appear from
// level 1 onward.
@@ -0,0 +1,6 @@
// Elemental Attribute Damage Adjustment Tables
//
// Structure of Database:
// Columns - attacker's weapon element
// Rows - target's defense element

@@ -0,0 +1,11 @@
// Guild Castles Database
//
// Structure of Database:
// CastleID,MapName,CastleName,OnGuildBreakEventName,Flag
//
// 01. CastleID Unique ID of the castle. Must remain unique across all map-servers.
// 02. MapName Map name to be considered as the castle map.
// 03. CastleName Name of the castle (used by scripts and guardian name tags).
// 04. OnGuildBreakEventName NPC unique name to invoke ::OnGuildBreak on, when a occupied
// castle is abandoned during guild break.
// 05. Flag Switch flag (reserved as of athena-dev mod0796~0801, not used by server).
@@ -0,0 +1,12 @@
// Arrow Crafting Database
//
// Structure of Database:
// SourceID,MakeID1,MakeAmount1,...,MakeID5,MakeAmount5
//
// 01. SourceID ID of the item, that is consumed by Arrow Crafting.
// 02. MakeID ID of the item received from Arrow Crafting.
// 03. MakeAmount Amount of MakeID item received from Arrow Crafting.
// ...
//
// NOTE: Up to MAX_ARROW_RESOURCE (typically 5) ID/Amount pairs can be specified.

@@ -0,0 +1,9 @@
// Elemental Summons Database
//
// Structure of Database:
// ID,Sprite_Name,Name,LV,HP,SP,Range1,ATK1,ATK2,DEF,MDEF,STR,AGI,VIT,INT,DEX,LUK,Range2,Range3,Scale,Race,Element,Speed,aDelay,aMotion,dMotion
//
// Notes:
// Summoned Elemental�s STATs are affected by the Caster�s Base Level and STATs.
// In other words, all values specified will be added to (and will not override) the calculated STATs of the summoned elemental.

@@ -0,0 +1,7 @@
// Elemental Summons Skill Database
//
// Structure of Database:
// ElementalID,SkillID,SkillLevel,ReqMode
//
// Spirit Modes:
// 1 = Passive, 2 = Defensive, 4 = Aggressive
@@ -0,0 +1,2 @@
// Guild Experience Tables

@@ -0,0 +1 @@
// Homunculus Experience Tables
@@ -0,0 +1,13 @@
// Guild Skill Tree Database
//
// Structure of Database:
// SkillID,MaxLv,Prerequisite SkillID1,Prerequisite SkillLv1,PrereqSkillID2,PrereqSkillLv2,PrereqSkillID3,PrereqSkillLv3,PrereqSkillID4,PrereqSkillLv4,PrereqSkillID5,PrereqSkillLv5 //GUILD SKILLNAME#Skill Name#
//
// 01. SkillID Skill ID of the guild skill.
// 02. MaxLv Maximum level of the guild skill.
// 03. Prerequisite SkillID Guild skill required for the skill to become available.
// 04. Prerequisite SkillLv Level of the required guild skill.
// ...
//
// NOTE: MAX_GUILD_SKILL_REQUIRE (typically 5) ID/Lv pairs must be specified.

@@ -0,0 +1,15 @@
// Homunculus Skill Tree Database
//
// Structure of Database:
// Class,SkillID,MaxLv[,JobLevel],Prerequisite SkillID1,Prerequisite SkillLv1,PrereqSkillID2,PrereqSkillLv2,PrereqSkillID3,PrereqSkillLv3,PrereqSkillID4,PrereqSkillLv4,PrereqSkillID5,PrereqSkillLv5,IntimacyLvReq //SKILLNAME#Skill Name#
//
// 01. Class Homunculus ID.
// 02. SkillID Skill ID of the homunuculus skill.
// 03. MaxLv Maximum level of the homunuculus skill.
// 04. JobLevel Job level required for the skill to become available (optional, reserved, not used by server).
// 05. Prerequisite SkillID Homunculus skill required for the skill to become available.
// 06. Prerequisite SkillLv Level of the required homunculus skill.
// ...
// 15. IntimacyLvReq Minimum level of intimacy to unlock skill.
//
// NOTE: MAX_PC_SKILL_REQUIRE (typically 5) ID/Lv pairs must be specified.
@@ -0,0 +1,20 @@
// Homunculus Database
//
// Structure of Database:
// Class,EvoClass,Name,FoodID,HungryDelay,BaseSize,EvoSize,Race,Element,bASPD,bHP,bSP,bSTR,bAGI,bVIT,bINT,bDEX,bLUK,gnHP,gxHP,gnSP,gxSP,gnSTR,gxSTR,gnAGI,gxAGI,gnVIT,gxVIT,gnINT,gxINT,gnDEX,gxDEX,gnLUK,gxLUK,enHP,exHP,enSP,exSP,enSTR,exSTR,enAGI,exAGI,enVIT,exVIT,enINT,exINT,enDEX,exDEX,enLUK,exLUK
//
// 01. Class Homunculus ID.
// 02. EvoClass Homunculus ID of the evolved version.
// 03. Name Name of the homunculus.
// 04. FoodID Item ID of the homunuclus food.
// 05. HungryDelay Time interval in milliseconds after which the homunculus' hunger value is altered.
// 06. BaseSize Size of the base homunculus class (0 = small, 1 = normal, 2 = large).
// 07. EvoSize Size of the evolved homunculus class (0 = small, 1 = normal, 2 = large).
// 08. Race Race of the homunculus (0 = formless, 1 = undead, 2 = brute, 3 = plant, 4 = insect, 5 = fish, 6 = demon, 7 = demi-human, 8 = angel, 9 = dragon).
// 09. Element Element of the homunculus (0 = neutral, 1 = water, 2 = earth, 3 = fire, 4 = wind, 5 = poison, 6 = holy, 7 = dark, 8 = ghost, 9 = undead).
// The element level is always 1.
// ...
//
// Legend: b: base, gn: growth min, gx: growth max, en: evolution min, ex: evolution max
// NOTE: Only the growth values are in a 1/10 scale, the other stats are 1/1 (eg: 5 gmAGI means 0.5 agi)

@@ -0,0 +1,5 @@
// Instance Database
//
// Structure of Database:
// ID,Name,LimitTime,EnterMap,EnterX,EnterY,Map1,Map2,Map3,Map4,Map5,Map6,Map7,Map8

@@ -0,0 +1,11 @@
// Item Availability and Alias Database
//
// Structure of Database:
// ItemID,SpriteID
//
// 01. ItemID Item ID to change.
// 02. SpriteID Item ID which will be sent to the client instead of ItemID.
// If 0, the item becomes unavailable for use. If item_check is enabled and a player owns such an item, it will be removed upon next login/teleport.
//
// NOTE: Replaces an item client-side while keeping them separate server-side.
// Think of it as a way to disguise items.
@@ -0,0 +1,10 @@
// Buying Store Item List
// List of items that can be sold to buying stores.
//
// Structure of Database:
// ItemID
//
// Note:
// Items are in same order as data\buyingstoreitemlist.txt, which
// must be edited as well for the client to accept added items.

@@ -0,0 +1,18 @@
// Cash Shop Database
// Contains the items sold in the ingame cash shop.
//
// Structure of Database:
// Type,ItemID,Price
//
// Type:
// 0: New
// 1: Hot
// 2: Limited
// 3: Rental
// 4: Gear
// 5: Buff
// 6: Heal
// 7: Other
//
// Price:
// Item cost, in cash points (#CASHPOINTS).
@@ -0,0 +1,5 @@
// Item Combos Database
//
// Structure of Database:
// ID:ID:ID:ID,{ Script }

@@ -0,0 +1,63 @@
// Items Additional Database
//
// Structure of Database:
// ID,Name,Name,Type,Price,Sell,Weight,ATK,DEF,Range,Slot,Job,Class,Gender,Loc,wLV,eLV,Refineable,View,{ Script },{ OnEquip_Script },{ OnUnequip_Script }
//
// THQ Quest Items
//=============================================================
//7950,THG_Membership,THG Membership,3,,10,10,,,,,,,,,,,,,{},{},{}
//7951,Token_Bag,Token Bag,3,,10,10,,,,,,,,,,,,,{},{},{}
//1998,Jeramiah's_Jur,Jeramiah's Jur,3,,10,10,,,,,,,,,,,,,{},{},{}
//1999,Zed's_Staff,Zed's Staff,3,,10,10,,,,,,,,,,,,,{},{},{}

// Official Event Items that had their Effects removed after the event was completed
//585,Wurst,Brusti,11,2,,40,,,,,0xFFFFFFFF,7,2,,,,,,{ itemheal rand(15,20),0; itemskill "PR_MAGNIFICAT",3; },{},{}
//679,Gold_Pill,Pilule,0,5000,,300,,,,,0xFFFFFFFF,7,2,,,,,,{ percentheal 50,50; },{},{}

//2681,Republic_Ring,Republic Anniversary Ring,4,20,,100,,0,,0,0xFFFFFFFF,7,2,136,,0,0,0,{ bonus bAllStats,3; },{},{}

//5134,Pumpkin_Hat,Pumpkin-Head,4,20,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,206,{ bonus2 bSubRace,RC_Demon,5; },{},{}
//5136,Santa's_Hat_,Louise's Santa Hat,4,20,,100,,3,,0,0xFFFFFFFF,7,2,256,,0,1,20,{ bonus bMdef,1; bonus bLuk,1; bonus3 bAutoSpellWhenHit,"AL_HEAL",3,50; bonus3 bAutoSpellWhenHit,"AL_BLESSING",10,50; },{},{}
//5145,Carnival_Joker_Jester,Carnival Jester,4,10,,100,,0,,0,0xFFFFFFFF,7,2,256,,0,1,89,{ bonus bAllStats,3; },{},{}
//5147,Baseball_Cap,Baseball Cap,4,0,,200,,3,,0,0xFFFFFFFF,7,2,256,,0,1,216,{ bonus2 bExpAddRace,RC_Boss,50; bonus2 bExpAddRace,RC_NonBoss,50; },{},{}
//5201,Party_Hat_B,2nd Anniversary Party Hat,4,20,,300,,3,,0,0xFFFFFFFF,7,2,256,,0,1,144,{ bonus bAllStats,3; },{},{}
//5202,Pumpkin_Hat_,Pumpkin Hat,4,20,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,206,{ bonus bAllStats,2; bonus2 bSubRace,RC_Demon,5; bonus3 bAddMonsterDropItem,529,RC_DemiHuman,1500; },{},{}
//5204,Event_Pierrot_Nose,Rudolf's Red Nose,4,20,,100,,0,,0,0xFFFFFFFF,7,2,1,,0,0,49,{ bonus2 bResEff,Eff_Blind,3000; bonus2 bAddMonsterDropItem,12130,30; },{},{}
//5264,Aussie_Flag_Hat,Australian Flag Hat,4,20,,500,,4,,0,0xFFFFFFFF,7,2,256,,0,1,304,{ bonus bAllStats,2; },{},{}
//5356,Pumpkin_Hat_H,Pumpkin Hat,4,20,,200,,2,,0,0xFFFFFFFF,7,2,256,,0,1,206,{ bonus bAllStats,2; bonus2 bSubRace,RC_Demon,5; bonus2 bMagicAddRace,RC_Demon,5; },{},{}
//5811,Santa_Beard,Santa Beard,4,20,,100,,5,,0,0xFFFFFFFF,7,2,1,,0,0,25,{ bonus2 bSubRace,RC_Brute,5; },{},{}

//11702,Moon_Cookie,Moon Cookie,11,0,,10,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_end SC_Poison; sc_end SC_Silence; sc_end SC_Blind; sc_end SC_Confusion; sc_end SC_Curse; sc_end SC_Hallucination; itemskill "AL_BLESSING",7; },{},{}
//12131,Lucky_Potion,Lucky Potion,0,2,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ sc_start SC_LUKFood,180000,15; },{},{}
//12143,Red_Can,Red Can,2,50000,,300,,,,,0xFFFFFFFF,7,2,,,,,,{ percentheal 25,25; },{},{}
//Event effect: Summon monster? Probably Rice_Cake. x_x
//12199,Rice_Scroll,Rice Scroll,2,0,,0,,,,,0xFFFFFFFF,7,2,,,,,,{},{},{}
//12200,Event_Cake,Event Cake,2,20,,50,,,,,0xFFFFFFFF,7,2,,,,,,{ itemskill "PR_MAGNIFICAT",3; },{},{}
//12238,New_Year_Rice_Cake_1,New Year Rice Cake,0,20,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ percentheal 20,15; sc_start SC_STRFood,1200000,3; sc_start SC_INTFood,1200000,3; sc_start SC_LUKFood,1200000,3; sc_start SC_SpeedUp1,5000,0; },{},{}
//12239,New_Year_Rice_Cake_2,New Year Rice Cake,0,20,,100,,,,,0xFFFFFFFF,7,2,,,,,,{ percentheal 20,15; sc_start SC_DEXFood,1200000,3; sc_start SC_AGIFood,1200000,3; sc_start SC_VITFood,1200000,3; sc_start SC_SpeedUp1,5000,0; },{},{}

// iRO St. Patrick's Day Event 2008
//=============================================================
//12715,Black_Treasure_Chest,Black Treasure Chest,2,0,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "F_08stpattyseventbox"; },{},{}

// iRO Valentine's Day Event 2009
//=============================================================
//12742,Valentine_Gift_Box_M,Valentine Gift Box,2,10,,0,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 7946,1; },{},{}
//12743,Valentine_Gift_Box_F,Valentine Gift Box,2,10,,0,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 7947,1; },{},{}
//12744,Chocolate_Box,Chocolate Box,2,10,,0,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 558,1; },{},{}
//14466,Valentine's_Emblem_Box,Valentine's Emblem Box,2,10,,0,,,,,0xFFFFFFFF,7,2,,,,,,{ getitem 5817,1; },{},{}
//7946,Gold_Ring_Of_Valentine,Gold Ring Of Valentine,3,10,,0,,,,,,,,,,,,,{},{},{}
//7947,Silver_Ring_Of_Valentine,Silver Ring Of Valentine,3,10,,0,,,,,,,,,,,,,{},{},{}
//7948,Box,Box,3,10,,10,,,,,,,,,,,,,{},{},{}
//5817,Valentine's_Emblem,Valentine's Emblem,4,10,,0,,3,,0,0xFFFFFFFF,7,2,136,,0,0,0,{ bonus bAtkRate,3; bonus bMatkRate,3; bonus bAllStats,2; bonus bFlee,10; bonus bAspd,1; bonus bMdef,3; bonus2 bSkillAtk,"AL_HEAL",10; bonus2 bSkillHeal,"AL_HEAL",10; bonus2 bSkillHeal,"AM_POTIONPITCHER",10; bonus2 bAddItemHealRate,IG_Potion,10; },{},{}

// iRO Halloween Event 2009
//=============================================================
//5668,Weird_Pumpkin_Hat,Weird Pumpkin Hat,4,20,,0,,5,,0,0xFFFFFFFF,7,2,256,,0,1,206,{ bonus bMdef,5; bonus2 bAddMonsterDropItem,12192,2500; },{},{}
//6298,Crushed_Pumpkin,Crushed Pumpkin,3,0,,0,,,,,,,,,,,,,{},{},{}
//6299,Worn_Fabric,Worn Fabric,3,0,,0,,,,,,,,,,,,,{},{},{}

// Old Tuxedo and Wedding Dress, will display the outfit when worn.
//==================================================================
//2338,Wedding_Dress,Wedding Dress,4,43000,,500,,0,,0,0xFFFFFFFE,7,0,16,,0,1,0,{},{ setoption Option_Wedding,1; },{ setoption Option_Wedding,0; }
//7170,Tuxedo,Tuxedo,4,43000,,10,,0,,0,0xFFFFFFFE,7,1,16,,0,1,0,{},{ setoption Option_Wedding,1; },{ setoption Option_Wedding,0; }
@@ -0,0 +1,8 @@
// Item Delay Database
//
// Structure of Database:
// Item ID,Delay in Milliseconds
//
// NOTE:
// There is a max concurrent number of entries set in src/map/itemdb.h as MAX_ITEMDELAYS.

@@ -0,0 +1,2 @@
//import: db/import/item_groupid.txt

@@ -0,0 +1,27 @@
// Forbidden Items Database
// Defines restrictions on equipment, items, and cards in map types and zones.
//
// Structure of Database:
// ItemID,Flag
//
// Legend for 'Flag' field (bitmask):
// 1 - restricted in normal maps
// 2 - restricted in PVP
// 4 - restricted in GVG
// 8 - restricted in Battlegrounds
// Restricted zones - configured by 'restricted <number>' mapflag
// 32 - restricted in zone 1
// 64 - restricted in zone 2
// 128 - restricted in zone 3
// 256 - restricted in zone 4
// 512 - restricted in zone 5
// 1024 - restricted in zone 6
// 2048 - restricted in zone 7
//
// Examples:
// 1201,1 // Knife can't be worn on normal maps
// 608,4 // Yggdrasil Seed can't be consumed in both GvG and WoE Castles
// 4174,6 // Deviling Card has no effect in every PVP or GVG map, and during WoE
// 501,32 // Red Potion can't be consumed on maps marked as 'restricted zone 1'
// 519,322 // Milk can't be consumed in PVP and maps marked as 'restricted zone 2' or 'restricted zone 4' (256+64+2)

4 comments on commit ff29c23

@Nevercome
Copy link

@Nevercome Nevercome commented on ff29c23 Jan 2, 2014

Choose a reason for hiding this comment

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

emmm i have a question, for people who uses sql tables, how does it affect them?

@imblad3
Copy link

@imblad3 imblad3 commented on ff29c23 Jan 2, 2014

Choose a reason for hiding this comment

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

i think there will be some solution as I also a mysql user not txt.. /sigh

@euphyy
Copy link
Contributor

@euphyy euphyy commented on ff29c23 Jan 2, 2014

Choose a reason for hiding this comment

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

There shouldn't be any issues with SQL tables. It's the same as always: you import the original database, then import from your desired 'import' file.

@Nevercome
Copy link

@Nevercome Nevercome commented on ff29c23 Jan 2, 2014

Choose a reason for hiding this comment

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

Great :3

Please sign in to comment.