Skip to content

BUTR/Bannerlord.ButterLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1320a00 · Mar 16, 2023
Mar 16, 2023
Mar 16, 2023
Oct 17, 2021
Aug 9, 2020
Mar 16, 2023
Mar 15, 2023
Aug 22, 2021
Oct 18, 2020
Jan 16, 2021
Nov 28, 2020
Jan 8, 2023
Mar 16, 2023
Jan 8, 2023
Mar 14, 2023

Repository files navigation

Bannerlord.ButterLib


CodeFactor Code Climate maintainability
GitHub Workflow Status (event) GitHub Workflow Status (event)


Extension library for Mount & Blade II: Bannerlord.

Highlighted features:

  • CampaignIdentifier - Associates unique string ID with every campaign based on the initial character.
  • DistanceMatrix - A generic class that pairs given objects of type MBObject and for each pair calculates the distance between the objects that formed it.
  • DelayedSubModule - Execute code after specific SubModule method.
  • SubModuleWrappers - Wraps MBSubModulebase for easier calling of protected internal metods.
  • SaveSystem - Provides helper methods for the game's save system.
  • AccessTools2 - Adds delegate related functions.
  • SymbolExtensions2 - More lambda functions.
  • AlphanumComparatorFast - Alphanumeric sort. This sorting algorithm logically handles numbers in strings.

Check the /Articles section in the documentation to see all available features!

Installation

Players

This module should be one of the highest in loading order. Ideally, it should be second in load order after Bannerlord.Harmony.

Developers

Add this to your .csproj. Please note that IncludeAssets="compile" is very important!

  <ItemGroup>
    <PackageReference Include="Bannerlord.ButterLib" Version="1.0.31" IncludeAssets="compile" />
  </ItemGroup>

For Players

This mod is a dependency mod that does not provide anything by itself. You need to additionaly install mods that use it.