Announcement

Collapse
No announcement yet.

Multipule Items question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Multipule Items question

    Does anyone know if there is a special trick for making stackable items? In the game I am working on, a character collects 8 of one item. I would like to have the item listed once with a little "8" next to it or something. Also, the items need to be able to be sold, bought, and given away. Any ideas?

    #2
    Re: Multipule Items question

    The only thing I can think of is creating a shared variable sequence where the first item (crystal, magic stone, piece of eight, whatever) you get lists as normal. When you get to obtaining the second 'crystal', you create a command sequence where you;

    'lose item' (crystal) and then
    'gain item', (2 crystals),
    then Shared Variable #(X) increase 1.

    You'll have to create all eight components as items, of course, but you'll be able to list it in your inventory on one line. At the end, creating a command thread where access to somewhere or someone is denied if Shared Variable
    #(X) Value<=7, and one where access is gained if SV#(X)Value >=8.
    It should work well enough too if you want to sell, buy or give away. You may be able to keep track of your 'crystals' with some tweaking and customizing. Not sure if SV#increase/decrease wouldn't confuse things if you played your events out of order. That may be real tricky.

    Let me know.
    Last edited by Little Mo; 10-08-2005, 10:11 AM.

    Comment

    Working...
    X