branchrust_reboot/main/FloatingBackpackcancel

5 Commits over 0 Days - ∞cph!

3 Years Ago
Remove dropChance parameter on all storage containers (and ContainerIOEntities) and replace with a simple dropsLoot bool. I've copied all the data over. The actual dropChance float was never used except as a == 0 bool check.
3 Years Ago
Only sub and boat loot floats - save on potential performance hit. Added separate floating loot prefab. Storage container can now set loot to floating or not. A few other edits to storage. Don't drop sub torpedoes, just the storage.
3 Years Ago
Give item_drop the splash effect 💧
3 Years Ago
Added underwater drag as an option to the buoyancy system. Makes the item_drop backpack behave much more nicely
3 Years Ago
Make the generic item_drop (grey backpack) buoyant