I am using a modified crafting system based off of UO Origins server. When crafting, it only recognizes Iron as the resource. I have added a custom resource "coal" as well. I have hit a wall with this one. I have looked through BaseArmor.cs, BlackSmithMenu.cs, Ingots.cs, Ore.cs, BaseTool.cs, CraftSystem.cs, CraftItem.cs, ResourceInfo.cs and DefBlacksmithy.cs. I tried to change the resource type in DefBlacksmithy and it worked but only for that single resource. I know this is wrong but by changing the
to
it worked. I was trying to substitute the resource in a way to to use multiple metals in that area of code but failed. I realize I am grasping at straws now. LOL please help. I have attached the files I have been working with below.
C#:
typeof( IronIngot )
C#:
typeof( CoalIngot )
C#:
#region Platemail
AddCraft( typeof( PlateArms ), 1011078, 1025136, 66.3, 116.3, typeof( CoalIngot ), 1044036, 18, 1044037 );
AddCraft( typeof( PlateGloves ), 1011078, 1025140, 58.9, 108.9, typeof( IronIngot ), 1044036, 12, 1044037 );
AddCraft( typeof( PlateGorget ), 1011078, 1025139, 56.4, 106.4, typeof( IronIngot ), 1044036, 10, 1044037 );
AddCraft( typeof( PlateLegs ), 1011078, 1025137, 68.8, 118.8, typeof( IronIngot ), 1044036, 20, 1044037 );
AddCraft( typeof( PlateChest ), 1011078, 1046431, 75.0, 125.0, typeof( IronIngot ), 1044036, 25, 1044037 );
AddCraft( typeof( FemalePlateChest ), 1011078, 1046430, 44.1, 94.1, typeof( IronIngot ), 1044036, 20, 1044037 );
Attachments
-
ResourceInfo.cs25 KB · Views: 3
-
BlackSmithMenuNew.cs45.3 KB · Views: 6
-
Ingots.cs10.7 KB · Views: 2
-
Ore.cs26 KB · Views: 0
-
DefBlacksmithy.cs33.9 KB · Views: 5
-
CraftItem.cs45.3 KB · Views: 4
-
CraftItemCol.cs977 bytes · Views: 1
-
CraftSubRes.cs1.1 KB · Views: 4
-
CraftSubResCol.cs1.2 KB · Views: 1
-
CraftSystem.cs9.4 KB · Views: 2