M&B: Bannerlord 1.2.12
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.ComponentInterfaces.BarterModel Class Referenceabstract

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultBarterModel.

Public Member Functions

int CalculateOverpayRelationIncreaseCosts (Hero hero, float overpayAmount)
 
ExplainedNumber GetBarterPenalty (IFaction faction, ItemBarterable itemBarterable, Hero otherHero, PartyBase otherParty)
 

Properties

int BarterCooldownWithHeroInDays [get]
 
float MaximumPercentageOfNpcGoldToSpendAtBarter [get]
 

Member Function Documentation

◆ CalculateOverpayRelationIncreaseCosts()

int TaleWorlds.CampaignSystem.ComponentInterfaces.BarterModel.CalculateOverpayRelationIncreaseCosts ( Hero hero,
float overpayAmount )
abstract

◆ GetBarterPenalty()

ExplainedNumber TaleWorlds.CampaignSystem.ComponentInterfaces.BarterModel.GetBarterPenalty ( IFaction faction,
ItemBarterable itemBarterable,
Hero otherHero,
PartyBase otherParty )
abstract

Property Documentation

◆ BarterCooldownWithHeroInDays

int TaleWorlds.CampaignSystem.ComponentInterfaces.BarterModel.BarterCooldownWithHeroInDays
getabstract

◆ MaximumPercentageOfNpcGoldToSpendAtBarter

float TaleWorlds.CampaignSystem.ComponentInterfaces.BarterModel.MaximumPercentageOfNpcGoldToSpendAtBarter
getabstract