Skip to content

Adds an experimental ability to use mods written in IronPython. Requires BUTRLoader to work.

License

Notifications You must be signed in to change notification settings

BUTR/Bannerlord.Python

Repository files navigation

Bannerlord.IronPython


CodeFactor Code Climate maintainability


Steam Mod Configuration Menu Steam Downloads Steam Views Steam Subscriptions Steam Favorites

This is an experimental module for installing modules written in IronPython3.
Requires BLSE to be installed and the game to be run via BLSE. We will try to create a workaround for running the game via Vortex in the future.

For Players

Make sure that BLSE is installed and the game is run via BLSE.
Bannerlord.Harmony and Bannerlord.ButterLib are also required!

For Modders

Use this as an example of how to create a IronPython module. We'll create a dotnet template once we are sure the template is correct.
We don't have anyone who knows Python enough to provide support. Please check IronPython3 documentation on how to interact with C#, the documentation contains enough examples.
Please note that IronPython does not provide all features of Python3! Check the CPython differences and the Whats New files on GitHub!