jayates
Member
I added a new ore in my server called Mytheril. I can mine it and the granites no problem. Where i'm having issues is using a Gargoyles Pickaxe. The only elemental that spawns in is a reg ore elemental. Is there another script that controls which Elemental is spawned other than Mining.cs? Here's the part of that script:
Code:
res = new HarvestResource[]
{
//daat99 OWLTR start - custom ores
new HarvestResource( 00.0, 00.0, 95.0, "You put some Iron ore in your backpack", typeof( IronOre ), typeof( Granite ) ),
new HarvestResource( 60.0, 20.0, 100.0, "You put some Dull Copper ore in your backpack", typeof( DullCopperOre ), typeof( DullCopperGranite ), typeof( DullCopperOreElemental ) ),
new HarvestResource( 65.0, 25.0, 105.0, "You put some Shadow Iron ore in your backpack", typeof( ShadowIronOre ), typeof( ShadowIronGranite ), typeof( ShadowIronOreElemental ) ),
new HarvestResource( 70.0, 30.0, 110.0, "You put some Copper ore in your backpack", typeof( CopperOre ), typeof( CopperGranite ), typeof( CopperOreElemental ) ),
new HarvestResource( 75.0, 35.0, 115.0, "You put some Bronze ore in your backpack", typeof( BronzeOre ), typeof( BronzeGranite ), typeof( BronzeOreElemental ) ),
new HarvestResource( 80.0, 40.0, 120.0, "You put some Gold ore in your backpack", typeof( GoldOre ), typeof( GoldGranite ), typeof( GoldenOreElemental ) ),
new HarvestResource( 85.0, 45.0, 125.0, "You put some Agapite ore in your backpack", typeof( AgapiteOre ), typeof( AgapiteGranite ), typeof( AgapiteOreElemental ) ),
new HarvestResource( 90.0, 50.0, 130.0, "You put some Verite ore in your backpack", typeof( VeriteOre ), typeof( VeriteGranite ), typeof( VeriteOreElemental ) ),
new HarvestResource( 95.0, 55.0, 135.0, "You put some Valorite ore in your backpack", typeof( ValoriteOre ), typeof( ValoriteGranite ), typeof( ValoriteOreElemental ) ),
new HarvestResource( 100.0, 60.0, 140.0, "You put some Blaze ore in your backpack", typeof( BlazeOre ), typeof( BlazeGranite ), typeof( BlazeOreElemental ) ),
new HarvestResource( 105.0, 65.0, 145.0, "You put some Ice ore in your backpack", typeof( IceOre ), typeof( IceGranite ), typeof( IceOreElemental ) ),
new HarvestResource( 110.0, 70.0, 150.0, "You put some Toxic ore in your backpack", typeof( ToxicOre ), typeof( ToxicGranite ), typeof( ToxicOreElemental ) ),
new HarvestResource( 115.0, 75.0, 155.0, "You put some Electrum ore in your backpack", typeof( ElectrumOre ), typeof( ElectrumGranite ), typeof( ElectrumOreElemental ) ),
new HarvestResource( 116.0, 76.0, 156.0, "You put a Mytheril Rock in your backpack", typeof( MytherilRock ), typeof( MytherilGranite ), typeof( MytherilOreElemental ) ),
new HarvestResource( 118.0, 78.0, 158.0, "You loosen a Mytheril Rock and put it in your backpack",typeof( MytherilRock ), typeof( MytherilGranite ), typeof( MytherilOreElemental ) ),
new HarvestResource( 119.0, 79.0, 159.0, "You put some Platinum ore in your backpack", typeof( PlatinumOre ), typeof( PlatinumGranite ), typeof( PlatinumOreElemental ) )
//daat99 OWLTR end - custom ores
};