Item Salvage
Hello people,
This week I have been working on adding a method to salvage ingredients from crafted items. the main methods are in place I just need to tidy it up and add a key binding to the demo.
No screen shots or vids right this week, but its basically a window with a single slot. If a crafted item is placed in the salvage slot will be consumed and the items used to crafted it will placed in the players inventory as if they had just been picked up.
This is a simplistic implantation, but if it allow you to build the salvaging system out to better fit your game. Perhaps you want all items return to the player or maybe you want to limit or randomize the retrieved items based on the items durability or the player dexterity.
I also fixed a bug that was preventing the save data from being written and or read correctly if the player ended the game while dropped items still remained in the world.
Fixed a number of smaller code issues and cleaned up the demo a bit. Next I think I will work on the player controller for the demo and move my focus improving controller support. There are still some functions that can only be achieved with the mouse. its taken me a while to work out a plan to allow the player to move items to and from the crafting window and build recipes, without using the mouse.
Lastly, for this week, I also have a couple of other projects on the go and split my time between them as I hit road blocks or some other issue. Working on multiple projects helps me avoid some of the boredom and frustration of looking at the same code day after day and making little progress. So if you see little happening here please check out my other system projects. WeaponsRack (coming soon!) and Window Be LikeThey are related tot he work I'm doing here and part of a larger longer term project I'm working towards.
Until next time TC
Fidel.
Files
Get Unity Player Inventory System
Unity Player Inventory System
Inventory and crafting system for Unity games
Status | Released |
Category | Assets |
Author | fideltfg |
Genre | Adventure, Role Playing, Survival |
Tags | Characters, Dungeon Crawler, First-Person, Horror, inventory, Third Person, Unity |
More posts
- 2D Demo(Simple)Jul 16, 2024
- V 1.0 releasedJul 01, 2024
- v1.0 DemoJun 28, 2024
- Working towards 1.0Jun 24, 2024
- Mining...againSep 17, 2023
- MiningSep 15, 2023
- Building a new Item Catalog...Sep 02, 2023
- Salvage v2Aug 29, 2023
- Placed Items and CraftingJul 30, 2023
Leave a comment
Log in with itch.io to leave a comment.