summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/craft_db.conf137
-rw-r--r--db/re/mob_db.conf2
-rw-r--r--npc/craft/recipes.txt33
3 files changed, 171 insertions, 1 deletions
diff --git a/db/craft_db.conf b/db/craft_db.conf
index 759814dc4..93cc3a1c1 100644
--- a/db/craft_db.conf
+++ b/db/craft_db.conf
@@ -883,6 +883,143 @@ craft_db: (
// 98, 99, 100 → Reserved for guns
//////////////////////////////////////////////////////////////////////////////
{
+ Id: 72
+ Name: "CraftShortBow"
+ Flag: 16
+ ReturnCode: 6002
+ // ShortBow
+ SourceItems:
+ (
+ {
+ WoodenLog: 18
+ Root: 12
+ LeatherPatch: 3
+ CommonCarp: 1
+ },
+
+ )
+ CreateItems:
+ (
+ {
+ RawLog: 1
+ },
+ )
+ Priority: 10
+},
+/****************************************************************************/
+{
+ Id: 73
+ Name: "CraftForestBow"
+ Flag: 16
+ ReturnCode: 6003
+ // ForestBow
+ SourceItems:
+ (
+ {
+ WoodenLog: 24
+ Root: 16
+ LeatherPatch: 5
+ CommonCarp: 3
+ },
+ )
+ CreateItems:
+ (
+ {
+ RawLog: 1
+ },
+ )
+ Priority: 20
+},
+/****************************************************************************/
+{
+ Id: 74
+ Name: "CraftElficBow"
+ Flag: 16
+ ReturnCode: 6004
+ // ElficBow
+ SourceItems:
+ (
+ {
+ WoodenLog: 33
+ Root: 22
+ IronIngot: 1
+ CommonCarp: 4
+ },
+ )
+ CreateItems:
+ (
+ {
+ RawLog: 1
+ },
+ )
+ Priority: 30
+},
+/****************************************************************************/
+{
+ Id: 75
+ Name: "CraftChampionshipBow"
+ Flag: 16
+ ReturnCode: 6005
+ // ChampionshipBow
+ SourceItems:
+ (
+ {
+ WoodenLog: 48
+ Root: 32
+ GoldIngot: 1
+ CommonCarp: 5
+ },
+ )
+ CreateItems:
+ (
+ {
+ RawLog: 1
+ },
+ )
+ Priority: 40
+},
+/****************************************************************************/
+{
+ Id: 76
+ Name: "CraftBansheeBow"
+ Flag: 16
+ ReturnCode: 6006
+ // BansheeBow
+ SourceItems:
+ (
+ {
+ WoodenLog: 70
+ Root: 45
+ DarkCrystal: 5
+ CommonCarp: 5
+ },
+ )
+ CreateItems:
+ (
+ {
+ BoneArrow: 1
+ },
+ {
+ BoneArrow: 2
+ },
+ {
+ BoneArrow: 3
+ },
+ )
+ Priority: 40
+},
+/****************************************************************************/
+
+// 51~71 → Swords
+// 72~76 → Bows
+// 77~81 → Wands
+// 82 → Reserved for guns
+// 83~87 → Armor Chestplates
+// 88~92 → Armor Helmets
+// 93~97 → Shields
+// 98, 99, 100 → Reserved for guns
+//////////////////////////////////////////////////////////////////////////////
+{
Id: 77
Name: "CraftTrainingWand"
Flag: 16
diff --git a/db/re/mob_db.conf b/db/re/mob_db.conf
index 41f826e09..66caf4215 100644
--- a/db/re/mob_db.conf
+++ b/db/re/mob_db.conf
@@ -5477,12 +5477,12 @@ mob_db: (
DamageMotion: 200
Drops: {
IronArrow: 3500
- DarkCrystal: 1000
Skull: 850
Bone: 750
Bone: 450
Bone: 150
Bone: 100
+ DarkCrystal: 100
SkullBloodyMug: 90
PileOfAsh: 75
DemonicSkull: 1
diff --git a/npc/craft/recipes.txt b/npc/craft/recipes.txt
index 4c54667d8..05eea9e99 100644
--- a/npc/craft/recipes.txt
+++ b/npc/craft/recipes.txt
@@ -195,6 +195,34 @@ function readCrafting {
20, Coal,
1, EverburnPowder);
next;
+ // Archery Weapons: Always use Wood, Root and Carp.
+ mesc "----------"+l("Archery Weapon Recipes")+"----------", 2;
+ showRecipe(CraftShortBow, ShortBow,
+ 18, WoodenLog,
+ 12, Root,
+ 3, LeatherPatch,
+ 1, CommonCarp);
+ showRecipe(CraftForestBow, ForestBow,
+ 24, WoodenLog,
+ 16, Root,
+ 5, LeatherPatch,
+ 3, CommonCarp);
+ showRecipe(CraftElficBow, ElficBow,
+ 33, WoodenLog,
+ 22, Root,
+ 1, IronIngot,
+ 4, CommonCarp);
+ showRecipe(CraftChampionshipBow, ChampionshipBow,
+ 48, WoodenLog,
+ 32, Root,
+ 1, GoldIngot,
+ 5, CommonCarp);
+ showRecipe(CraftBansheeBow, BansheeBow,
+ 70, WoodenLog,
+ 45, Root,
+ 5, DarkCrystal,
+ 5, CommonCarp);
+ next;
// Magical Weapons: Wood + powders
mesc "----------"+l("Magical Weapon Recipes")+"----------", 2;
showRecipe(CraftTrainingWand, TrainingWand,
@@ -341,12 +369,14 @@ function script MakeBlueprint {
array_push(.@recipes, CraftWoodenSword);
array_push(.@recipes, CraftWoodenShield);
array_push(.@recipes, CraftTrainingWand);
+ array_push(.@recipes, CraftShortBow);
}
if (.@rarity & CRAFT_INTERMEDIARY) {
array_push(.@recipes, CraftBugSlayer);
array_push(.@recipes, CraftShortGladius);
array_push(.@recipes, CraftBladeShield);
array_push(.@recipes, CraftNoviceWand);
+ array_push(.@recipes, CraftForestBow);
}
if (.@rarity & CRAFT_ADVANCED) {
array_push(.@recipes, CraftBacksword);
@@ -354,6 +384,7 @@ function script MakeBlueprint {
array_push(.@recipes, CraftMiereCleaver);
array_push(.@recipes, CraftPynRevolver);
array_push(.@recipes, CraftApprenticeWand);
+ array_push(.@recipes, CraftElficBow);
}
if (.@rarity & CRAFT_EXPERT) {
array_push(.@recipes, CraftGoldenRing);
@@ -361,10 +392,12 @@ function script MakeBlueprint {
array_push(.@recipes, CraftPynRifle);
array_push(.@recipes, CraftPynGatling);
array_push(.@recipes, CraftLeaderWand);
+ array_push(.@recipes, CraftChampionshipBow);
}
if (.@rarity & CRAFT_MASTER) {
array_push(.@recipes, CraftPynShotgun);
array_push(.@recipes, CraftLegendaryWand);
+ array_push(.@recipes, CraftBansheeBow);
}
// Now you'll learn some recipe!