makeopensource / Classic-RPG

A classic role-playing game with an engine.
GNU General Public License v3.0
7 stars 19 forks source link

Add Armor and Weapon to extent item and add a pickup function #49

Closed jakesavi closed 2 years ago

jakesavi commented 2 years ago

Is your feature request related to a problem? Please describe.

We need the player to be able to pick up items, what kind of RPG would we have, if we have no player interactable items!

Describe the solution you'd like

Ensure that the "pickup" feature takes an argument for a player object.

Additional context

Ensure you add tests for this feature! If you're feeling up to the challenge, try making an equipped list for the player. This needs to ensure that the player ONLY HAS EQUIPED ONE OF EACH OF THE FOLLOWING: 1 Weapon object, and 1 Armor object.