Items that are containers can now only hold a limited,
predefined number of other items.
Again,
I expect to change this and eventually come up with sizes or something, but for
now it's a quick hack that at least puts a little bit of the functionality in
there, so I'll know to go back and change it later, when I realize I can put a
bed inside a bed, or something.
For now, upon creation of each item, there is a vector for
other items, and that vector has a set length.
So for a dresser, for instance, it's set to four, so there can only be
four or less items in the dresser. At
present, no items start in the containers, and the player can't discard items
in any fashion, so containers aren't precisely interactive.
No comments:
Post a Comment