branchrust_reboot/main/hackweek_backpacks_2cancel
41 Commits over 61 Days - 0.03cph!
merge from main -> hackweek_backpacks_2
merge from main -> hackweek_backpacks_2
Show loot panel when backpacks other than your equipped one are selected
Don't allow moving items into backpacks by drag & drop items onto them
▍▉▋█▉▆▍ █▊▉▋▍▊▌▉ ▆█▄▉▌▍ ▊▋▇██ █▅▉ ▋▅ ▇▌▆▄▊ ▉▍▌▌▉▋'▇ ▊█▇██▇▅▆▊ ▋▋▆▆ ▌█▍▄▌▌▌▍█▇ ▄▇▋▌▊█
Don't network contents of backpacks, only network the backpack (so it can be shown on other players)
Cycle the inventory when a backpack is added & removed (so backpacks update like clothing when added to sleepers)
Prevent items being added to backpacks when in normal inventory
Show a different icon when the backpack is empty vs has items in it
Fix normal items having a "Hold E" to pickup off the ground
Remove `IsBackpackWithItems()` and ensure volume system produces same results
Assign "itemVolumeWhenFilled" of backpack to "2"
Add "containerVolume" and "itemVolume" to represent how only empty backpacks can go into normal inventories
Item default volume 1
Container default volume 1
Only right click into your own backpack when it is open: don't right click into the backpack of the player you are looting
Don't prioritize right clicking items to backpack when it is full
Fixed players being unlootable again
Add backpack container when looting
Support moving backpack to corpse when dying (default it pops off you)
Update player lootpanel with backpack slot
Fix players being unlootable from leftover v1 backpack code
Only show backpack inventory when clicking on your own backpack
Make the backpack panel resizable (so it only shows the slots it has capacity for)
Configure a List<Gameobject> to hide & show when backpack is selected instead of specific gameobjects
Merge from main -> hackweek_backpacks_2
Add ServerRPC with 6 arguments
Include "if backpack is open" bool when right clicking items since the client doesn't actually loot the backpack when "opening" it
Implementing ideal container for backpack so right clicking items will go to backpack when it is open
Drop backpack when you are wounded or die
Move "DropBackpack" method from PlayerBelt on client to PlayerInventory and work both on client or server
Show backpack inventory when selecting the backpack
Add `hideSelectionPanel` to `ItemDefinition` to prevent the center panel from showing for certain items (aka backpacks)
Add new itemcontainer type: `BackpackContents`
Allow players to move items into their backpack from within their inventory
Add backpack panel to UI where the player is
Add `PlayerInventory.GetAllWornItems()` to handle backpack having it's own ItemContainer but still worn
Add backpack container to CRC hash when switching clothing
Taadaa now it shows on your back!
Prevent held entities from parenting to backpacks (rock attachment is cool but no thanks)
Hold E to pickup backpack instead of opening the radial menu
Ideal container when picking up and right clicking backpack
Change ability to loot in world from `ItemModWearable.backpack` to `ItemModContainer.canLootInWorld`
Add `ItemModBackpack` instead of `bool backpack` in `ItemModWearable`
Only allow backpack to have items added to it when it is dropped in the world (via canAcceptItem so cheats can't bypass it)
Add crafting recipe for small backpack
Remove "move items from backpack container to backpack item"
Add buoyancy point to fix buoyant dropped items
Added ability for items to inherit the player's rotation (so backpacks always face away from the player when dropped)
Add `buoyancy` option to WorldModel that will add Buoyancy script and assign the rigidbody
Switch RendererLOD to LodGroup for smallbackpack worldmodel
Fix empty backpack not accepted in backpack slot
PLay zipper sound when backpack is dropped but not quite working
Add yellow & orange variants of small backpack (via different textures)
Add zipper sound when dropping backpack
Allow empty backpacks inside normal inventory & chests
Add blue backpack icon the backpack item (instead of saddle bag placeholder)
Add backpack button to drop backpack on the '~' key (backquote)
Must hold button for >0.5s
Change backpack to resizable loot panel (from generic)
Change test backpack size to 24
Cherrypick
85726 (water NRE in editor)
Reimplement inventory slot for backpack
Change backpack container to a dedicated slot for the backpack instead of the contents of the backpack
Merge from hackweek_backpacks -> hackweek_backpacks_2