OP

m2mutomasa

Initiate
ServUO Version
Publish 57
Ultima Expansion
Endless Journey
I would like to have a vendor sell Valorite weapons and armor, but how should I describe it?
Thank you for your help.

this.Add(new GenericBuyInfo(typeof(PlateChest), 243, 20, 0x1415, 0));
 
You'd need to create a script that is of the various resource types and add them to the sell side of the vendor, the code you posted is for what the vendor buys! Sell just requires the Type and price, type is the name of the class of the item, as there are no Valorite Plate Armors, just plate and the resource only added to, you need to have a item that already exist instead of crafted! Hope that makes sense!
 
Your post inspired me to create a mobile to handle the selling resource gear by acting as a resource upgrader, for a cost! It would be one way of achieving what you desire, the other would be to script all the items as there resource type and add to vendor sell info!

 

Active Shards

Donations

Total amount
$110.00
Goal
$1,000.00
Back