Author Topic: Specific items only in a container?  (Read 314 times)

Legacy_Buddywarrior

  • Hero Member
  • *****
  • Posts: 512
  • Karma: +0/-0
Specific items only in a container?
« on: October 14, 2012, 02:56:28 pm »


                I'm making a bag to hold magic cards, much like runes. I only want these cards allowed in the container (a weight reduction bag) . What is a good way to only allow certain items in this bag? The resref and tag for each of the cards going into the bag are all card101 card102 card103 etc. 
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
Specific items only in a container?
« Reply #1 on: October 15, 2012, 03:34:50 am »


               There is no way that i know of to restrict what a player can place in a bag.   The best work around  I can think of, Would be to not use a bag at all but a tag based item.   The TBS for the item would SpawnIn/Open an invisible  container placeable that you could place your item restrictions on.