Ineffable Wingbolt Dahak Posted January 19, 2005 Share Posted January 19, 2005 I'm looking for a way to check to see if a shop has an item in stock and if not then to add it. Possible? Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted January 19, 2005 Share Posted January 19, 2005 Set a flag when you add the item, then check the flag. There's no way to check it directly (although that was on the request list for a hypothetical Scenario Format 3). Oh, wait, in stock. No. Not at all. Link to comment Share on other sites More sharing options...
Ineffable Wingbolt Dahak Posted January 19, 2005 Author Share Posted January 19, 2005 Is there a way to set a flag when an item is bought? Link to comment Share on other sites More sharing options...
Well-Actually War Trall Khoth Posted January 19, 2005 Share Posted January 19, 2005 You could give the item a special class, and check how many they have before and after calling the shop, perhaps. Link to comment Share on other sites More sharing options...
Well-Actually War Trall Fort Posted January 19, 2005 Share Posted January 19, 2005 There is no way for you to check how many items the party bought, unless you do not use the standard shopping window. But one possibility is to check how many items of the special type the party has immediately after they leave the shopping window. I am not sure if you can do that before a player has a chance to drop it, though. Then you could keep records about the number of items bought in a flag or something. Link to comment Share on other sites More sharing options...
Recommended Posts