Пример #1
0
 public VendorRentalOfferGump(VendorRentalContract contract, Mobile landlord) : base(
         GumpType.Offer, contract.Duration, contract.Price, contract.Price,
         landlord, null, contract.LandlordRenew, false, false)
 {
     m_Contract = contract;
     m_Landlord = landlord;
 }
Пример #2
0
 public VendorRentalContractGump(VendorRentalContract contract, Mobile from)
     : base(
         contract.IsLockedDown ? GumpType.LockedContract : GumpType.UnlockedContract, contract.Duration,
         contract.Price, contract.Price, from, null, contract.LandlordRenew, false, false)
 {
     m_Contract = contract;
 }
Пример #3
0
            public InternalSellInfo()
            {
                Add(typeof(VendorRentalContract), VendorRentalContract.GetSBSellValue());

                Add(typeof(Torch), Torch.GetSBSellValue());
                Add(typeof(Candle), Candle.GetSBSellValue());
                Add(typeof(Backpack), Backpack.GetSBSellValue());
                Add(typeof(Bag), Bag.GetSBSellValue());
                Add(typeof(Pouch), Pouch.GetSBSellValue());

                Add(typeof(Chessboard), Chessboard.GetSBSellValue());
                Add(typeof(CheckerBoard), CheckerBoard.GetSBSellValue());
                Add(typeof(Backgammon), Backgammon.GetSBSellValue());
                Add(typeof(Dices), Dices.GetSBSellValue());
            }
Пример #4
0
 public OfferContractTarget(VendorRentalContract contract)
     : base(-1, false, TargetFlags.None)
 {
     m_Contract = contract;
 }
Пример #5
0
 public PricePerRentalPrompt(VendorRentalContract contract)
 {
     m_Contract = contract;
 }
Пример #6
0
            public InternalBuyInfo()
            {
                Add(new GenericBuyInfo("Vendor Rental Contract", typeof(VendorRentalContract), VendorRentalContract.GetSBPurchaseValue(), 25, 0x14F0, 0));

                Add(new GenericBuyInfo("Lantern", typeof(Lantern), Lantern.GetSBPurchaseValue(), 25, 0xA25, 0));
                Add(new GenericBuyInfo("Torch", typeof(Torch), Torch.GetSBPurchaseValue(), 25, 0xF6B, 0));
                Add(new GenericBuyInfo("Candle", typeof(Candle), Candle.GetSBPurchaseValue(), 25, 0xA28, 0));
                Add(new GenericBuyInfo("Backpack", typeof(Backpack), Backpack.GetSBPurchaseValue(), 25, 0x9B2, 0));
                Add(new GenericBuyInfo("Bag", typeof(Bag), Bag.GetSBPurchaseValue(), 25, 0xE76, 0));
                Add(new GenericBuyInfo("Pouch", typeof(Pouch), Pouch.GetSBPurchaseValue(), 25, 0xE79, 0));

                Add(new GenericBuyInfo("Chess Board", typeof(Chessboard), Chessboard.GetSBPurchaseValue(), 25, 0xFA6, 0));
                Add(new GenericBuyInfo("Checker Board", typeof(CheckerBoard), CheckerBoard.GetSBPurchaseValue(), 25, 0xFA6, 0));
                Add(new GenericBuyInfo("Backgammon", typeof(Backgammon), Backgammon.GetSBPurchaseValue(), 25, 0xE1C, 0));
                Add(new GenericBuyInfo("Dice", typeof(Dices), Dices.GetSBPurchaseValue(), 25, 0xFA7, 0));
            }
Пример #7
0
 public PricePerRentalPrompt(Mobile from, VendorRentalContract contract)
     : base(contract)
 {
     m_Contract = contract;
 }
Пример #8
0
 public InternalSellInfo()
 {
     Add(typeof(CommodityDeed), CommodityDeed.GetSBSellValue());
     Add(typeof(VendorRentalContract), VendorRentalContract.GetSBSellValue());
 }
Пример #9
0
 public InternalBuyInfo()
 {
     Add(new GenericBuyInfo("Commodity Deed", typeof(CommodityDeed), CommodityDeed.GetSBPurchaseValue(), 25, 0x14F0, 0x47));
     Add(new GenericBuyInfo("Vendor Rental Contract", typeof(VendorRentalContract), VendorRentalContract.GetSBPurchaseValue(), 25, 0x14F0, 0));
 }