I'm trying to make a runic vendor for players to buy, and I think we have to add a custom script, and this one I have are from runuo, and it's not working for servuo so I was wondering if there is already one avalible for servuo for the entire list of runic, or if not then maybe I can get some help getting this one to work, or if there is already one built in then let me know please.

using System;
using Server;
using Server.Engines.Craft;


namespace Server.Items
{
public class RunicVal : RunicHammer
{

[Constructable]
public RunicVal() : base( CraftResource.Valorite, 15)
{
/*Weight = 8.0;
Layer = Layer.OneHanded;
Hue = CraftResources.GetHue( resource );*/
}
public RunicVal( Serial serial ) : base( serial )
{
}

public override void Serialize( GenericWriter writer )
{
base.Serialize( writer );

writer.Write( (int) 0 ); // version
}

public override void Deserialize( GenericReader reader )
{
base.Deserialize( reader );

int version = reader.ReadInt();
}
}
}
 
NVM I figure it out! I didn't realize that I am suppose to put custom in a script folder so this one work perfect, and if there is already a custom one available please let me know cause I have to make all the custom runic since I only have one which is just val.
 
The other way to do this would be to create a custom gump that would sell the runic tools. When they give them, they would do it something like this:

Code:
// These 2 lines could be calculated in a loop or subroutine based on selections made in the gump
CraftResource resource = CraftResource.Valorite;
RunicHammer toGive = new RunicHammer(resource, 15);

Mobile from = e.Mobile; // the player who bought the item
if (from != null && from.Backpack != null) from.Backpack.DropItem( toGive );
 
Back