mipen / BannerlordTweaks

MIT License
59 stars 43 forks source link

1.4.3 Update #161

Closed Jirow13 closed 4 years ago

Jirow13 commented 4 years ago

Updated mod to work on 1.4.3

Tested internally and had the community test it by uploading as a 'temporary workaround' version of this mod (https://www.nexusmods.com/mountandblade2bannerlord/mods/2036).

Relevant changes:

  1. Patches/SmeltingVMPatches.cs - I had to update the method to per the 1.4.3 changes from TW, to fix locked items not showing up in smelting menu.
  2. TweakedCombatXpModel.cs - Updated the method to get it to build again. TW added "PartyBase" args to GetXpFromHit method.
  3. BannerlordTweaks.csproj - Disabled/Removed DefaultTroopCountLimitModelPatch.cs from build as it looks like TW made changes in 1.4.3 which broke it. I'm guessing it will have to be rebuilt or discarded, or someone much better at this than I will have to update it.

Otherwise it's just minor cleanup of includes thrown in by VS code analysis/cleanup.

Please excuse the commit mess. I'm not a developer by trade. I tried to reset back to the relevant update (Tagged 1.4.3.Update).

-J

Jirow13 commented 4 years ago

Added additional fixes to Hideout troop limit. Will open new pull request.