function secondInventorySetup(invOwner, items, invTier, money) {
setupweight(items, 'second')
setupSecondarySlots(invOwner);
$('#other-inv-label').html(secondTier.label + '-' + invOwner);
if (secondTier.maxweight == undefined) {
secondTier.maxweight = playerMaxweight
}
$('#other-inv-id').html('Weight: ' + (secondweight).toFixed(1) + ' / ' + (secondTier.maxweight).toFixed(1) + ' KG');
$('#inventoryTwo').data('invOwner', invOwner);
$('#inventoryTwo').data('invTier', invTier);
secondUsed = 0;
$.each(items, function(index, item) {
var slot = $('#inventoryTwo').find('.slot').filter(function() {
return $(this).data('slot') === item.slot;
});
secondUsed++;
var slotId = $(slot).data('slot');
secondItems[slotId] = item;
AddItemToSlot(slot, item);
});
$('#other-used').html(secondUsed);
}