A market selling specific item

Status
Not open for further replies.
  • (Item-type of (Sold Item)) Equal to Tome of Experience
If this isn't what you want, you'll need to elaborate on what your trying to do. Why do you need to check if a shop sells a certain item? You should know what items are being sold by the shop in the first place.
 
Well, you'll check if the shop is the one that is selling that item. Or, if you added the items via trigger then put the shop into a unit group or a unit variable (if there can be only one shop with that item) and use it to find the shop
 
I think he means like the neutral marketplace building. How do you know if it's selling a particular item?

I don't have the answer and I'm not even really sure how the marketplace works.
 
Well, you are the one that's putting the items in the shop right?
The items can also be added during the game in a way you can't predict which shop contains a certain item, so, if that's the case, you need to store the shop in a variable when adding the item into the shop through a trigger. Understand?
 
Status
Not open for further replies.
Back
Top