Hi,
I'm totaly new into moding Bannerlord and i wanted to ask if anyone can help me to achieve the below:
I wanted to reduce food consumption of parties that are leaded by owners of Villages. I'm interested in doing that for both player and AI.
How exactly should it work:
Each 10 Hearths in villages owned by clan of party leader provide food for 1 soldier per day. S for example if i have 4 villages with 700 Hearths in total i don't need to buy additional food if i have less or equal to 70 men.
Raided Villages don't provide food until they are rebuild.
Clan Leader party gets 60% of that food while other clan parties get equal part of the 40% depending on number of parties. If Clan leader is leading the only party in the clan he gets 100% of the food.
If Your or AI party is bigger than villages can feed You need to buy food on the market like it is in Vanilla for the troops above the limit. If You or any AI party doesn't own any village You/AI need to buy food for the whole party on the market.
I know where the party consumption calculation is but i can't get how to implement this calculation there.
This is something that may simulate food supply lines in some way and allows to tactical weakening of enemys by raiding their villages.
I'm totaly new into moding Bannerlord and i wanted to ask if anyone can help me to achieve the below:
I wanted to reduce food consumption of parties that are leaded by owners of Villages. I'm interested in doing that for both player and AI.
How exactly should it work:
Each 10 Hearths in villages owned by clan of party leader provide food for 1 soldier per day. S for example if i have 4 villages with 700 Hearths in total i don't need to buy additional food if i have less or equal to 70 men.
Raided Villages don't provide food until they are rebuild.
Clan Leader party gets 60% of that food while other clan parties get equal part of the 40% depending on number of parties. If Clan leader is leading the only party in the clan he gets 100% of the food.
If Your or AI party is bigger than villages can feed You need to buy food on the market like it is in Vanilla for the troops above the limit. If You or any AI party doesn't own any village You/AI need to buy food for the whole party on the market.
I know where the party consumption calculation is but i can't get how to implement this calculation there.
This is something that may simulate food supply lines in some way and allows to tactical weakening of enemys by raiding their villages.