I want to make a shop that has some items with certain requirements to have. I was having a major problem with the requirements NOT appearing on the item in the stores, despite the item having the requirements in the object editor.
After some testing, I realized that for the shop in the object editor, the inventory that you want to have requirements with (before you can buy) need to be under the category of "Techtree - Items Made" instead of "Techtree - Items Sold".
Now here is the problem...my hero can't seem to buy stuff that is listed under "Techtree - Items Made". It comes up with a message "No valid target" or something like that, as if a unit that can buy it is not nearby. Plus, all of my triggers for the items in this shop are based upon "Unit - A unit Sells an item (from shop)".
Does anyone know anything about how to make this work properly? Thanks!
After some testing, I realized that for the shop in the object editor, the inventory that you want to have requirements with (before you can buy) need to be under the category of "Techtree - Items Made" instead of "Techtree - Items Sold".
Now here is the problem...my hero can't seem to buy stuff that is listed under "Techtree - Items Made". It comes up with a message "No valid target" or something like that, as if a unit that can buy it is not nearby. Plus, all of my triggers for the items in this shop are based upon "Unit - A unit Sells an item (from shop)".
Does anyone know anything about how to make this work properly? Thanks!