Menu

Inventory

Gameplay
2003-05-05
2003-05-05
  • Peter Andersson

    Peter Andersson - 2003-05-05

    > another issue would be: if the
    > jewelbox is held it shouldn't apair in the inventory. i suggest you to
    > modify the "best fit" algorithm so that items that can't be directly used
    > should land straight in the inventory.

    How should I explain this... Since we don't have a fixed inventory like all other games I've seen, but instead an inventory that is based on the things you wear, we have the problem of representing the inventory and where things are located. This is (for now) done by placing all things you equip (wear/hold) directly under the inventory root in the inventory tree and thus the jewelbox appears in the inventory. Anything that is located within the jewelbox is then shown under the jewelbox root. We also have the problem with hands, _anything_ you can carry can be held in hands, and are thus a container that can hold one item of any size (if you can carry the weight). So if you haven't enough space in your inventory, you can always lug the large thing around in your hands.

    So if you are holding the jewelbox it appears directly in your inventory (since it is not packed, but "equipped"), but if you pack it, it will be located in your thigh pouch and not in your hands.

    The best-fit algorithm only works for the inventory (thus the ring will be placed in the jewelbox inside the thigh pouch instead of being placed in the thigh pouch together with the jewelbox, since the jewelbox has more space available than the thigh pouch)

    Is this a stupid system? Is it difficult to use? Is it interesting to know where items are located? Could one represent it in another way to make it better?

     
    • Peter Andersson

      Peter Andersson - 2003-05-05

      Clarification:
      Only items which can contain other items are placed as containers in the inventory.

       

Log in to post a comment.

MongoDB Logo MongoDB