equipping and inventory.txt 536 B

1234567891011121314151617181920
  1. STEPS TO EQUIP AN ITEM FOR DUMMIES (nimblz)
  2. STEP1
  3. CHECK IF THE ASSET IS REAL
  4. STEP2
  5. CHECK IF THE PLAYER OWNS THE ASSET
  6. STEP3
  7. ADD ASSET TO FIRST IDX OF RETURN TABLE, LOOP THRU OLD EQUIPMENT
  8. SLOTS 1..MAX-1 AND ADD TO RETURN TABLE AFTER FIRST IDX
  9. HOW TO UNEQUIP AN ITEM
  10. STEP1
  11. ITTERATE THRU EQUIPPED ITEMS
  12. IF ITS NOT THE ITEM TO REMOVE, INSERT INTO RETURN TABLE
  13. THIS HAS THE EFFECT OF REMOVING _ALL_ OF THE ITEM, BUT
  14. THATS OKAY. MULTIPLE EQUIPS OF SAME ASSET SHOULD NOT BE
  15. POSSIBLE