Пример #1
0
        public void OnOptionSelected(Mobile from, int choice)
        {
            m_HorseBardingType = (HorseBardingType)choice;

            if (!Deleted)
            {
                base.OnDoubleClick(from);
            }
        }
Пример #2
0
        public HorseBardingAddon(HorseBardingType type)
        {
            m_HorseBardingType = type;

            switch (type)
            {
            case HorseBardingType.South:
                AddComponent(new AddonComponent(4984), 0, 0, 0);
                AddComponent(new AddonComponent(4985), 0, -1, 0);
                break;

            case HorseBardingType.East:
                AddComponent(new AddonComponent(4983), 0, 0, 0);
                AddComponent(new AddonComponent(4982), -1, 0, 0);
                break;
            }
        }
Пример #3
0
        public HorseBardingAddon( HorseBardingType type )
        {
            m_HorseBardingType = type;

            switch ( type )
            {
                case HorseBardingType.South:
                    AddComponent( new AddonComponent( 4984 ), 0, 0, 0 );
                    AddComponent( new AddonComponent( 4985 ), 0, -1, 0 );
                    break;
                case HorseBardingType.East:
                    AddComponent( new AddonComponent( 4983 ), 0, 0, 0 );
                    AddComponent( new AddonComponent( 4982 ), -1, 0, 0 );
                    break;

            }
        }
Пример #4
0
        public void OnOptionSelected( Mobile from, int choice )
        {
            m_HorseBardingType = (HorseBardingType) choice;

            if ( !Deleted )
                base.OnDoubleClick( from );
        }