summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/const.txt31
-rw-r--r--db/item_db.txt31
-rw-r--r--db/mob_db.txt10
3 files changed, 51 insertions, 21 deletions
diff --git a/db/const.txt b/db/const.txt
index 73e60c04..c5d06c7a 100644
--- a/db/const.txt
+++ b/db/const.txt
@@ -172,5 +172,32 @@ NIBBLE_5_MASK 15728640
NIBBLE_6_SHIFT 24
NIBBLE_6_MASK 251658240
-NIBBLE_7_SHIFT 28
-NIBBLE_7_MASK 4026531840
+NIBBLE_7_SHIFT 28 // Only three bits available in this one
+NIBBLE_7_MASK 1879048192 // should be 4026531840
+
+// Magic skills
+SKILL_MAGIC 340
+SKILL_MAGIC_LIFE 341
+SKILL_MAGIC_WAR 342
+SKILL_MAGIC_TRANSMUTE 343
+SKILL_MAGIC_NATURE 344
+SKILL_MAGIC_ASTRAL 345
+
+// Flags for the magic quests
+MFLAG_DRANK_POTION 1 // Character drank at least one magic potion as prerequisite for the mana seed quest
+MFLAG_KNOWS_MANASEED 2 // Character has found the Mana Seed
+MFLAG_TOUCHED_MANASEED 4 // Character has touched the Mana Seed
+MFLAG_MANASEED_MAXEDOUT 8 // Character has touched the Mana Seed while maxed out on magic
+
+MFLAG_KNOWS_AULDSBEL 16 // Character has met Auldsbel
+MFLAG_KNOWS_WYARA 32 // Character has met Wyara
+MFLAG_KNOWS_SAGATHA 64 // Character has met Sagatha
+MFLAG_KNOWS_MANAPOTION 128 // Has heard about the mana potion
+
+MFLAG_MANASEED_RUMOUR 256 // Has heard rumour about mana seed
+MFLAG_KNOWS_CUTTREE 512 // Knows about the `cut the tree' quest
+MFLAG_DID_CUTTREE 1024 // Did cut off a branch from the druid tree
+MFLAG_KNOWS_DRUIDTREE 2048 // Knows about the druid tree quest
+
+MFLAG_KNOWS_IMP 4096 // Knows about the imprisoned forest spirit
+MFLAG_KNOWS_OLD_WIZARD 8192 // Knows Bjorn's old wizard
diff --git a/db/item_db.txt b/db/item_db.txt
index a5cfe960..1f5f822a 100644
--- a/db/item_db.txt
+++ b/db/item_db.txt
@@ -1,7 +1,7 @@
#ID, Name, Label, Type, Price, Sell, Weight, ATK, DEF, Range, Mbonus, Slot, Job, Gender, Loc, wLV, eLV, View, {UseScript}, {EquipScript}
0, DEFAULT, Default, 0, 20, 10, 10, , , , , , 10477567, 2, , , , , {}, {}
501, CactusDrink, Cactus Drink, 0, 50, 25, 70, , , , , , 10477567, 2, , , 0, , { itemheal 15,0; }, {}
-502, CactusPotion, Cactus Potion, 0, 70, 35, 70, , , , , , 10477567, 2, , , 0, , { itemheal 25,10; }, {}
+502, CactusPotion, Cactus Potion, 0, 70, 35, 70, , , , , , 10477567, 2, , , 0, , { itemheal 25,0; }, {}
503, CasinoCoins, Casino Coins, 3, 20, 10, 1, , , , , , , , , , , , {}, {}
504, DecorCandy, Decor Candy, 3, 25, 10, 10, , , , , , , , , , , , {}, {}
505, MaggotSlime, Maggot Slime, 3, 8, 4, 10, , , , , , , , , , , , {}, {}
@@ -33,7 +33,7 @@
531, MinerGloves, Miner Gloves, 5, 3000, 1000, 20, , 2, , -10, 0, 10477567, 2, 4, , 0, 0, {}, {}
532, LeatherGloves, Leather Gloves, 5, 6000, 2000, 30, , 4, , -20, 0, 10477567, 2, 4, , 0, 0, {}, {}
533, RoastedMaggot, Roasted Maggot, 0, 110, 55, 5, , , , , , 10477567, 2, , , 0, , { itemheal 150,0; }, {}
-534, OrangeCupcake, Orange Cupcake, 0, 90, 45, 5, , , , , , 10477567, 2, , , 0, , { itemheal 100,10; }, {}
+534, OrangeCupcake, Orange Cupcake, 0, 90, 45, 5, , , , , , 10477567, 2, , , 0, , { itemheal 100,0; }, {}
535, Apple, Apple, 0, 10, 5, 5, , , , , , 10477567, 2, , , 0, , { itemheal 50,0; }, {}
536, ShortSword, Short Sword, 4, 8000, 4000, 100, 100, , 1, , 0, 10477567, 2, 2, 1, 1, 1, {}, {}
537, TreasureKey, Treasure Key, 3, 100, 50, 5, , , , , , , , , , , , {}, {}
@@ -63,13 +63,13 @@
559, Hint9, Hint, 3, 20, 0, 10, , , , , , , , , , , , {}, {}
560, Hint10, Hint, 3, 20, 0, 10, , , , , , , , , , , , {}, {}
561, Sabre, Sabre, 4, 10000, 5000, 100, 100, , 1, , 0, 10477567, 2, 2, 1, 1, 1, {}, {}
-562, ChickenLeg, Chicken Leg, 0, 250, 125, 10, , , , , , 10477567, 2, , , 0, , { itemheal 500,5; }, {}
+562, ChickenLeg, Chicken Leg, 0, 250, 125, 10, , , , , , 10477567, 2, , , 0, , { itemheal 500,0; }, {}
563, WinterGloves, Winter Gloves, 5, 6000, 3000, 20, , 3, , -15, 0, 10477567, 2, 4, , 0, 0, {}, {}
564, TurtleneckSweater, Turtleneck Sweater, 5, 2000, 1000, 10, , 6, , -18, 0, 10477567, 2, 512, , 0, 0, {}, {}
-565, Petal, Petal, 0, 50, 25, 10, , , , , , 10477567, 2, , , 0, , { itemheal 50,5; }, {}
-566, SmallMushroom, Small Mushroom, 0, 50, 25, 10, , , , , , 10477567, 2, , , 0, , { itemheal 50,5; }, {}
-567, IronPotion, Iron Potion, 0, 500, 250, 10, , , , , , 10477567, 2, , , 0, , { sc_start 185, 90, 60; }, {}
-568, ConcentrationPotion, Concentration Potion, 0, 500, 250, 10, , , , , , 10477567, 2, , , 0, , { sc_start 37, 90, 30; }, {}
+565, Petal, Petal, 0, 50, 25, 10, , , , , , 10477567, 2, , , 0, , { itemheal 50,0; }, {}
+566, SmallMushroom, Small Mushroom, 0, 50, 25, 10, , , , , , 10477567, 2, , , 0, , { itemheal 50,0; }, {}
+567, IronPotion, Iron Potion, 0, 500, 250, 10, , , , , , 10477567, 2, , , 0, , { sc_start 185, 60, 60; }, {}
+568, ConcentrationPotion, Concentration Potion, 0, 500, 250, 10, , , , , , 10477567, 2, , , 0, , { sc_start 37, 60, 30; }, {}
569, RawLog, Raw Log, 3, 20, 10, 10, , , , , , , , , , , , {}, {}
570, BoneKnife, Bone Knife, 4, 10000, 6000, 120, 115, , 1, , 0, 10477567, 2, 2, 1, 1, 1, {}, {}
571, Setzer, Setzer, 4, 20000, 8000, 80, 110, , 1, , 0, 10477567, 2, 2, 1, 1, 3, {}, {}
@@ -194,7 +194,7 @@
702, WeddingRing, Wedding Ring, 5, 1000, 1, 1, , 0, , 1, 0, 10477567, 2, 128, , 0, 0, {}, {}
703, SulphurPowder, Sulphur Powder, 3, 1000, 100, 2, , , , , , 10477567, 2, , , 0, , {}, {}
704, IronPowder, Iron Powder, 3, 800, 80, 3, , , , , , 10477567, 2, , , 0, , {}, {}
-// RESERVED
+705, ManaPotion, Mana Potion, 0, 2000, 300, 50, , , , , , 10477567, 2, , , 0, , { itemheal 0, 10; callfunc "MagicGainBasic"; }, {}
706, GoldenScorpionStinger, Golden Scorpion Stinger, 3, 2000, 500, 2, , , , , , , , , , , , {}, {}
707, MonsterOilPotion, Monster Oil Potion, 3, 10000, 2000, 50, , , , , , , , , , , , {}, {}
708, LeatherPatch, Leather Patch, 3, 300, 150, 18, , , , , , , , , , , , {}, {}
@@ -203,10 +203,10 @@
711, MountainSnakeTongue, Mountain Snake Tongue, 3, 80, 40, 1, , , , , , , , , , , , {}, {}
712, GrassSnakeTongue, Grass Snake Tongue, 3, 160, 80, 1, , , , , , , , , , , , {}, {}
713, CaveSnakeTongue, Cave Snake Tongue, 3, 120, 60, 1, , , , , , , , , , , , {}, {}
-714, SnakeEgg, Snake Egg, 0, 50, 25, 4, , , , , , 10477567, 2, , , 0, , { itemheal 30,5; }, {}
-715, MountainSnakeEgg, Mountain Snake Egg, 0, 80, 40, 4, , , , , , 10477567, 2, , , 0, , { itemheal 40,5; }, {}
-716, GrassSnakeEgg, Grass Snake Egg, 0, 100, 50, 4, , , , , , 10477567, 2, , , 0, , { itemheal 50,5; }, {}
-717, CaveSnakeEgg, Cave Snake Egg, 0, 60, 30, 4, , , , , , 10477567, 2, , , 0, , { itemheal 20,5; }, {}
+714, SnakeEgg, Snake Egg, 0, 50, 25, 4, , , , , , 10477567, 2, , , 0, , { itemheal 30,0; }, {}
+715, MountainSnakeEgg, Mountain Snake Egg, 0, 80, 40, 4, , , , , , 10477567, 2, , , 0, , { itemheal 40,0; }, {}
+716, GrassSnakeEgg, Grass Snake Egg, 0, 100, 50, 4, , , , , , 10477567, 2, , , 0, , { itemheal 50,0; }, {}
+717, CaveSnakeEgg, Cave Snake Egg, 0, 60, 30, 4, , , , , , 10477567, 2, , , 0, , { itemheal 20,0; }, {}
718, SilkCocoon, Silk Cocoon, 3, 200, 3, 1, , , , , , , , , , , , {}, {}
// RESERVED
720, SilkRobe, Silk Robe, 5, 8000, 4000, 5, , 5, , 0, 0, 10477567, 2, 512, , 0, 0, {}, {}
@@ -217,9 +217,12 @@
725, GMCap, GM Cap, 5, 2000, 500, 10, , 5, , 5, 0, 10477567, 2, 256, , 0, 0, {}, {}
726, GMRobe, GM Robe, 5, 8000, 4000, 5, , 5, , 0, 0, 10477567, 2, 512, , 0, 0, {}, {}
727, Iten, Iten, 3, 0, 0, 100, , , , , , , , , , , , {}, {}
-// RESERVED
+728, MoubooFigurine, Mouboo Figurine, 3, 0, 0, 1, , , , , , , , , , , , {}, {}
+729, WarpedLog, Warped Log, 3, 0, 0, 2, , , , , , , , , , , , {}, {}
+730, Lifestone, Lifestone, 3, 0, 0, 1, , , , , , , , , , , , {}, {}
731, AssassinPants, Assassin Pants, 5, 10000, 3000, 10, , 5, , -5, 0, 10477567, 2, 1, , 0, 0, {}, {}
-// RESERVED
+732, DruidTreeBranch, Druid Tree Branch, 3, 0, 0, 2, , , , , , 10477567, , , , , , {}, {}
+733, PurificationPotion, Purification Potion, 0, 0, 0, 5, , , , , , 10477567, 2, , , , , { callfunc "usePurificationPotion"; }, {}
734, BlackBoots, Black Boots, 5, 20000, 3000, 35, , 4, , -10, 0, 10477567, 2, 64, , 0, 0, {}, {}
735, WhiteCottonBoots, White Cotton Boots, 5, 2000, 500, 10, , 1, , 1, 0, 10477567, 2, 64, , 0, 0, {}, {}
736, WhiteCake, White Cake, 0, 500, 100, 10, , , , , , 10477567, 2, , , 0, , { itemheal 10,0; }, {}
diff --git a/db/mob_db.txt b/db/mob_db.txt
index fccbf0b7..f8d17d12 100644
--- a/db/mob_db.txt
+++ b/db/mob_db.txt
@@ -26,10 +26,10 @@
1026,MountainSnake,Mountain Snake,130,900,0,0,100,1,80,125,4,6,20,40,10,10,35,45,1,1,1,0,20,133,1000,1500,672,480,532,20,641,150,715,400,715,400,711,500,0,0,0,0,0,0,0,0,0,0,,,,,,,1,30
1027,EasterFluffy,Easter Fluffy,30,500,0,0,3,1,10,12,0,5,1,1,1,0,20,25,1,1,1,3,20,129,800,1872,672,480,1208,2000,1209,2000,1210,2000,1211,1000,1212,1000,1213,200,0,0,0,0,0,0,0,0,,,,,,,1,40
1028,Mouboo,Mouboo,85,1200,0,0,40,2,30,75,65,5,15,5,15,0,40,10,2,2,1,3,20,129,600,1872,672,480,660,200,660,100,541,750,660,10,0,0,0,0,0,0,0,0,0,0,0,0,,,,,,,1,30
-1029,MauvePlant,Mauve Plant,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,3,22,0,800,800,672,480,680,3000,680,3000,680,3000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,,,,1,60
-1030,CobaltPlant,Cobalt Plant,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,3,22,0,800,800,672,480,681,3000,681,3000,681,3000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,,,,0,0
-1031,GambogePlant,Gamboge Plant,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,3,22,0,800,800,672,480,682,3000,682,3000,682,3000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,,,,0,0
-1032,AlizarinPlant,Alizarin Plant,1,1,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,1,1,3,22,0,800,800,672,480,683,3000,683,3000,683,3000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,,,,0,0
+1029,MauvePlant,Mauve Plant,1,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,1,1,1,3,22,0,800,800,672,480,680,3000,680,3000,680,3000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,,,,1,60
+1030,CobaltPlant,Cobalt Plant,1,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,1,1,1,3,22,0,800,800,672,480,681,3000,681,3000,681,3000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,,,,0,0
+1031,GambogePlant,Gamboge Plant,1,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,1,1,1,3,22,0,800,800,672,480,682,3000,682,3000,682,3000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,,,,0,0
+1032,AlizarinPlant,Alizarin Plant,1,1,0,0,1,1,0,0,1,0,0,0,0,0,0,0,1,1,1,3,22,0,800,800,672,480,683,3000,683,3000,683,3000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,,,,0,0
1033,SeaSlime,Sea Slime,70,600,0,0,9,1,30,50,3,7,1,25,1,0,30,30,1,1,1,0,41,131,1500,1872,672,480,535,800,657,800,518,500,510,1000,700,100,1199,5000,568,100,541,50,0,0,0,0,,,,,,,0,0
1034,GrassSnake,Grass Snake,140,1000,0,0,100,1,80,120,2,10,20,40,10,10,40,50,1,1,1,0,20,133,500,1100,672,480,716,400,716,400,712,500,676,500,660,350,0,0,0,0,0,0,0,0,0,0,,,,,,,1,40
-1035,Silkworm,Silkworm,20,1,0,0,1,1,0,0,2,10,20,11,10,10,40,10,1,1,1,0,20,129,1300,1100,672,480,718,5000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,,,,2,40
+1035,Silkworm,Silkworm,20,1,0,0,1,1,0,0,2,0,0,0,0,0,0,0,1,1,1,0,20,129,1300,1100,672,480,718,5000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,,,,,,,2,40