tcape / stc_game

Unity 3D Dungeon Crawler game. Junior project 2018/19
5 stars 2 forks source link

As a user, I want mobs to drop items for hero's inventory/equipment #239

Open shantahuja opened 5 years ago

shantahuja commented 5 years ago

Each item need to be associated to a 3d model, like the gold, but the gold isn't a scriptable objet Each item needs to be associated to a 3d model with a trigger collider so it can be picked up by touching it. These items can be instantiated when monsters die (right now, every mob can drop gold, need to implement functionality for item drop) Acceptance Criteria

1) associating item with a 3d model + making prefabs 2) implementing ability to drop items (similar to how gold is dropped) 3) mobs should drop gold and items 4) each item should have a unique ID field so that the ID can be stored into the database. this way, when the hero character is loaded, their inventory is loaded based on the unique ID's present in their inventorydb