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 Pecheur : BaseVendor |
7 | + | public class Pecheur2 : BaseVendor |
8 | { | |
9 | [Constructable] | |
10 | - | public Pecheur() |
10 | + | public Pecheur2() |
11 | : base("Pêcheur") | |
12 | { | |
13 | - | Name = "Bryson"; |
13 | + | Name = "Damien"; |
14 | } | |
15 | ||
16 | ||
17 | - | public Pecheur(Serial serial) |
17 | + | public Pecheur2(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 Nordique(1023)); |
28 | + | SetRace(new Capiceen(1002)); |
29 | - | HairItemID = 8252; |
29 | + | HairItemID = 10298; |
30 | - | HairHue = 1116; |
30 | + | HairHue = 1318; |
31 | - | FacialHairItemID = 8257; |
31 | + | FacialHairItemID = 0; |
32 | - | FacialHairHue = 1116; |
32 | + | FacialHairHue = 0; |
33 | } | |
34 | ||
35 | public override void InitOutfit() | |
36 | { | |
37 | - | AddItem(new Chandail(o)); |
37 | + | AddItem(new Chandail(1830)); |
38 | - | AddItem(new PantalonsEechires(o)); |
38 | + | AddItem(new ShortPants(1451)); |
39 | - | AddItem(new Bottes(o)); |
39 | + | AddItem(new Shoes(1894)); |
40 | - | AddItem(new GoldEarrings(o)); |
40 | + | AddItem(new FishingPole(o)); |
41 | ||
42 | ||
43 | } | |
44 | ||
45 | private List<SBInfo> m_SBInfos = new List<SBInfo>(); | |
46 | protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } } | |
47 | ||
48 | public override void InitSBInfo() | |
49 | { | |
50 | - | m_SBInfos.Add( new SBPoisson() ); |
50 | + | m_SBInfos.Add( new SBPoisson2() ); |
51 | } | |
52 | ||
53 | public override void Serialize( GenericWriter writer ) | |
54 | { | |
55 | base.Serialize( writer ); | |
56 | ||
57 | writer.Write( (int) 0 ); // version | |
58 | } | |
59 | ||
60 | public override void Deserialize( GenericReader reader ) | |
61 | { | |
62 | base.Deserialize( reader ); | |
63 | ||
64 | int version = reader.ReadInt(); | |
65 | } | |
66 | ||
67 | } | |
68 | ||
69 | - | public class SBPoisson : SBInfo |
69 | + | public class SBPoisson2 : SBInfo |
70 | { | |
71 | private List<GenericBuyInfo> m_BuyInfo = new InternalBuyInfo(); | |
72 | private IShopSellInfo m_SellInfo = new InternalSellInfo(); | |
73 | ||
74 | - | public SBPoisson() |
74 | + | public SBPoisson2() |
75 | { | |
76 | } | |
77 | ||
78 | public override IShopSellInfo SellInfo { get { return m_SellInfo; } } | |
79 | public override List<GenericBuyInfo> BuyInfo { get { return m_BuyInfo; } } | |
80 | ||
81 | public class InternalBuyInfo : List<GenericBuyInfo> | |
82 | { | |
83 | public InternalBuyInfo() | |
84 | { | |
85 | ||
86 | Add(new GenericBuyInfo(typeof(Fish), 20, 0x9CE, 0)); // 9 | |
87 | Add(new GenericBuyInfo(typeof(Fishsteak), 20, 0x97B, 0)); // 3 | |
88 | Add(new GenericBuyInfo(typeof(AnchoieFish), 20, 0xDD6, 0)); // 9 | |
89 | Add(new GenericBuyInfo(typeof(HuitreFish), 20, 0x104F, 0)); // 9 | |
90 | Add(new GenericBuyInfo(typeof(ColierCquillages), 20, 0x3171, 0)); | |
91 | Add(new GenericBuyInfo(typeof(FishingPole), 20, 0xDC0, 0)); // 9 | |
92 | Add(new GenericBuyInfo(typeof(FishingNet), 20, 0xDCA, 0)); // 21 | |
93 | Add(new GenericBuyInfo(typeof(Coquillage), 20, 0xFC7, 0)); // 6 | |
94 | Add(new GenericBuyInfo(typeof(Algue), 20, 0x2B30, 0)); // 9 à créer | |
95 | Add(new GenericBuyInfo(typeof(Poisson), 20, 0x2B38, 0)); // 15 à créer | |
96 | Add(new GenericBuyInfo(typeof(CoquillageGeant), 20, 0x3B12, 0)); // 27 à créer | |
97 | Add(new GenericBuyInfo(typeof(CounchShell), 20, 0xFC4, 0)); // 21 à créer | |
98 | Add(new GenericBuyInfo(typeof(EtoileDeMer), 20, 0x1C0E, 0)); // 21 à créer | |
99 | ||
100 | ||
101 | } | |
102 | } | |
103 | ||
104 | public class InternalSellInfo : GenericSellInfo | |
105 | { | |
106 | public InternalSellInfo() | |
107 | { | |
108 | } | |
109 | } | |
110 | } | |
111 | } |