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

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultSettlementLoyaltyModel.

Public Member Functions

abstract ExplainedNumber CalculateLoyaltyChange (Town town, bool includeDescriptions=false)
 
abstract void CalculateGoldGainDueToHighLoyalty (Town town, ref ExplainedNumber explainedNumber)
 
abstract void CalculateGoldCutDueToLowLoyalty (Town town, ref ExplainedNumber explainedNumber)
 

Properties

abstract int SettlementLoyaltyChangeDueToSecurityThreshold [get]
 
abstract int MaximumLoyaltyInSettlement [get]
 
abstract int LoyaltyDriftMedium [get]
 
abstract float HighLoyaltyProsperityEffect [get]
 
abstract int LowLoyaltyProsperityEffect [get]
 
abstract int MilitiaBoostPercentage [get]
 
abstract float HighSecurityLoyaltyEffect [get]
 
abstract float LowSecurityLoyaltyEffect [get]
 
abstract float GovernorSameCultureLoyaltyEffect [get]
 
abstract float GovernorDifferentCultureLoyaltyEffect [get]
 
abstract float SettlementOwnerDifferentCultureLoyaltyEffect [get]
 
abstract int ThresholdForTaxBoost [get]
 
abstract int RebellionStartLoyaltyThreshold [get]
 
abstract int ThresholdForTaxCorruption [get]
 
abstract int ThresholdForHigherTaxCorruption [get]
 
abstract int ThresholdForProsperityBoost [get]
 
abstract int ThresholdForProsperityPenalty [get]
 
abstract int AdditionalStarvationPenaltyStartDay [get]
 
abstract int AdditionalStarvationLoyaltyEffect [get]
 
abstract int RebelliousStateStartLoyaltyThreshold [get]
 
abstract int LoyaltyBoostAfterRebellionStartValue [get]
 
abstract float ThresholdForNotableRelationBonus [get]
 
abstract int DailyNotableRelationBonus [get]
 

Member Function Documentation

◆ CalculateLoyaltyChange()

abstract ExplainedNumber TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.CalculateLoyaltyChange ( Town  town,
bool  includeDescriptions = false 
)
pure virtual

◆ CalculateGoldGainDueToHighLoyalty()

abstract void TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.CalculateGoldGainDueToHighLoyalty ( Town  town,
ref ExplainedNumber  explainedNumber 
)
pure virtual

◆ CalculateGoldCutDueToLowLoyalty()

abstract void TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.CalculateGoldCutDueToLowLoyalty ( Town  town,
ref ExplainedNumber  explainedNumber 
)
pure virtual

Property Documentation

◆ SettlementLoyaltyChangeDueToSecurityThreshold

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.SettlementLoyaltyChangeDueToSecurityThreshold
get

◆ MaximumLoyaltyInSettlement

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.MaximumLoyaltyInSettlement
get

◆ LoyaltyDriftMedium

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.LoyaltyDriftMedium
get

◆ HighLoyaltyProsperityEffect

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.HighLoyaltyProsperityEffect
get

◆ LowLoyaltyProsperityEffect

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.LowLoyaltyProsperityEffect
get

◆ MilitiaBoostPercentage

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.MilitiaBoostPercentage
get

◆ HighSecurityLoyaltyEffect

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.HighSecurityLoyaltyEffect
get

◆ LowSecurityLoyaltyEffect

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.LowSecurityLoyaltyEffect
get

◆ GovernorSameCultureLoyaltyEffect

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.GovernorSameCultureLoyaltyEffect
get

◆ GovernorDifferentCultureLoyaltyEffect

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.GovernorDifferentCultureLoyaltyEffect
get

◆ SettlementOwnerDifferentCultureLoyaltyEffect

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.SettlementOwnerDifferentCultureLoyaltyEffect
get

◆ ThresholdForTaxBoost

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.ThresholdForTaxBoost
get

◆ RebellionStartLoyaltyThreshold

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.RebellionStartLoyaltyThreshold
get

◆ ThresholdForTaxCorruption

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.ThresholdForTaxCorruption
get

◆ ThresholdForHigherTaxCorruption

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.ThresholdForHigherTaxCorruption
get

◆ ThresholdForProsperityBoost

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.ThresholdForProsperityBoost
get

◆ ThresholdForProsperityPenalty

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.ThresholdForProsperityPenalty
get

◆ AdditionalStarvationPenaltyStartDay

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.AdditionalStarvationPenaltyStartDay
get

◆ AdditionalStarvationLoyaltyEffect

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.AdditionalStarvationLoyaltyEffect
get

◆ RebelliousStateStartLoyaltyThreshold

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.RebelliousStateStartLoyaltyThreshold
get

◆ LoyaltyBoostAfterRebellionStartValue

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.LoyaltyBoostAfterRebellionStartValue
get

◆ ThresholdForNotableRelationBonus

abstract float TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.ThresholdForNotableRelationBonus
get

◆ DailyNotableRelationBonus

abstract int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementLoyaltyModel.DailyNotableRelationBonus
get