summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-08-26 22:03:19 -0300
committerJesusaves <cpntb1@ymail.com>2019-08-26 22:03:19 -0300
commitbe15e0fbd674daf77cb42d75acb99f9d2da82c75 (patch)
tree325227431e6362c9b741f6ce78ae76a21cd0ed6c
parent7af11c10692206f2b5e959e5b9260e2bc684e6ac (diff)
downloadserverdata-be15e0fbd674daf77cb42d75acb99f9d2da82c75.tar.gz
serverdata-be15e0fbd674daf77cb42d75acb99f9d2da82c75.tar.bz2
serverdata-be15e0fbd674daf77cb42d75acb99f9d2da82c75.tar.xz
serverdata-be15e0fbd674daf77cb42d75acb99f9d2da82c75.zip
Wurtzite, Graphene and Arcanum. This breaks refinery.
-rw-r--r--db/re/item_db.conf27
-rw-r--r--npc/functions/refine.txt13
2 files changed, 34 insertions, 6 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 7a649b7f5..8a7acb0ef 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -5512,6 +5512,33 @@ item_db: (
noauction: true
}
},
+{
+ Id: 912
+ AegisName: "Wurtizite"
+ Name: "Wurtizite Ore"
+ Type: "IT_ETC"
+ Buy: 5000
+ Sell: 500
+ Weight: 1
+},
+{
+ Id: 913
+ AegisName: "Graphene"
+ Name: "Graphene Stone"
+ Type: "IT_ETC"
+ Buy: 25000
+ Sell: 1500
+ Weight: 1
+},
+{
+ Id: 914
+ AegisName: "Arcanum"
+ Name: "Arcanum Stone"
+ Type: "IT_ETC"
+ Buy: 125000
+ Sell: 7500
+ Weight: 1
+},
// <!-- Necklaces -->
{
Id: 1000
diff --git a/npc/functions/refine.txt b/npc/functions/refine.txt
index c23739d07..48535f91d 100644
--- a/npc/functions/refine.txt
+++ b/npc/functions/refine.txt
@@ -74,20 +74,21 @@ function script refineMaster {
switch (.@rlv) {
case 0:
case 1:
- .@rg=CopperIngot; break;
case 2:
case 3:
- .@rg=IronIngot; break;
+ .@rg=Wurtizite; break;
case 4:
case 5:
- .@rg=TitaniumIngot; break;
case 6:
case 7:
- .@rg=LeadIngot; break;
+ .@amount=((.@rlv-4)/2)+1;
+ .@rg=Graphene; break;
case 8:
- .@rg=Bloodstone; break;
+ case 9:
+ case 10:
default:
- .@rg=BlueManaPearl; break;
+ .@amount=((.@rlv-8)/2)+1;
+ .@rg=Arcanum; break;
}
mesn;
mesq l("This @@ is a nice stuff. I can refine it for @@ GP and @@ @@.", getitemlink(.@item), .@price, .@amount, getitemlink(.@rg));