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