branchrust_reboot/main/fix_alt_loot_clothingcancel
14 Commits over 0 Days - Infinitycph!
Remove unused field + comments
merge from main -> fix_alt_loot_clothing
Fix compile error + rename field
Added another test to make sure that when alt looting with a full inventory, the extra clothing will go into the body bag
Add new tests to TestItems for alt looting behavior I fixed & ensuring corpses still block input correctly
Add ability for RPCFactory.MoveItem() to supply ItemMoveModifier parameters
Fix NRE from ConstructionError.Log() for players without connections (for tests)
Create method for PlayerOpenLoot() inside DroppedItemContainer outside of the looting RPC (same idea as what StorageContainer has)
Add more items to ItemManager.Items to make tests easier
Add convar for "bypassiteminputrestriction" to allow the server to be put in a mode where you can move items into input blocked containers
Fix alt looting from player corpse bags -> player inventory
- fixes clothing alt looted from dropped item containers not being worn if you are already wearing clothing
- fixes clothing that would be dropped if you have a full inventory by trying to force move the items into the corpse bag first (bypassing the "no item input" manually)