public MaginciaBazaarPlot(GenericReader reader)
        {
            int version = reader.ReadInt();

            m_Definition = new PlotDef(reader);

            m_Owner     = reader.ReadMobile();
            m_ShopName  = reader.ReadString();
            m_Merchant  = reader.ReadMobile() as BaseBazaarBroker;
            m_Sign      = reader.ReadItem() as PlotSign;
            m_PlotMulti = reader.ReadItem() as BaseBazaarMulti;

            if (reader.ReadBool())
            {
                m_Auction = new MaginciaPlotAuction(reader, this);
            }

            if (m_Merchant != null)
            {
                m_Merchant.Plot = this;
            }

            if (m_Sign != null)
            {
                m_Sign.Plot = this;
            }
        }
Beispiel #2
0
            public RecallRuneEntry(Mobile from, PlotSign sign)
                : base(1151508, -1)
            {
                m_Sign = sign;
                m_From = from;

                Enabled = from.InRange(sign.Location, 2);
            }
Beispiel #3
0
            public RecallRuneEntry(Mobile from, PlotSign sign)
                : base(1151508, -1)
            {
                m_Sign = sign;
                m_From = from;

                Enabled = from.InRange(sign.Location, 2);
            }
Beispiel #4
0
		public ShopRecallRuneGump(Mobile from, PlotSign sign)
		{
			m_Sign = sign;

            AddHtmlLocalized(195, 5, 150, 18, 1150385, RedColor16, false, false);     // New Magincia Bazaar
            AddHtmlLocalized(217, 40, 150, 18, 1151508, RedColor16, false, false);    // Shop Recall Rune
			
			// For a charge of 100gp, you will receive a recall rune marked for your bazaar stall.
			AddHtmlLocalized(10, 120, 500, 18, 1150458, RedColor16, false, false);
			
			AddButton(175, 150, 4005, 4007, 1, GumpButtonType.Reply, 0);
			AddHtml(215, 150, 150, 18, Color("PURCHASE", OrangeColor), false, false);
		}
 public void AddPlotSign()
 {
     m_Sign = new PlotSign(this);
     m_Sign.MoveToWorld(m_Definition.SignLoc, m_Definition.Map);
 }
Beispiel #6
0
		public MaginciaBazaarPlot(GenericReader reader)
		{
			int version = reader.ReadInt();

            m_Definition = new PlotDef(reader);

			m_Owner = reader.ReadMobile();
			m_ShopName = reader.ReadString();
			m_Merchant = reader.ReadMobile() as BaseBazaarBroker;
			m_Sign = reader.ReadItem() as PlotSign;
			m_PlotMulti = reader.ReadItem() as BaseBazaarMulti;
			
			if(reader.ReadBool())
				m_Auction = new MaginciaPlotAuction(reader, this);
				
			if(m_Merchant != null)
				m_Merchant.Plot = this;

            if (m_Sign != null)
                m_Sign.Plot = this;
		}
Beispiel #7
0
		public void AddPlotSign()
		{
			m_Sign = new PlotSign(this);
            m_Sign.MoveToWorld(m_Definition.SignLoc, m_Definition.Map);
		}