Changes between Version 3 and Version 4 of PlanningWiki/Inventory


Ignore:
Timestamp:
03/22/14 21:36:50 (4 years ago)
Author:
nckmccnnll
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PlanningWiki/Inventory

    v3 v4  
    1111    * For example, the `inventory` object could be wrapped up in a `pack` object to represent the player pack. Then, the `pack` object would implement the existing sorting and organizing behavior. 
    1212    * The `inventory` object can also handle items in arbitrary slots, just like the player equipment, so it could be used as a base for that as well. 
     13 * OK, I've had some ideas about all this - I think they may fit in well with molybdenum's (Nick): 
     14    * Separate equipment from inventory 
     15    * Possibly have equipment slots implemented by an equipment struct, or individual variables, or maybe array is still more useful.  Dunno 
     16    * Build in the facility to have an arbitrary number of inventory slots, even if we never use it 
     17    * Related, allow for the possibility of inventory limit being by, eg, weight rather than number of slots - this can be done by having a generic inventory, and then a function or functions to apply constraints to it 
    1318 
    1419=== Post-restructure ===