Rongar
Master Knight

What is that
In warband items have faction field that allows restricting variety of merchant's inventory.
E.g. an charger that has factions swadian and khergits is sold only by horse trades in khergis and swadian towns.
ATM in native almost no items have set faction field.
This is a small tool to put in sync a faction field of items and its current distribution of items between troops.
Factionize_items
The tool set factions of troops that use item and set
Where to get
http://www.mbrepository.com/download.php?id=1969&f=factionize_items.zip
How to use
Factionize items works with python files.
You need to extract file from archive (factionize_items.bat and factionize_items.py) to pythonic module folder.
Run factionize_items.bat.
After that you will get file module_items_factionize.py that will contain module_items_factionize.py with synced items factions.
Of course you still need to rename module_items_factionize.py to module_items.py to get results in your module.
By default the tool does not touch items if they already have faction filed. To override such behavior you need to open factionize_items.py and change
keep_old_faction=1
to
keep_old_faction=0
Have fun.
In warband items have faction field that allows restricting variety of merchant's inventory.
E.g. an charger that has factions swadian and khergits is sold only by horse trades in khergis and swadian towns.
ATM in native almost no items have set faction field.
This is a small tool to put in sync a faction field of items and its current distribution of items between troops.
Factionize_items
The tool set factions of troops that use item and set
Where to get
http://www.mbrepository.com/download.php?id=1969&f=factionize_items.zip
How to use
Factionize items works with python files.
You need to extract file from archive (factionize_items.bat and factionize_items.py) to pythonic module folder.
Run factionize_items.bat.
After that you will get file module_items_factionize.py that will contain module_items_factionize.py with synced items factions.
Of course you still need to rename module_items_factionize.py to module_items.py to get results in your module.
By default the tool does not touch items if they already have faction filed. To override such behavior you need to open factionize_items.py and change
keep_old_faction=1
to
keep_old_faction=0
Have fun.