From 99524874861fda01d0c6bb893f82d598b6d55951 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 14 Jul 2019 22:15:53 -0300 Subject: Ancient Blueprint --- db/re/item_db.conf | 22 ++++++++++++++++++++++ db/re/skill_db.conf | 12 ++++++++++++ 2 files changed, 34 insertions(+) (limited to 'db') diff --git a/db/re/item_db.conf b/db/re/item_db.conf index b2b13f421..96de61ec9 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -12708,6 +12708,28 @@ item_db: ( callfunc("MakeBlueprint", CRAFT_ALCHEMY, CRAFT_MASTER); "> }, +{ + Id: 7455 + AegisName: "AncientBlueprint" + Name: "Ancient Blueprint" + Type: "IT_USABLE" + Buy: 0 + Sell: 0 + Weight: 40 + Script: <" + if (!countitem(RecipeBook)) { + getitem AncientBlueprint, 1; + dispbottom l("You need a @@ to use this.", getitemlink(RecipeBook)); + end; + } + if (!getskilllv(TMW2_ANCIENTLANGUAGES)) { + getitem AncientBlueprint, 1; + dispbottom l("You cannot understand what's written."); + end; + } + callfunc("MakeRandomBlueprint"); + "> +}, { Id: 7460 diff --git a/db/re/skill_db.conf b/db/re/skill_db.conf index 9897fde23..802103481 100644 --- a/db/re/skill_db.conf +++ b/db/re/skill_db.conf @@ -38560,6 +38560,18 @@ skill_db: ( Quest: true } }, +{ + Id: 20034 + Name: "TMW2_ANCIENTLANGUAGES" + Description: "Read Ancient Languages" + MaxLevel: 1 + SkillType: { + Self: true + } + SkillInfo: { + Quest: true + } +}, // More skills: 20036~20062 { Id: 20036 -- cgit v1.2.3-60-g2f50