- Joined
- Oct 18, 2010
- Messages
- 48
- Reaction score
- 12
Hello again. I am using some v18 (custom) files, and something I can't just finish to learn, it's that, how can I add the different kinds of scrolls to sell, in the old fashion way of course, when you edit like that:
Some kind soul can explain me how can I put the scrolls in the shops like old v15, not with the "AddShopItem( 0, II_SYS_SYS_SCR_SMELPROT, 10000000 );" formula?
I really think I'm missing the key with the second number (1 or 2 or 3 in this case), or perhaps the last one (100 in this case), I don't know really; perhaps I can see some number or index in the specitem or in propitem? I really appreciate any help, any direction into the right way.
Code:
AddVendorItem( 0, IK3_SCROLL, -1, 1, 1, 100 );
AddVendorItem( 1, IK3_SCROLL, -1, 3, 3, 100 );
AddVendorItem( 2, IK3_SCROLL, -1, 2, 2, 100 );
Some kind soul can explain me how can I put the scrolls in the shops like old v15, not with the "AddShopItem( 0, II_SYS_SYS_SCR_SMELPROT, 10000000 );" formula?
I really think I'm missing the key with the second number (1 or 2 or 3 in this case), or perhaps the last one (100 in this case), I don't know really; perhaps I can see some number or index in the specitem or in propitem? I really appreciate any help, any direction into the right way.

