698 {
700
701 int playerAttachmentCount =
m_Player.GetInventory().AttachmentCount();
702
703 #ifdef ENABLE_LOGGING
705 #endif
706 for (int attIdx = 0; attIdx < playerAttachmentCount; ++attIdx)
707 {
708 attachment =
m_Player.GetInventory().GetAttachmentFromIndex(attIdx);
709 if (attachment.IsItemBase())
710 {
711 int attachmentSlotsCount = attachment.GetInventory().GetSlotIdCount();
712 for (int attachmentSlotId = 0; attachmentSlotId < attachmentSlotsCount; ++attachmentSlotId)
713 {
714 int attachmentSlot = attachment.GetInventory().GetSlotId(attachmentSlotId);
715 for (int i = 0; i < pSlotIds.Count(); ++i)
716 {
717 if (attachmentSlot == pSlotIds.Get(i))
718 {
720 break;
721 }
722 }
723 }
724 }
725 }
726
729
730 #ifdef ENABLE_LOGGING
731 LogDryWetProcess("==========");
732 #endif
733 }
void ApplyWetnessToItem(ItemBase pItem)
const float ENVIRO_TICK_RATE