branchrust_reboot/main/backpackscancel
111 Commits over 123 Days - 0.04cph!
Show `Hold [USE] to pickup` instead of "hold to open radial menu" when looking at backpack on the ground
Speed up open & close inventory animation
Ensure backpack panel is disabled when it is transparent
Fade out player name, underwear pick icon & protection values instead of instant disappearing
Switch from Lerping to animation curves when opening UI
Fix diving tanks replacing backpack when picked up (ideal slots tedious)
Add bool to `ItemModWearable` to allow any wearable to be equipped by default when picked up
Removed custom logic to equip backpacks on right click & instead use the same logic other wearables use
Prevent diving tank, parachute & future non-backpack items from being dropped when you are wounded / die
Merge from backpacks/backpack_ui_2 -> backpacks
Made "parachute" solid ground checks & underwater checks only apply to parachutes
Fix diving tank not right clicking to equip when wearing chest armor (will correctly unequip armor & equip diving tank)
Reduce weight scaling of backpacks dropped in the world to prevent rowboats capsizing instantly
Max weight 1kg per slot and only apply 50% of the weight of each item inside
Diving tank now goes in backpack slot
Diving tank still conflicts with chest armor slot
When backpack is dropped on ground add weight of items inside it to backpack
This prevents transfering backpacks with vehicles instead of dropping all items onto vehicle individually
Only network contents of backpack to the player wearing it
Actually make large backpack uncraftable
Small backpack 12 slots
Small backpack cost 5 sewing kits & 50 cloth
Large backpack 30 slots & uncraftable
Remove achievement gameobject from backpack itemdefinition (I guess backpack item was originally cloned from sunglasses)
Fixed weapons inside backpack not showing on your back
Merge from main -> backpacks
Unity only serializing backpack prefab when you close unity
Move large backpack to different folder
Make the small backpack green as a placeholder model for the large backpack (so it looks different)
Fix backpack inventory not expanding to larger amount of slots when backpack item is changed (seemingly a bug with all player containers)
Removed "WIP" text from backpack because it looks stupid & too small
Just assume the green backpack is a placeholder model
Un-delete the small backpack item (whoops)
Added large backpack item
Placeholder amount of slots (helk will assign intended values)
Add "WIP" text to backpack icons
Clamp backpack item icons to 256x256
Fix wrapping gift inside of backpack deleting the item
Fix no sound when opening backpack on the ground
Placeholder zipper sound (from lockers)
Merge from main -> backpacks
Fix attachments not making sound when added to a weapon inside a backpack
Fix backpacks not hiding the tank part of hazmat suits
Fix wrapped items being deleted when opened inside backpack
Fix item right clicking into backpack after closing the backpack inventory
Backpacks will despawn based on the most valuable item inside them
Merge from main -> backpacks
Fix compile error when neither SERVER or CLIENT is defined
Fix compile errors in WorldItem.Server (from merge?) and BackpackInventoryPanel (from me)
Re-run codegen after merge
Fix ItemIcon.cs compile error after refactor of input keys on item move to an enum
Merge from main -> backpacks
Merge from main -> backpacks
Keep backpack panel open when selecting items inside the backpack
merge from main -> backpacks
#CLIENT and #SERVER compile fixes
Refactor "altMove" and "backpackOpen" into a enum "ItemMoveModifiers", add in ctrl + shift modifiers as well (unused)
Prevent backpack being dropped because the locker can't accept a backpack with items, instead keep it in the player's inventory
Add skinned backpack mesh
Fix cell size of backpack inventory
Try commiting GameUI.Inventory again
Add GameUI.Inventory.Backpack to GameUI.Inventory
Add BackpackInventoryPanel
Set backpack panel to resizable
Set occupationOver of backpack to back
Cherrypick "prevent parenting"