buyable items
Posted: Mon Jun 17, 2013 5:29 am
How can i set items to buy for every type of merchant?
As docs says:
so i use
res := SendSellWindow( ev.source, self(), inv_fs, inv_pb, inv_1c, VENDOR_SEND_AOS_TOOLTIP );
my inv_1c container is empty, so if i right understand my vendor has no items to buy?
But that is wrong. Merchant is able to buy every item with item.buyprice > 0
How can i control it?
As docs says:
Code: Select all
SendSellWindow( character, vendor, i1, i2, i3, flags := 0 )
i1 = vendor's "For sale" item containter. i2 = vendor's "Bought from player" item container. i3 = vendor's "Buyable" item container.res := SendSellWindow( ev.source, self(), inv_fs, inv_pb, inv_1c, VENDOR_SEND_AOS_TOOLTIP );
my inv_1c container is empty, so if i right understand my vendor has no items to buy?
But that is wrong. Merchant is able to buy every item with item.buyprice > 0
How can i control it?