Reduced extra parameters in clearMod() and swapItems() functions by referencing unit entity instead of unit's properties.
Reduced extra parameters in tradeItems() functions by referencing unit entity instead of unit's properties.