I am working on a PoG plug-in and have reached a snag that stops my progress. The story has the hero collect 50 of a certain item to trade with an NPC for information. I have set the item up in the item editor so that the action link on the item display tab is supposed to add one to the item's global every time one is acquired. And in the use/drop links it is supposed to subtract one from the global if the hero drops or uses the item.
When the hero meets the NPC a conditional checks the global for this item and, if its value is 50 or greater, a dialogue is supposed to give the information and then the item wizard removes 50 of the items from inventory. It seems right on paper, and I have double checked the path many times.
When my hero approaches the NPC, the event starts off right but when it gets to the global check, the NPC answers "Come back when you have enough." which is the response if the player has less than 50 in inventory. And the event ends there.
I have tried creating another NPC who will give information on the global status by saying &&gb;_item is set at x, but this doesn't work either. So I don't know if the problem is in the global increments or the global check.
Sorry to be long winded, but can anyone help solve this?
------------------
My Doctor said I was having too much wine, women, and song - so I gave up singing because 2 out of 3 is not so bad.
The (url="http://"http://www.evula.org/rduck/")Kingdom of Garendall(/url) sectional map is easily printed from gif format pages.
Find those areas you missed the first time around. You'll want to explore those hidden areas now made accessible with Spells Expander.