item bar function - UQdeco2800/2021-ext-studio-2 GitHub Wiki

Description

the player when interacting/colliding with the medical kits will add the medical kits to the bag and the maximum number of medical kits stored at once and if the player presses the key "b" it will trigger the health kit whilst removing it and making space for another item.

next sprint goals

  • adding more inventory space
  • adding items that can be held in the item bar and bag for buff uses
  • adding a display for the current state of the item bar(current number of items in the bar are displayed on terminal for the time being)

functions

  • adding health kits to the bar
  • key function to implement the buff