SHOW:
|
|
- or go back to the newest paste.
| 1 | using Server.Engines.Races; | |
| 2 | using Server.Items; | |
| 3 | using System.Collections.Generic; | |
| 4 | ||
| 5 | namespace Server.Mobiles.Vendeurs | |
| 6 | {
| |
| 7 | - | public class VendeurPetitsFruits : BaseVendor |
| 7 | + | public class Luthier : BaseVendor |
| 8 | {
| |
| 9 | [Constructable] | |
| 10 | - | public VendeurPetitsFruits() |
| 10 | + | public Luthier () |
| 11 | - | : base("Vendeur de petits fruits")
|
| 11 | + | : base("Luthier")
|
| 12 | {
| |
| 13 | - | Name = "Armando"; |
| 13 | + | Name = "Rosaline d'Arane"; |
| 14 | } | |
| 15 | ||
| 16 | ||
| 17 | - | public VendeurPetitsFruits(Serial serial) |
| 17 | + | public Luthier(Serial serial) |
| 18 | : base(serial) | |
| 19 | {
| |
| 20 | } | |
| 21 | ||
| 22 | public override void InitBody() | |
| 23 | {
| |
| 24 | SpeechHue = Utility.RandomDyedHue(); | |
| 25 | NameHue = 0x35; | |
| 26 | - | Body = 0x190; //male |
| 26 | + | Body = 0x191; //female |
| 27 | ||
| 28 | - | SetRace(new Nomade(1142)); |
| 28 | + | SetRace(new Capiceen(1002)); |
| 29 | - | HairItemID = 10216; |
| 29 | + | HairItemID = 10399; |
| 30 | - | HairHue = 1109; |
| 30 | + | HairHue = 1506; |
| 31 | - | FacialHairItemID = 10315; |
| 31 | + | FacialHairItemID = 0; |
| 32 | - | FacialHairHue = 1109; |
| 32 | + | FacialHairHue = 0; |
| 33 | } | |
| 34 | ||
| 35 | public override void InitOutfit() | |
| 36 | {
| |
| 37 | - | AddItem(new ChemiseAmple()); |
| 37 | + | AddItem(new JupeAmple(2044)); |
| 38 | - | AddItem(new GoldEarrings()); |
| 38 | + | AddItem(new CorsetAmple(2325)); |
| 39 | - | AddItem(new LeatherLegs()); |
| 39 | + | AddItem(new Ceinturelongue(2326)); |
| 40 | - | AddItem(new BottesVoyage(2044)); |
| 40 | + | AddItem(new colierLargeRubis(0)); |
| 41 | - | AddItem(new CapeDecore(2044)); |
| 41 | + | AddItem(new ChapeauNoble(2325)); |
| 42 | - | AddItem(new FourreauDague()); |
| 42 | + | AddItem(new GoldRing(1940)); |
| 43 | AddItem(new Goldearring(2325)); | |
| 44 | } | |
| 45 | ||
| 46 | private List<SBInfo> m_SBInfos = new List<SBInfo>(); | |
| 47 | protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
| |
| 48 | ||
| 49 | public override void InitSBInfo() | |
| 50 | - | m_SBInfos.Add( new SBPetitsFruits() ); |
| 50 | + | |
| 51 | m_SBInfos.Add( new SBInstrumentsMusique() ); | |
| 52 | } | |
| 53 | ||
| 54 | public override void Serialize( GenericWriter writer ) | |
| 55 | {
| |
| 56 | base.Serialize( writer ); | |
| 57 | ||
| 58 | writer.Write( (int) 0 ); // version | |
| 59 | } | |
| 60 | ||
| 61 | public override void Deserialize( GenericReader reader ) | |
| 62 | {
| |
| 63 | base.Deserialize( reader ); | |
| 64 | ||
| 65 | int version = reader.ReadInt(); | |
| 66 | } | |
| 67 | ||
| 68 | } | |
| 69 | - | public class SBPetitsFruits : SBInfo |
| 69 | + | |
| 70 | public class SBInstrumentsMusique : SBInfo | |
| 71 | {
| |
| 72 | private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo(); | |
| 73 | private IShopSellInfo m_SellInfo = new InternalSellInfo(); | |
| 74 | - | public SBPetitsFruits() |
| 74 | + | |
| 75 | public SBInstrumentsMusique() | |
| 76 | {
| |
| 77 | } | |
| 78 | ||
| 79 | public override IShopSellInfo SellInfo { get { return m_SellInfo; } }
| |
| 80 | public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } }
| |
| 81 | ||
| 82 | public class InternalBuyInfo : List<GenericBuyInfo> | |
| 83 | {
| |
| 84 | public InternalBuyInfo() | |
| 85 | - | Add(new GenericBuyInfo(typeof(Banana), 3, 20, 0x171f, 0)); |
| 85 | + | |
| 86 | - | Add(new GenericBuyInfo(typeof(Apple), 3, 20, 0x9D0, 0)); |
| 86 | + | Add(new GenericBuyInfo(typeof(Harp), Harp.GoldValue, 20, 0xEB1, 0)); // 21 |
| 87 | - | Add(new GenericBuyInfo(typeof(Grapes), 3, 20, 0x9D1, 0)); |
| 87 | + | Add(new GenericBuyInfo(typeof(LapHarp), LapHarp.GoldValue, 20, 0xEB2, 0)); // 15 |
| 88 | - | Add(new GenericBuyInfo(typeof(Peach), 3, 20, 0x9D2, 0)); |
| 88 | + | Add(new GenericBuyInfo(typeof(TambourineTassel), TambourineTassel.GoldValue, 20, 0xE9E, 0)); // 9 |
| 89 | - | Add(new GenericBuyInfo(typeof(Pear), 3, 20, 0x994, 0)); |
| 89 | + | Add(new GenericBuyInfo(typeof(Drums), Drum.GoldValue, 20, 0xE9C, 0)); // 9 |
| 90 | - | Add(new GenericBuyInfo(typeof(Squash), 3, 20, 0xc72, 0)); |
| 90 | + | Add(new GenericBuyInfo(typeof(BambooFlute), BambooFlute.GoldValue, 20, 0x2805, 0)); // 15 |
| 91 | - | Add(new GenericBuyInfo(typeof(Pumpkin), 3, 20, 0xc64, 0)); |
| 91 | + | Add(new GenericBuyInfo(typeof(Lute), Lute.GoldValue, 20, 0xEB3, 0)); // 15 |
| 92 | - | Add(new GenericBuyInfo(typeof(Carrot), 3, 20, 0xc78, 0)); |
| 92 | + | Add(new GenericBuyInfo(typeof(Partitions), Partitions.GoldValue, 20, 0xEBD, 0)); // 6 |
| 93 | - | Add(new GenericBuyInfo(typeof(Onion), 3, 20, 0xc62, 0)); |
| 93 | + | Add(new GenericBuyInfo(typeof(Lutrin), Lutrin.Goldvalue, 20, 0xEAB, 0)); // 21 |
| 94 | - | Add(new GenericBuyInfo(typeof(Lettuce), 3, 20, 0xc70, 0)); |
| 94 | + | |
| 95 | - | Add(new GenericBuyInfo(typeof(Cabbage), 3, 20, 0xc7b, 0)); |
| 95 | + | |
| 96 | - | Add(new GenericBuyInfo(typeof(Watermelon), 3, 20, 0xc5c, 0)); |
| 96 | + | |
| 97 | public class InternalSellInfo : GenericSellInfo | |
| 98 | {
| |
| 99 | public InternalSellInfo() | |
| 100 | {
| |
| 101 | } | |
| 102 | } | |
| 103 | } | |
| 104 | } |