Arcadius

Member
I'm trying to add a new hide. But in base armor

Code:
public override void AddNameProperty(ObjectPropertyList list)
        {
            int oreType;

            switch ( m_Resource )
            {
                case CraftResource.DullCopper:
                    oreType = 1053108;
                    break; // dull copper
                case CraftResource.ShadowIron:
                    oreType = 1053107;
                    break; // shadow iron
                case CraftResource.Copper:
                    oreType = 1053106;
                    break; // copper
                case CraftResource.Bronze:
                    oreType = 1053105;
                    break; // bronze
                case CraftResource.Gold:
                    oreType = 1053104;
                    break; // golden
                case CraftResource.Agapite:
                    oreType = 1053103;
                    break; // agapite
                case CraftResource.Verite:
                    oreType = 1053102;
                    break; // verite
                case CraftResource.Valorite:
                    oreType = 1053110;
                    break; // valorite
                case CraftResource.SpinedLeather:
                    oreType = 1061118;
                    break; // spined
                case CraftResource.HornedLeather:
                    oreType = 1061117;
                    break; // horned
                case CraftResource.BarbedLeather:
                    oreType = 1061116;
                    break; // barbed
                case CraftResource.EtherealLeather:
                    oreType = 1061116

What is 1061116 and how can I change it?

Also, 40 in this line of code:

Code:
         public override HideType HideType
        {
            get
            {
                return HideType.Ethereal;
            }
        }
        public override int Hides
        {
            get
            {
                return 40;
            }
        }

Also, this is the error I'm getting on compile:

Code:
Errors:
+ Mobiles/Normal/BaseCreature.cs:
    CS0246: Line 2189: The type or namespace name 'EtherealLeather' could not be found (are you missing a using directive or an assembly reference?)
    CS0246: Line 2216: The type or namespace name 'EtherealHides' could not be found (are you missing a using directive or an assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 
Last edited by a moderator:
What is 1061116 and how can I change it? this is the cliloc # You need to make a new cliloc for the new items Your adding (Fiddler)

get
{
return 40;
}

is the amount of leather or hides it gives


CS0246: Line 2189: The type or namespace name 'EtherealLeather' could not be found (are you missing a using directive or an assembly reference?) CS0246: Line 2216: The type or namespace name 'EtherealHides' could not be found (are you missing
Are these new items ?? are they scripted ??(if not then they will have to be scripted ) if scripted is spelling right caps where needed ??
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back