summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-08-13 21:44:48 -0400
committergumi <git@gumi.ca>2020-08-13 21:44:48 -0400
commit1e0b90b3916c9a3421da6efbd308eb9dec20c49d (patch)
treea7b85c7b46c9400ef2c0d732e0e8cb10af6be266
parent2ec0d2bb68b7c5613b9f33926e1ecd96ffa7b310 (diff)
downloadserverdata-1e0b90b3916c9a3421da6efbd308eb9dec20c49d.tar.gz
serverdata-1e0b90b3916c9a3421da6efbd308eb9dec20c49d.tar.bz2
serverdata-1e0b90b3916c9a3421da6efbd308eb9dec20c49d.tar.xz
serverdata-1e0b90b3916c9a3421da6efbd308eb9dec20c49d.zip
add the LightPlatemail recipe
Co-authored-by: Christopher Chay <2@hisfootsteps.net>
-rw-r--r--db/craft_db.conf30
-rw-r--r--npc/items/recipes.txt5
2 files changed, 35 insertions, 0 deletions
diff --git a/db/craft_db.conf b/db/craft_db.conf
index 4a59f87a..c53611a9 100644
--- a/db/craft_db.conf
+++ b/db/craft_db.conf
@@ -54,6 +54,11 @@ craft_db: (
},
******************************************************************************/
+/*
+TODO: allow ReturnCode to be a constant
+FIXME: use a regex find-replace to change ReturnCode to the corresponding AegisName constants
+*/
+
/**************
Cooking: 000 --> 099
Chest Armor: 100 --> 199
@@ -480,6 +485,31 @@ Boots: 700 --> 799
}
Priority: 51
},
+{
+ Id: 113
+ Name: "CraftLightPlatemail"
+ Flag: "CRAFT_SMITHERY"
+ ReturnCode: 1318
+ SourceItems:
+ (
+ {
+ IronIngot: 25
+ SilverIngot: 5
+ Coal: 25
+ SharpKnife: 1
+ },
+ )
+ CreateItems:
+ (
+ {
+ LightPlatemail: 1
+ },
+ )
+ RequiredItems: {
+ RecipeBook: 1
+ }
+ Priority: 52
+},
/************************* LEG ARMOR (PANTS) ***********************************
********************************************************************************
diff --git a/npc/items/recipes.txt b/npc/items/recipes.txt
index a4c1da57..edfdc547 100644
--- a/npc/items/recipes.txt
+++ b/npc/items/recipes.txt
@@ -126,6 +126,11 @@ function read_smithery {
3, IronIngot,
15, Moss,
1, SharpKnife);
+ showRecipe(CraftLightPlatemail, LightPlatemail,
+ 25, IronIngot,
+ 5, SilverIngot,
+ 25, Coal,
+ 1, SharpKnife);
return;
}