tarantonio
Old School Player
- Joined
- Jun 21, 2009
- Messages
- 868
- Solutions
- 1
- Reaction score
- 286
I want to make an npc that buy/sell items, but I don't want to use npc libs, I want to code the shop into npc lua script.
I need help with the amount of items to buy/sell.
Example:
player: sell 3 serpent swords
npc: do you want to sell 3 serpent swords?
How do I manage the amount (3 in this example) in the lua script?
I need help with the amount of items to buy/sell.
Example:
player: sell 3 serpent swords
npc: do you want to sell 3 serpent swords?
How do I manage the amount (3 in this example) in the lua script?