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

Inherits TaleWorlds.Core.GameModel.

Inherited by TaleWorlds.CampaignSystem.GameComponents.DefaultSettlementSecurityModel.

Public Member Functions

float GetLootedNearbyPartySecurityEffect (Town town, float sumOfAttackedPartyStrengths)
 
ExplainedNumber CalculateSecurityChange (Town town, bool includeDescriptions=false)
 
float GetNearbyBanditPartyDefeatedSecurityEffect (Town town, float sumOfAttackedPartyStrengths)
 
void CalculateGoldGainDueToHighSecurity (Town town, ref ExplainedNumber explainedNumber)
 
void CalculateGoldCutDueToLowSecurity (Town town, ref ExplainedNumber explainedNumber)
 

Properties

int MaximumSecurityInSettlement [get]
 
int SecurityDriftMedium [get]
 
float MapEventSecurityEffectRadius [get]
 
float HideoutClearedSecurityEffectRadius [get]
 
int HideoutClearedSecurityGain [get]
 
int ThresholdForTaxCorruption [get]
 
int ThresholdForHigherTaxCorruption [get]
 
int ThresholdForTaxBoost [get]
 
int SettlementTaxBoostPercentage [get]
 
int SettlementTaxPenaltyPercentage [get]
 
int ThresholdForNotableRelationBonus [get]
 
int ThresholdForNotableRelationPenalty [get]
 
int DailyNotableRelationBonus [get]
 
int DailyNotableRelationPenalty [get]
 
int DailyNotablePowerBonus [get]
 
int DailyNotablePowerPenalty [get]
 

Member Function Documentation

◆ GetLootedNearbyPartySecurityEffect()

float TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.GetLootedNearbyPartySecurityEffect ( Town town,
float sumOfAttackedPartyStrengths )
abstract

◆ CalculateSecurityChange()

ExplainedNumber TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.CalculateSecurityChange ( Town town,
bool includeDescriptions = false )
abstract

◆ GetNearbyBanditPartyDefeatedSecurityEffect()

float TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.GetNearbyBanditPartyDefeatedSecurityEffect ( Town town,
float sumOfAttackedPartyStrengths )
abstract

◆ CalculateGoldGainDueToHighSecurity()

void TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.CalculateGoldGainDueToHighSecurity ( Town town,
ref ExplainedNumber explainedNumber )
abstract

◆ CalculateGoldCutDueToLowSecurity()

void TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.CalculateGoldCutDueToLowSecurity ( Town town,
ref ExplainedNumber explainedNumber )
abstract

Property Documentation

◆ MaximumSecurityInSettlement

int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.MaximumSecurityInSettlement
getabstract

◆ SecurityDriftMedium

int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.SecurityDriftMedium
getabstract

◆ MapEventSecurityEffectRadius

float TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.MapEventSecurityEffectRadius
getabstract

◆ HideoutClearedSecurityEffectRadius

float TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.HideoutClearedSecurityEffectRadius
getabstract

◆ HideoutClearedSecurityGain

int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.HideoutClearedSecurityGain
getabstract

◆ ThresholdForTaxCorruption

int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.ThresholdForTaxCorruption
getabstract

◆ ThresholdForHigherTaxCorruption

int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.ThresholdForHigherTaxCorruption
getabstract

◆ ThresholdForTaxBoost

int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.ThresholdForTaxBoost
getabstract

◆ SettlementTaxBoostPercentage

int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.SettlementTaxBoostPercentage
getabstract

◆ SettlementTaxPenaltyPercentage

int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.SettlementTaxPenaltyPercentage
getabstract

◆ ThresholdForNotableRelationBonus

int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.ThresholdForNotableRelationBonus
getabstract

◆ ThresholdForNotableRelationPenalty

int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.ThresholdForNotableRelationPenalty
getabstract

◆ DailyNotableRelationBonus

int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.DailyNotableRelationBonus
getabstract

◆ DailyNotableRelationPenalty

int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.DailyNotableRelationPenalty
getabstract

◆ DailyNotablePowerBonus

int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.DailyNotablePowerBonus
getabstract

◆ DailyNotablePowerPenalty

int TaleWorlds.CampaignSystem.ComponentInterfaces.SettlementSecurityModel.DailyNotablePowerPenalty
getabstract