Salvage v2
I wasn't happy with just leaving the salvage system as basic as it could be, so I flesh out the salvage window and made it all work correctly.
You can now drag items on the to the input slot of the salvage window and when you move over the slot, the slots outline will indicate green if the item is recyclable or red if not.
Placing any item in the input slot will revel its crafting recipe. Items in the recipe will be highlighted green if it can be salvaged or red if not.
As you can see in the attached image of me salvaging items from an axe. I will get the iron bars back but not the sticks.
Pressing the red salvage button in the bottom right of the window will recycle the item in the input slot and give the salvageable items to the player.
This required a few rewrites on the salvage system a few new classes that extend the SlotController class and a day of be freaking out because I tried to make an item catalog editor which kept over writing my item catalog with blank items. But I gave up that for now. I will try again.
So what should I add next? Should I make a salvage table item like the crafting table or should I add a salvage button or tab to the crafting window? I'm leaning towards the second option as it will make it easier for players to recoup items for crafting. And it will also not require the player to craft another item....Though adding salvage as an item would allow for a crafting path to be able to make a salvage table... make the items needed harder to find and craft.
Let me know what you think.
Peace.
Fidel.
Files
Get Player Inventory System
Player Inventory System
Player inventory system for your Unity game
Status | Prototype |
Category | Tool |
Author | Fideltfg |
Genre | Adventure, Role Playing, Survival |
Tags | Characters, Dungeon Crawler, First-Person, inventory, Singleplayer, Third Person, Unity |
More posts
- Mining...againSep 17, 2023
- MiningSep 15, 2023
- Building a new Item Catalog...Sep 02, 2023
- Item SalvageAug 25, 2023
- Placed Items and CraftingJul 30, 2023
- Player Inventory System 0.0.5 alphaJul 23, 2023
- v0.0.3 fixesJul 19, 2023
- v0.0.2Jul 18, 2023
Leave a comment
Log in with itch.io to leave a comment.