Thank you
[doublepost=1537081124][/doublepost]Cant figure out how to do it i found it but it just messes up when i fiddle with it
 
basevendor around line 109

Code:
public override void OnClick()
            {
                if ( m_Vendor.SupportsBulkOrders( m_From ) )
                {
                    TimeSpan ts = m_Vendor.GetNextBulkOrder( m_From );

                    int totalSeconds = (int)ts.TotalSeconds;
                    int totalHours = (totalSeconds + 3599) / 3600;
                    int totalMinutes = (totalSeconds + 59) / 60; //Change here

                    if ( ((Core.SE ) ? totalMinutes == 0 : totalHours == 0) )
                    {
                        m_From.SendLocalizedMessage( 1049038 ); // You can get an order now.

                        if ( Core.AOS )
                        {
                            Item bulkOrder = m_Vendor.CreateBulkOrder( m_From, true );

                            if ( bulkOrder is LargeBOD )
                                m_From.SendGump( new LargeBODAcceptGump( m_From, (LargeBOD)bulkOrder ) );
                            else if ( bulkOrder is SmallBOD )
                                m_From.SendGump( new SmallBODAcceptGump( m_From, (SmallBOD)bulkOrder ) );
                        }
                    }
                    else
                    {
                        int oldSpeechHue = m_Vendor.SpeechHue;
                        m_Vendor.SpeechHue = 0x3B2;
                       
                        if( Core.SE )
                            m_Vendor.SayTo( m_From, 1072058, totalMinutes.ToString() ); // An offer may be available in about ~1_minutes~ minutes.
                        else
                            m_Vendor.SayTo( m_From, 1049039, totalHours.ToString() ); // An offer may be available in about ~1_hours~ hours.

                        m_Vendor.SpeechHue = oldSpeechHue;
                    }
                }
            }
        }
 
Ive seen on some shards that people add spawners for bods to allow players to collect them that way. Or you could add bods bags on a vendor for a price or something.

Bodsbags attached is for the older system that was just smith and tailor bods but can be easily updated..
 

Attachments

  • bodbag.cs
    2.2 KB · Views: 5
Back