K-Mistele / seeker-of-the-sword

ascii-character adventure code written into console via python
Other
5 stars 0 forks source link

Feature/inventory to master #2

Closed K-Mistele closed 6 years ago

K-Mistele commented 6 years ago
  1. Adds a dynamic inventory system:
    • list of discovered inventory items stored in player_inventory
    • each item is a dictionary (may later convert so an object from an item class),
      • each item has quantity, name (used for player inventory command), duration, item ID, and effect
      • the effect attribute should be a function defined PRIOR TO defining the item in adventure.py
    • speed potion item created, more to come
  2. Compared to origin, adds a new movement system based on key events.
    • installed a module to local_modules calledkeyboard and imported into adventure.py
      • listens for key events, no "enter" needed for movement commands for opening inventory
    • reworked movement system to be compatible with speed function
  3. New class generation system for game tiles, will later use to be able to generate multiple tiles
    • procedurally generates forest ^ and mountain M and lake . tiles
      • no two maps are the same (unless you get astronomically unlucky)
    • adds map borders (#) that you cannot cross
  4. Finally untracked that pesky .idea/workspace.xml file by adding to .gitignore