summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-07-06 18:01:32 -0300
committerJesusaves <cpntb1@ymail.com>2020-07-06 18:01:32 -0300
commita03d0a9bc1c91d11da9e4430393834b1a319328a (patch)
tree3bbacb37dc915dfe346a54d59dc9c1d12f822fff
parent223fd9299d3adeae9bb64c565cc604ac7deb9b00 (diff)
downloadserverdata-a03d0a9bc1c91d11da9e4430393834b1a319328a.tar.gz
serverdata-a03d0a9bc1c91d11da9e4430393834b1a319328a.tar.bz2
serverdata-a03d0a9bc1c91d11da9e4430393834b1a319328a.tar.xz
serverdata-a03d0a9bc1c91d11da9e4430393834b1a319328a.zip
Sketch for MakeBlueprint() - Needed by Micksha
-rw-r--r--npc/items/recipes.txt23
1 files changed, 16 insertions, 7 deletions
diff --git a/npc/items/recipes.txt b/npc/items/recipes.txt
index ea90990e..98e39f4a 100644
--- a/npc/items/recipes.txt
+++ b/npc/items/recipes.txt
@@ -138,25 +138,34 @@ function script MakeBlueprint {
// ----------------------------------
if (.@rarity & CRAFT_BASIC) {
- array_push(.@recipes, CraftInfantryHelmet); // Cannot be empty
}
- // ----------------------------------
if (.@rarity & CRAFT_INTERMEDIARY) {
- array_push(.@recipes, CraftInfantryHelmet);
}
- // ----------------------------------
if (.@rarity & CRAFT_ADVANCED) {
}
- // ----------------------------------
if (.@rarity & CRAFT_EXPERT) {
}
- // ----------------------------------
if (.@rarity & CRAFT_MASTER) {
}
// ----------------------------------
}
- else if (.@type & CRAFT_SMITHERY) {
+ else if (.@type & CRAFT_SMITHERY)
+ {
+
+ // ----------------------------------
+ if (.@rarity & CRAFT_BASIC) {
+ }
+ if (.@rarity & CRAFT_INTERMEDIARY) {
+ array_push(.@recipes, CraftInfantryHelmet);
+ }
+ if (.@rarity & CRAFT_ADVANCED) {
+ }
+ if (.@rarity & CRAFT_EXPERT) {
+ }
+ if (.@rarity & CRAFT_MASTER) {
+ }
+ // ----------------------------------
}
return;