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 Tanneur : BaseVendor |
7 | + | public class Archiviste : BaseVendor |
8 | { | |
9 | [Constructable] | |
10 | - | public Tanneur() |
10 | + | public Archiviste() |
11 | - | : base("Tanneur") |
11 | + | : base("Archiviste") |
12 | { | |
13 | - | Name = "Eorane"; |
13 | + | Name = "Grégoire"; |
14 | } | |
15 | ||
16 | ||
17 | - | public Tanneur(Serial serial) |
17 | + | public Archiviste(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 | |
27 | ||
28 | - | SetRace(new Elfe(1023)); |
28 | + | SetRace(new Capiceen(1013)); |
29 | - | HairItemID = 10212; |
29 | + | HairItemID = 10222; |
30 | - | HairHue = 1149; |
30 | + | HairHue = 1103; |
31 | - | FacialHairItemID = 0; |
31 | + | FacialHairItemID = 10309; |
32 | - | FacialHairHue = 0; |
32 | + | FacialHairHue = 1103; |
33 | } | |
34 | ||
35 | public override void InitOutfit() | |
36 | { | |
37 | - | AddItem(new ThighBoots(2164)); |
37 | + | AddItem(new TogeAmple(2038)); |
38 | - | AddItem(new LeatherChest(2164)); |
38 | + | AddItem(new NewSpellBook(2165)); |
39 | - | AddItem(new LeatherLegs(2170)); |
39 | + | AddItem(new Shoes(1883)); |
40 | - | AddItem(new LeatherArms(2170)); |
40 | + | |
41 | - | AddItem(new LeatherGloves(2165)); |
41 | + | |
42 | - | AddItem(new LeatherGorget(2165)); |
42 | + | |
43 | - | AddItem(new CapeVoyage(1445)); |
43 | + | |
44 | - | AddItem(new Fourreauepee(0)); |
44 | + | |
45 | - | AddItem(new Bandana(1442)); // Il faudrait changer le layer pour Bracelet |
45 | + | |
46 | public override void InitSBInfo() | |
47 | { | |
48 | m_SBInfos.Add( new SBLivres() ); | |
49 | } | |
50 | ||
51 | public override void Serialize( GenericWriter writer ) | |
52 | { | |
53 | base.Serialize( writer ); | |
54 | - | m_SBInfos.Add( new SBTannage() ); |
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 SBLivres : SBInfo | |
68 | { | |
69 | private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo(); | |
70 | private IShopSellInfo m_SellInfo = new InternalSellInfo(); | |
71 | ||
72 | public SBLivres() | |
73 | - | public class SBTannage : SBInfo |
73 | + | |
74 | } | |
75 | ||
76 | public override IShopSellInfo SellInfo { get { return m_SellInfo; } } | |
77 | public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } } | |
78 | - | public SBTannage() |
78 | + | |
79 | public class InternalBuyInfo : List<GenericBuyInfo> | |
80 | { | |
81 | public InternalBuyInfo() | |
82 | { | |
83 | ||
84 | Add(new GenericBuyInfo(typeof(BlankScroll), 20, 0xEF3, 0)); // 3 | |
85 | Add(new GenericBuyInfo(typeof(BrownBook), 20, 0xFEF, 0)); // 6 | |
86 | Add(new GenericBuyInfo(typeof(TanBook), 20, 0xFF0, 0)); // 6 | |
87 | Add(new GenericBuyInfo(typeof(BlueBook), 20, 0xFF2, 0)); // 6 | |
88 | Add(new GenericBuyInfo(typeof(RedBook), 20, 0xFF1, 0)); // 6 | |
89 | Add(new GenericBuyInfo(typeof(SribesPen), 20, 0xFBF, 0)); // 6 | |
90 | - | Add(new GenericBuyInfo(typeof(LeatherArms), 20, 0x13CD, 0)); // 9 |
90 | + | Add(new GenericBuyInfo(typeof(LivreOuvert), 20, 0xFBE, 0)); // 6 |
91 | - | Add(new GenericBuyInfo(typeof(LeatherCap), 20, 0x1DB9, 0)); // 9 |
91 | + | |
92 | - | Add(new GenericBuyInfo(typeof(LeatherGloves), 20, 0x13C6, 0)); // 9 |
92 | + | |
93 | - | Add(new GenericBuyInfo(typeof(LeatherGorget), 20, 0x13C7, 0)); // 9 |
93 | + | |
94 | - | Add(new GenericBuyInfo(typeof(Hides), 20, 0x1079, 0)); // 3 |
94 | + | |
95 | - | Add(new GenericBuyInfo(typeof(LeatherLegs), 20, 0x13CB, 0)); // 15 |
95 | + | |
96 | - | Add(new GenericBuyInfo(typeof(LeatherChest), 20, 0x13CC, 0)); // 21 |
96 | + | |
97 | - | Add(new GenericBuyInfo(typeof(BoneLeatherSewingKit), 20, 0xE1F, 0)); // 6 |
97 | + | |
98 | - | Add(new GenericBuyInfo(typeof(MediumStretchedHideSouthDeed), 20, 0x14F0, 0)); // 33 |
98 | + | |
99 | - | Add(new GenericBuyInfo(typeof(MediumStretchedHideEastDeed), 20, 0x14F0, 0)); // 33 |
99 | + | |
100 | - | Add(new GenericBuyInfo(typeof(SmallStretchedHideSouthDeed), 20, 0x14F0, 0)); // 27 |
100 | + | |
101 | - | Add(new GenericBuyInfo(typeof(SmallStretchedHideEastDeed), 20, 0x14F0, 0)); // 27 |
101 | + | |
102 | - | Add(new GenericBuyInfo(typeof(FourrureClaire), 20, 0x11F6, 0)); // 21 |
102 | + | |
103 | - | Add(new GenericBuyInfo(typeof(FourrureSombre), 20, 0x11F5, 0)); // 21 |
103 | + |