summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-18 13:28:30 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-18 13:28:30 -0300
commit3437f72074da87da0445fda0a44ba56e87c0609d (patch)
treefa62c2693872d2639c5675bf171e9894c9cbf2e8
parentd4852d47713a9e1ea9e00b0e0c3aefaaa0550b72 (diff)
downloadserverdata-3437f72074da87da0445fda0a44ba56e87c0609d.tar.gz
serverdata-3437f72074da87da0445fda0a44ba56e87c0609d.tar.bz2
serverdata-3437f72074da87da0445fda0a44ba56e87c0609d.tar.xz
serverdata-3437f72074da87da0445fda0a44ba56e87c0609d.zip
Add new one-hand weapons, so we have craft recipes for 1h melee up to level 100
-rw-r--r--db/craft_db.conf166
-rw-r--r--npc/craft/recipes.txt30
2 files changed, 196 insertions, 0 deletions
diff --git a/db/craft_db.conf b/db/craft_db.conf
index 8ae633a8b..ab9a17a5a 100644
--- a/db/craft_db.conf
+++ b/db/craft_db.conf
@@ -809,6 +809,172 @@ craft_db: (
Priority: 40
},
/****************************************************************************/
+{
+ Id: 56
+ Name: "CraftKitana"
+ Flag: 16
+ ReturnCode: 3531
+ //Kitana
+ SourceItems:
+ (
+ {
+ IronIngot: 30
+ TinIngot: 9
+ Coal: 30
+ EverburnPowder: 1
+ },
+ )
+ CreateItems:
+ (
+ {
+ PileOfAsh: 1
+ },
+ {
+ IronIngot: 1
+ PileOfAsh: 1
+ },
+ {
+ PileOfAsh: 2
+ },
+ {
+ PileOfAsh: 3
+ },
+ )
+ Priority: 50
+},
+/****************************************************************************/
+{
+ Id: 57
+ Name: "CraftBoneKnife"
+ Flag: 16
+ ReturnCode: 3508
+ //BoneKnife
+ SourceItems:
+ (
+ {
+ IronIngot: 36
+ Bone: 90
+ Coal: 30
+ EverburnPowder: 1
+ },
+ )
+ CreateItems:
+ (
+ {
+ PileOfAsh: 1
+ },
+ {
+ Bone: 1
+ PileOfAsh: 1
+ },
+ {
+ PileOfAsh: 2
+ },
+ {
+ PileOfAsh: 3
+ },
+ )
+ Priority: 50
+},
+/****************************************************************************/
+{
+ Id: 58
+ Name: "CraftLongSword"
+ Flag: 16
+ ReturnCode: 3516
+ //LongSword
+ SourceItems:
+ (
+ {
+ IronIngot: 42
+ PlatinumIngot: 1
+ IridiumIngot: 1
+ Coal: 32
+ },
+ )
+ CreateItems:
+ (
+ {
+ PileOfAsh: 1
+ },
+ {
+ IronIngot: 1
+ PileOfAsh: 1
+ },
+ {
+ PileOfAsh: 2
+ },
+ {
+ PileOfAsh: 3
+ },
+ )
+ Priority: 60
+},
+/****************************************************************************/
+{
+ Id: 59
+ Name: "CraftRockKnife"
+ Flag: 16
+ ReturnCode: 3509
+ //RockKnife
+ SourceItems:
+ (
+ {
+ TerraniteOre: 50
+ PlatinumIngot: 2
+ IridiumIngot: 3
+ Coal: 40
+ },
+ )
+ CreateItems:
+ (
+ {
+ PileOfAsh: 1
+ },
+ {
+ TerraniteOre: 1
+ PileOfAsh: 1
+ },
+ {
+ PileOfAsh: 2
+ },
+ {
+ PileOfAsh: 3
+ },
+ )
+ Priority: 70
+},
+/****************************************************************************/
+{
+ Id: 60
+ Name: "CraftDivineSword"
+ Flag: 16
+ ReturnCode: 3511
+ //DivineSword
+ SourceItems:
+ (
+ {
+ DivineApple: 2
+ PlatinumIngot: 3
+ IridiumIngot: 5
+ Coal: 60
+ },
+ )
+ CreateItems:
+ (
+ {
+ PileOfAsh: 1
+ },
+ {
+ PileOfAsh: 2
+ },
+ {
+ PileOfAsh: 3
+ },
+ )
+ Priority: 80
+},
+/****************************************************************************/
// 61~71 two hand swords I guess
{
Id: 61
diff --git a/npc/craft/recipes.txt b/npc/craft/recipes.txt
index bef6d655e..a383c3a26 100644
--- a/npc/craft/recipes.txt
+++ b/npc/craft/recipes.txt
@@ -181,6 +181,31 @@ function readCrafting {
5, TinIngot,
24, Coal,
1, EverburnPowder);
+ showRecipe(CraftKitana, Kitana,
+ 30, IronIngot,
+ 9, TinIngot,
+ 30, Coal,
+ 1, EverburnPowder);
+ showRecipe(CraftBoneKnife, BoneKnife,
+ 36, IronIngot,
+ 90, Bone,
+ 30, Coal,
+ 1, EverburnPowder);
+ showRecipe(CraftLongSword, LongSword,
+ 42, IronIngot,
+ 1, PlatinumIngot,
+ 1, IridiumIngot,
+ 32, Coal);
+ showRecipe(CraftRockKnife, RockKnife,
+ 50, TerraniteOre,
+ 2, PlatinumIngot,
+ 3, IridiumIngot,
+ 40, Coal);
+ showRecipe(CraftDivineSword, DivineSword,
+ 2, DivineApple,
+ 3, PlatinumIngot,
+ 5, IridiumIngot,
+ 60, Coal);
next;
// Two Hands Melee Weapons: Never use Titanium nor Lead. Silver-based.
mesc "----------"+l("Two Hands Weapon Recipes")+"----------", 2;
@@ -381,6 +406,8 @@ function script MakeBlueprint {
if (.@rarity & CRAFT_ADVANCED) {
array_push(.@recipes, CraftBacksword);
array_push(.@recipes, CraftShortsword);
+ array_push(.@recipes, CraftBoneKnife);
+ array_push(.@recipes, CraftKitana);
array_push(.@recipes, CraftMiereCleaver);
array_push(.@recipes, CraftPynRevolver);
array_push(.@recipes, CraftApprenticeWand);
@@ -388,6 +415,8 @@ function script MakeBlueprint {
}
if (.@rarity & CRAFT_EXPERT) {
array_push(.@recipes, CraftGoldenRing);
+ array_push(.@recipes, CraftLongSword);
+ array_push(.@recipes, CraftRockKnife);
array_push(.@recipes, CraftBroadsword);
array_push(.@recipes, CraftPynRifle);
array_push(.@recipes, CraftPynGatling);
@@ -395,6 +424,7 @@ function script MakeBlueprint {
array_push(.@recipes, CraftChampionshipBow);
}
if (.@rarity & CRAFT_MASTER) {
+ array_push(.@recipes, CraftDivineSword);
array_push(.@recipes, CraftPynShotgun);
array_push(.@recipes, CraftLegendaryWand);
array_push(.@recipes, CraftBansheeBow);