Diablo style inventory
Hi!
This is a small project I've made for my portfolio. It's a Diablo 2 inventory copy with the identical features:
1. Auto pickup and auto equip when inventory is closed
2. Hands slots are connected and allow only certain item's to be equipped together - a two-handed weapon will occupy both slots, one-handed can be paired with another one-handed or a shield and so on
3. Hands slots have alternative pair of slots that can be switched to one another, switched off pair avoids being auto-equipped with items
4. If item you're trying to place in backpack (main storage) overlaps only one item - it will replace it, if it overlaps more than one - you will not be able to put it in that place
5. If you equip a two-handed weapon when there're already two items equipped in hands' slots or an item that cannot be paired with already equipped, e.g. - equip arrows in the left hand, when there's already a shield in the right hand - item from the second slot will be put in a backpack (main storage) automatically, if there's a place for it. Otherwise you will not be able to do it without rearranging your items manually
6. "4" and "5" clauses' cases are reflected via highlight area - it shows whether you can put an item in certain conditions or not by color and shows a potentially replaced item's projection instead of a carried item's projection if there's a possibility to replace one
7. If clicked outside of the inventory while carrying an item - the item will be dropped into the world (not visualized event since inventory doesn't know item's world image - only the UI one). Same will happen when trying to pick up an item with closed inventory that is already full - item will be dropped back right away
Status | Released |
Platforms | HTML5 |
Author | Ivan |
Genre | Role Playing |
Made with | Unity |
Leave a comment
Log in with itch.io to leave a comment.