public static void mod_UpdateUnitEncumbrance(UnitDescriptor unit) { if (!KingmakerPatchSettings.Cheats.AlwaysUnencumbered) { source_UpdateUnitEncumbrance(unit); return; } if (unit.Encumbrance == Encumbrance.Light) { return; } unit.Encumbrance = Encumbrance.Light; unit.Remove <UnitPartEncumbrance>(); EventBus.RaiseEvent <IUnitEncumbranceHandler>(x => x.ChangeUnitEncumbrance(unit)); EventBus.RaiseEvent <IUIUnitStatsRefresh>(h => h.Refresh()); }