psz
Administrator
Getting vendors to buy more than regular leather
Here's a snippet from my SBTanner. I'm trying to get him to buy all four types of cut leather for 3gold each.
He'll buy the regular cut leather, but NOT the spined, horned, or barbed.
[code:1] public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Scissors ), 6 );
Add( typeof( Leather ), 3);
Add( typeof( SpinedLeather ), 3);
Add( typeof( HornedLeather ), 3);
Add( typeof( BarbedLeather ), 3);
}
[/code:1]
No errors at startup. I've respawned the tanners, but yet they still refuse to buy the other leather types. Makes being a newbie tailor/leather worker a bit difficult (And makes killing lizardmen/ratmen useless in that regard)
Here's a snippet from my SBTanner. I'm trying to get him to buy all four types of cut leather for 3gold each.
He'll buy the regular cut leather, but NOT the spined, horned, or barbed.
[code:1] public class InternalSellInfo : GenericSellInfo
{
public InternalSellInfo()
{
Add( typeof( Scissors ), 6 );
Add( typeof( Leather ), 3);
Add( typeof( SpinedLeather ), 3);
Add( typeof( HornedLeather ), 3);
Add( typeof( BarbedLeather ), 3);
}
[/code:1]
No errors at startup. I've respawned the tanners, but yet they still refuse to buy the other leather types. Makes being a newbie tailor/leather worker a bit difficult (And makes killing lizardmen/ratmen useless in that regard)