summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/craft_db.conf44
-rw-r--r--npc/items/miscrecipes.txt38
-rw-r--r--npc/scripts.conf1
3 files changed, 64 insertions, 19 deletions
diff --git a/db/craft_db.conf b/db/craft_db.conf
index fa1c1279e..7438b0c11 100644
--- a/db/craft_db.conf
+++ b/db/craft_db.conf
@@ -130,7 +130,7 @@ craft_db: (
StatusResetPotion: 2
},
{
- StatusResetPotion: 1
+ StatusResetPotion: 2
},
)
Priority: 10
@@ -159,7 +159,7 @@ craft_db: (
MoveSpeedPotion: 3
},
{
- MoveSpeedPotion: 2
+ MoveSpeedPotion: 5
},
)
Priority: 10
@@ -231,7 +231,7 @@ craft_db: (
LukPotionA: 2
},
{
- LukPotionA: 1
+ LukPotionA: 3
},
{
LukPotionA: 2
@@ -254,7 +254,7 @@ craft_db: (
CreateItems:
(
{
- LukPotionB: 1
+ LukPotionB: 3
},
{
LukPotionB: 2
@@ -280,7 +280,7 @@ craft_db: (
CreateItems:
(
{
- LukPotionC: 1
+ LukPotionC: 3
},
{
LukPotionC: 2
@@ -306,7 +306,7 @@ craft_db: (
CreateItems:
(
{
- DexPotionA: 1
+ DexPotionA: 3
},
{
DexPotionA: 2
@@ -335,7 +335,7 @@ craft_db: (
DexPotionB: 2
},
{
- DexPotionB: 1
+ DexPotionB: 3
},
{
DexPotionB: 2
@@ -358,7 +358,7 @@ craft_db: (
CreateItems:
(
{
- DexPotionC: 1
+ DexPotionC: 3
},
{
DexPotionC: 2
@@ -387,7 +387,7 @@ craft_db: (
IntPotionA: 2
},
{
- IntPotionA: 1
+ IntPotionA: 3
},
{
IntPotionA: 2
@@ -410,7 +410,7 @@ craft_db: (
CreateItems:
(
{
- IntPotionB: 1
+ IntPotionB: 3
},
{
IntPotionB: 2
@@ -439,7 +439,7 @@ craft_db: (
IntPotionC: 2
},
{
- IntPotionC: 1
+ IntPotionC: 3
},
{
IntPotionC: 2
@@ -462,7 +462,7 @@ craft_db: (
CreateItems:
(
{
- VitPotionA: 1
+ VitPotionA: 3
},
{
VitPotionA: 2
@@ -488,7 +488,7 @@ craft_db: (
CreateItems:
(
{
- VitPotionB: 1
+ VitPotionB: 3
},
{
VitPotionB: 2
@@ -514,7 +514,7 @@ craft_db: (
CreateItems:
(
{
- VitPotionC: 1
+ VitPotionC: 3
},
{
VitPotionC: 2
@@ -540,7 +540,7 @@ craft_db: (
CreateItems:
(
{
- AgiPotionA: 1
+ AgiPotionA: 3
},
{
AgiPotionA: 2
@@ -566,7 +566,7 @@ craft_db: (
CreateItems:
(
{
- AgiPotionB: 1
+ AgiPotionB: 3
},
{
AgiPotionB: 2
@@ -592,7 +592,7 @@ craft_db: (
CreateItems:
(
{
- AgiPotionC: 1
+ AgiPotionC: 3
},
{
AgiPotionC: 2
@@ -624,7 +624,7 @@ craft_db: (
SacredLifePotion: 3
},
{
- SacredLifePotion: 2
+ SacredLifePotion: 5
},
)
Priority: 10
@@ -651,7 +651,7 @@ craft_db: (
SacredManaPotion: 3
},
{
- SacredManaPotion: 2
+ SacredManaPotion: 5
},
)
Priority: 10
@@ -673,6 +673,12 @@ craft_db: (
{
PiberriesInfusion: 1
},
+ {
+ PiberriesInfusion: 1
+ },
+ {
+ PiberriesInfusion: 2
+ },
)
Priority: 10
},
diff --git a/npc/items/miscrecipes.txt b/npc/items/miscrecipes.txt
new file mode 100644
index 000000000..fa35b76ef
--- /dev/null
+++ b/npc/items/miscrecipes.txt
@@ -0,0 +1,38 @@
+// TMW-2 script.
+// Author:
+// Jesusalva
+// Description:
+// More specific Recipe Books in TMW2
+
+// callfunc("TerraniteBlueprint")
+function script TerraniteBlueprint {
+ // Setup
+ array_push(.@recipes, CraftWoodenSword);
+ array_push(.@recipes, CraftWoodenSword);
+ array_push(.@recipes, CraftWoodenSword);
+ array_push(.@recipes, CraftWoodenSword);
+ array_push(.@recipes, CraftWoodenSword);
+
+ // Now you'll learn some recipe!
+ .@rcp=any_of(.@recipes);
+
+ // Double precision failsafe
+ if (RECIPES_EQUIPMENT[.@rcp])
+ .@rcp=any_of(.@recipes);
+
+ // Maybe you already knew it?
+ if (RECIPES_EQUIPMENT[.@rcp]) {
+ .@mpot=rand2(2000, 5000);
+ dispbottom l("It was a recipe you already knew... (+ @@ Mobpt)", .@mpot);
+ getexp (BaseLevel+JobLevel)*rand2(1,.@rarity), JobLevel+rand2(1,.@rarity);
+ // Give you some Monster Points to use with Intense Beard
+ // You do NOT need to be registered with Aidan for this.
+ Mobpt+=.@mpot;
+ } else {
+ dispbottom l("Learned a new recipe!");
+ RECIPES_EQUIPMENT[.@rcp]=true;
+ }
+ return;
+}
+
+
diff --git a/npc/scripts.conf b/npc/scripts.conf
index e02e97f6c..5682be9d8 100644
--- a/npc/scripts.conf
+++ b/npc/scripts.conf
@@ -79,6 +79,7 @@
"npc/items/lofteleporter.txt",
"npc/items/maps.txt",
"npc/items/mercenary.txt",
+"npc/items/miscrecipes.txt",
"npc/items/shovel.txt",
"npc/items/teleporter.txt",
"npc/items/valentine.txt",