3,309 Commits over 945 Days - 0.15cph!
Reverted pickup icon for backpacks from a backpack sprite to normal open sprite
Fix trying to equip backpack when right clicking inside another backpack
Fix not swapping backpack when picking up off the ground (broke after fixing right click swapping items)
Merge from main -> backpacks
Merge from backpacks -> main
Block equipping a backpack inside a safezone when the backpack you are wearing has items inside it
This prevents the backpack being accidently dropped inside a safezone when equipping an empty one
Allow backpacks to be stolen by other players inside safezone (default behavior of dropped items)
Should be safe because backpacks also stay on corpses when you die inside a safezone (please don't die above one)
Merge "fixed" large backpack wearable
Fix crafted backpack replacing equipped backpack / going into backpack slot
Change delay when picking up backpack from 0.5s -> 1.5s
Can configure pickup delay in ItemModContainer
Change icon of "looting box" to backpack when looking at backpack on the ground
Recalcualte bones for large backpack wearable
Reserialize small backpack worldmodel
Merge from main -> backpacks
Fix repair bench only playing "change skin" sfx once per skinning (due to adding 1 second cooldown after every item) instead of once per second
Only apply "1 sfx per second" when autoskinning: play it every time when manually skinning
Fix right clicking clothing (hazmat) that conflicts with backpack slot (diving tank) not being equipped (because it tries to equip hazmat in backpack slot)
Fix hover looting items from storage while holding alt putting the items into your main inventory instead of equipping / swapping them
Fix right clicked items to wear using the first empty slot instead of the first conflicting slot (causing items to not swap slots correctly)
Try to unequip conflicting werables (equipping hazmat from hotbar when wearing hoodie + pants) into the main inventory first, then hotbar second
Increase delay when equipping clothing from hotbar from 0.2s -> 1.5s (to account for items actually swapping slots now)
Fix swapping items from inventory -> worn moving to the next free slot instead of swapping the items exactly
Merge from main -> backpacks
Fixed backpacks not facing player when they are dropped
Revert import size of large backpack from 85% -> 100% as the skinned mesh is fixed properly
Rotate large backpack world model to standing upright instead of laying on the ground (also modify buoyancy points to match new rotation)
Increase collider size of large backpack to prevent it tipping over when dropped on flat ground
Decrease collider size of small backpack to match the new model
Merge large backpack smaller scale -> backpacks
Fix right clicking item from inside a backpack on the ground not going into your worn backpack when it is open
Fix player model blocking certain inventory slots & having glow overlay when hovering over player model when backpack is open
Fixed right clicking empty backpack inside a backpack trying to wear it instead of moving it into your main inventory
Appear to have fixed NRE when wearing backpack while another backpack is equipped
Show amount of items in backpack as `3/12` via amount text
Make amount text smaller front when an item is worn (14 font size normally, 12 when worn) to account for smaller inventory slots
Reduce large backpack from 30 -> 28 slots to fit the inventory UI better
Scale large backpack mesh 15% smaller (until it's fixed properly)
Scale large backpack dropped model by 15% as well
Fix large backpack worldmodel box collider too big
Improve LODs of large backpack to be less noticable
Add `scaleForceWithMass` option to allow buoyancy to ignore mass (because backpack weight in world changes as items are added to it)
Dropped backpacks ignore mass for buoyancy
Add buoyancy points to backpacks & tweak so they float
Add support for dropped items to float (by adding buoyancy scripts to world model)
Despawn time of empty small backpack = 20min
Despawn time of empty large backpack = 40min
Backpacks will add up the despawn time of each item inside it
Added convar `itemdespawn_container_max_multiplier` to control max despawn time of backpacks (defaults to 2 hours)
Fix pooling error by removing HolsterSlot bone
Merge large backpack art -> backpacks
Add enum for "backpack holster behavior"
Weapons can either be holstered on the side or back of backpack
Default to back of backpack
Assign all guns to the side of the backpack (big launchers better on back)
Add additional vector3(s) to control backpack holster offsets (some weapons want to be further back or rotated differently)
Merge placeholder backpack art
Show weapons on back on the side of backpacks
Merge from main -> backpacks
Fix backpack inventory panel visible by default (should be hidden)
Fix loot panel for backpack dropped in world showing `Loot` instead of `Small Backpack`
Don't drop the backpack off a player when they die in safezone
Block stealing other player's backpacks inside safezone
Also block looting other's backpacks inside safezone
Fixed dropped items not always recording the steam id of the player that dropped them
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