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 Soigneur : BaseVendor |
8 | { | |
9 | [Constructable] | |
10 | - | public VendeurPetitsFruits() |
10 | + | public Soigneur() |
11 | - | : base("Vendeur de petits fruits") |
11 | + | : base("Soigneur") |
12 | { | |
13 | - | Name = "Armando"; |
13 | + | Name = "Joline"; |
14 | } | |
15 | ||
16 | ||
17 | - | public VendeurPetitsFruits(Serial serial) |
17 | + | public Soigneur(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 Aasimar(0)); |
29 | - | HairItemID = 10216; |
29 | + | HairItemID = 8253; |
30 | - | HairHue = 1109; |
30 | + | HairHue = 1433; |
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 TogeAmple(2074)); |
38 | - | AddItem(new GoldEarrings()); |
38 | + | AddItem(new ColierLong(1940)); |
39 | - | AddItem(new LeatherLegs()); |
39 | + | AddItem(new Sandals(1940)); |
40 | - | AddItem(new BottesVoyage(2044)); |
40 | + | |
41 | - | AddItem(new CapeDecore(2044)); |
41 | + | |
42 | - | AddItem(new FourreauDague()); |
42 | + | |
43 | private List<SBInfo> m_SBInfos = new List<SBInfo>(); | |
44 | protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } } | |
45 | ||
46 | public override void InitSBInfo() | |
47 | { | |
48 | m_SBInfos.Add( new SBPSoins() ); | |
49 | } | |
50 | - | m_SBInfos.Add( new SBPetitsFruits() ); |
50 | + | |
51 | public override void Serialize( GenericWriter writer ) | |
52 | { | |
53 | base.Serialize( writer ); | |
54 | ||
55 | writer.Write( (int) 0 ); // version | |
56 | } | |
57 | ||
58 | public override void Deserialize( GenericReader reader ) | |
59 | { | |
60 | base.Deserialize( reader ); | |
61 | ||
62 | int version = reader.ReadInt(); | |
63 | } | |
64 | ||
65 | } | |
66 | ||
67 | public class SBSoins : SBInfo | |
68 | { | |
69 | - | public class SBPetitsFruits : SBInfo |
69 | + | |
70 | private IShopSellInfo m_SellInfo = new InternalSellInfo(); | |
71 | ||
72 | public SBSoins() | |
73 | { | |
74 | - | public SBPetitsFruits() |
74 | + | |
75 | ||
76 | public override IShopSellInfo SellInfo { get { return m_SellInfo; } } | |
77 | public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } } | |
78 | ||
79 | public class InternalBuyInfo : List<GenericBuyInfo> | |
80 | { | |
81 | public InternalBuyInfo() | |
82 | { | |
83 | Add(new GenericBuyInfo(typeof(Bandage), Bandage.GoldValue, 20, 0xE21, 0)); // 3 | |
84 | Add(new GenericBuyInfo(typeof(Garlic), Garlic.GoldValue, 100, 0xF84, 0)); // 3 | |
85 | - | Add(new GenericBuyInfo(typeof(Banana), 3, 20, 0x171f, 0)); |
85 | + | Add(new GenericBuyInfo(typeof(Ginseng), Ginseng.GoldValue, 100, 0xF85, 0)); // 3 |
86 | - | Add(new GenericBuyInfo(typeof(Apple), 3, 20, 0x9D0, 0)); |
86 | + | Add(new GenericBuyInfo(typeof(Mandrakeroot), Mandrakeroot.GoldValue, 100, 0xF86, 0)); // 3 |
87 | - | Add(new GenericBuyInfo(typeof(Grapes), 3, 20, 0x9D1, 0)); |
87 | + | Add(new GenericBuyInfo(typeof(SpiderSilk), SpiderSilk.GoldValue, 50, 0xF8D, 0)); // 3 |
88 | - | Add(new GenericBuyInfo(typeof(Peach), 3, 20, 0x9D2, 0)); |
88 | + | Add(new GenericBuyInfo(typeof(Bottle), Bottle.GoldValue, 20, 0xF0E, 0)); // 3 |
89 | - | Add(new GenericBuyInfo(typeof(Pear), 3, 20, 0x994, 0)); |
89 | + | Add(new GenericBuyInfo(typeof(BookOfChivalry), BookOfChivalry.GoldValue, 20, 0x2252, 0)); // 27 |
90 | - | Add(new GenericBuyInfo(typeof(Squash), 3, 20, 0xc72, 0)); |
90 | + | Add(new GenericBuyInfo(typeof(WashBassin), WashBassin.GoldValue, 20, 0x1008, 0)); // 3 |
91 | - | Add(new GenericBuyInfo(typeof(Pumpkin), 3, 20, 0xc64, 0)); |
91 | + | |
92 | - | Add(new GenericBuyInfo(typeof(Carrot), 3, 20, 0xc78, 0)); |
92 | + | |
93 | - | Add(new GenericBuyInfo(typeof(Onion), 3, 20, 0xc62, 0)); |
93 | + | |
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 InternalSellInfo() | |
98 | { | |
99 | } | |
100 | } | |
101 | } | |
102 | } |