Iomega0318

Member
ServUO Version
Publish 57
Ultima Expansion
Endless Journey
I am trying to modify a vendor based on the Vita Nex Custom Vendor, so in the code I have the following to add items to the sell list,
C#:
            AddStock<AgelessHouseDeed>(100);
            AddStock<HouseIslandDeed>(100);
            AddStock<CustomHouseDeed>(250);
            AddStock<CustomGuildHouseDeed>(250);
            AddStock<AllSkillBaseDeed135>(250);
            AddStock<AllSkillBaseDeed175>(350);
            AddStock<SkillCodex(7)>(350);
I am trying to add the SkillCodex from the same mod, in game you can use [add SkillCodex (Value) to apply a modifier to the in game item I am trying to do the same thing on the vendor but not exactly sure how. Using the above code does not work.
 
Oh that made more sense now that you posted that, still not sure how to throw that argument in there though but I see where/how it fits now.

**EDIT**
Got it, found another post answered by you and figured it out from that :)
C#:
AddStock<SkillCodex>(350, null, 100, new object[] { 7 });
 
Last edited:

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back